acidemic
Member
I am working on the 2D game where I have terrain being drawn using the vertex buffers. So far this was ok until I decided to introduce pieces of terrain with parallax movement. So now I want parallax affected terrain to move relatively to the main player's terrain. Programming parallax logic is not a problem, but i don't know how to draw the vertex buffers in other coordinates rather than where they were created. Is it possible to move vertex buffers around the room in GMS2. I don't need 3D.... just simple 2D.... even not that, just 1D.... ))) cause I need to move vertex buffer only against the X axis (basically change it's x coordinate).
Found only that GMS 1.x had function d3d_transform_set_translation() which is now obsolete in GMS2.
Found only that GMS 1.x had function d3d_transform_set_translation() which is now obsolete in GMS2.