skofrant
Member
Hi all,
I have a grass object. It's a parallax on the stage. I would like it to move in the opposite direction to the player's movement..
I managed to get it in make, but when I walk the hero, the object grass ends too quickly from the edge as if a piece of it escaped from the board
I have view set to 1280x720
The parallax grass object has dimensions 2558x333
Here is my current code parallax grass object
Draw
I have a grass object. It's a parallax on the stage. I would like it to move in the opposite direction to the player's movement..
I managed to get it in make, but when I walk the hero, the object grass ends too quickly from the edge as if a piece of it escaped from the board
I have view set to 1280x720
The parallax grass object has dimensions 2558x333
Here is my current code parallax grass object
Draw
GML:
draw_sprite(spr_grassparallax,0,x+view_xview[0]*-0.4 ,y+view_yview[0] + obj_player.y /-1.5)