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

2016/11/9

Tips before attempting a large project?

alittle_bit alittle_bit

2016/11/9

#
Before I even consider starting a project (a school Major work), I would like to know what other experienced Greenfoot users work around and towards during the first hundred lines of code... My ability in Greenfoot/java is limited to basic object interactions but I am able to provide quality in my world class('s). (this coming task, I aim to change that) I am planning to work on either a platforming game (which may be very fiddly) or a typical RPG dungeon explorer (where I hope to make use of java's save/load processes). Any tips before I dig in would be greatly appreciated, I am considering pulling apart other peoples project to learn from them. Thank you!
danpost danpost

2016/11/9

#
If you already know what you want overall, I suggest you create a game plan before writing any codes. For a decent full-fledged project, you could have a header screen, menu world, maps for levels, possibly with scrolling and/or smooth moving -- whatever. I usually start with whatever is first -- like the header screen. Then, move on to maybe the menu with button options for 'play', 'exit', 'credits', and 'controls'. One thing I would not do is create four separate classes for each of the option; but use one class to create the different option actors. Let the menu world retain references to them, check for clicks on them and act on those clicks. If you can, work on where 'play' leads last (the other three should be fairly straight-forward; although, you may have to adjust the controls at some point).
You need to login to post a reply.