Sign in to follow this  
Reack

Player movement

Recommended Posts

Reack    105

Hi everybody,

So i'm creating 2d game for android and i got a question about player movement. Okey i wanted to ask which is better or more popular 1) Regular coordinate movement or 2) Background scrolling movement ? 

Thank you for you answers in advance :) .

Share this post


Link to post
Share on other sites
tonemgub    2008

Background scrolling is not "player movement" - it is more like a side-effect of player movement. Or, if by "background scrolling" you mean moving all of the objects in the level, while always keeping the player at a fixed position, then performance-wise, this is a terrible idea compared to just changing the player position - it's just a huge waste of CPU cycles (or like trying to move the whole planet Earth under your feet to get from one point to another, because you're too lazy to walk :) ).

Edited by tonemgub

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this