1 decade ago by programlocura
Hi everybody,
I've bought the impactJs framework and let me say that it is better than expected :) I'm very happy with the results.
I'm currently developing a game with some friends and I need to do a runner style game, and i'm having problems with the screen scrolling.
I need that the screen scrolls at same velocity (and acceleration) that the player run, but if the player collides with a wall, the screen still with the same velocity (The player lose when he's out of the screen).
I'm currently following the character, but if the character stops, the screen stops.
Can you give me an idea how to do this?
Thank you :)
I've bought the impactJs framework and let me say that it is better than expected :) I'm very happy with the results.
I'm currently developing a game with some friends and I need to do a runner style game, and i'm having problems with the screen scrolling.
I need that the screen scrolls at same velocity (and acceleration) that the player run, but if the player collides with a wall, the screen still with the same velocity (The player lose when he's out of the screen).
I'm currently following the character, but if the character stops, the screen stops.
Can you give me an idea how to do this?
Thank you :)