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

2014/4/7

Scrolling world for Shoot em' Up

mcGreen mcGreen

2014/4/7

#
Im very new to Greenfoot and programming in general, and im supposed to make some kind of game for class. So I decided to make a side-scroller, something like the Contra series. I managed to craft together a working jumping system, more or less, and some basic test stuff. I want a finite scrolling world and I already looked at some codes but they are a little too complex to figure out by myself.
danpost danpost

2014/4/7

#
Any scrolling system is not going to be very easy. Maybe you should try something a little more at your level right now and move on to scrolling a little later. If you really do want a finite side-scoller, you will need to continually track the amount of scroll and the location of your main player. Let the world keep the player in the central area and both limit and perform the amount of scrolling. Scrolling is a two-part operation; adjusting the background image of the world and moving all the game objects (anything that displays information for the user should not be moved -- mainly text or gui objects like counters, scores, lives, healths, settings, etc.).
mcGreen mcGreen

2014/4/7

#
Yeah, I decided to try something little less complex. Thanks for your help anyways.
You need to login to post a reply.