Basic Scrolling Platformer Help

Tutorials with advanced 'difficulty' and more Lines of Code.

Basic Scrolling Platformer Help

Postby tenentenen » Mon Jan 11, 2010 1:32 am

Hello, I am new so bear with me, also if this is in the wrong section, please move it to the correct one.

So me and a friend are currently starting to develop a 2d game that involves the following

-the background scrolls to the left and a player animation remains stationary in the middle of the screen making it look like he is moving to the right.
-the user does not control the horizontal movement of the character at all, the background needs to auto scroll so that the player is constantly running to the right.
- the user input is a button that makes the player jump. upon this press the player needs to remain in the same place but the screen will scroll down to make it seem as though the player is going up.

right now we are using TranslateAnimation b ut we are not sure if this is the best way as it is hard to get it to scroll at a constant speed to the left always, then make it go up, while still going left so to maintain inertia.

what do you think?
there has to be a better way, or something, is there anyway someone colud walk me through th basics/logic/methos/classes needed?

if you need more info let me know.
sorry for the long post
thanks in advance! :)
tenentenen
Freshman
Freshman
 
Posts: 4
Joined: Mon Jan 11, 2010 1:19 am

Top

Postby qlimax » Mon Jan 11, 2010 1:51 am

nice tutorial...
thank you!
¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Postby tenentenen » Mon Jan 11, 2010 2:05 am

i did say this:
I am new so bear with me, also if this is in the wrong section, please move it to the correct one.


anyway, sorry that i put it in the wrong section. where should i put it/can a mod move it?
tenentenen
Freshman
Freshman
 
Posts: 4
Joined: Mon Jan 11, 2010 1:19 am

Postby qlimax » Mon Jan 11, 2010 2:24 am

Since your "problem" has not an appropriate section, I think you can put it here:
viewforum.php?f=5

if you have time, look this video
http://code.google.com/intl/it/events/i ... droid.html
(not that it will solve your problem...but it will not be harmful )
bye
¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Postby tenentenen » Mon Jan 11, 2010 2:36 am

should i just repost it there? will this thread be locked/deleted?
tenentenen
Freshman
Freshman
 
Posts: 4
Joined: Mon Jan 11, 2010 1:19 am

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests