This site requires JavaScript, please enable it in your browser!
Greenfoot back
TheStop
TheStop wrote ...

2012/12/30

Help for a new guy

TheStop TheStop

2012/12/30

#
hey I was looking through some games and I was wondering how to make a platform game (like mario) where you have a character and the window follows the character through the world. I have an actor in one of my games and the world is pretty big and the window covers about 1/4 of the world when the actor reaches the end of the window it just walks out of it and you have to move the bottom scroller to keep up with him is there anything I can do to have the window keep the actor on the screen (preferrably once the actor reaches about the middle of the window) so the window pretty much pans across when the actor is moving and gives the actor some lead room. P.S. Also I am pretty new to java and I was wondering if you guys have any tips, and books or other resources where I should begin learning this java code
danpost danpost

2012/12/30

#
The Java tutorials - this page has all the links neccessary to get you on you way in learning the language. The second section on the left 'Trails Covering the Basics' is the place to start. There is also a link to the API documentation a little bit down on the right side in 'Other Resources'. Greenfoot Documentation - this page has links to instruction on using Greenfoot; plus links to videos and the Greenfoot API.
You need to login to post a reply.