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

2012/12/20

SideScroller

CryoStorm012 CryoStorm012

2012/12/20

#
Hi, I'm pretty new to the greenfoot format, and I was wondering if anyone had found a way to make a sort of side scroller game in it. mostly it seems top down, but some graphical changes could be used for that, but I'm not sure how to extend the screen in such a way that it only shows a certain part of it. Thanks
CryoStorm012 CryoStorm012

2012/12/20

#
Also I would want to have a sort of "gravity" I know the movement controls but that is about all I have so far.
danpost danpost

2012/12/20

#
I am a little confused as to what you are aiming at. It sounds like you want gravity added to a top-down side-scroller. I seriously doubt that is what you were actually trying to say (top-down view would put gravity on the z-axis and therefore not be very apparent). There are plenty of examples of side-scrollers and universal-scrollers with source available in uploaded scenarios. There are even some support class(es) available just for the purpose of creating scrolling scenarios. I have a demo as well as a support class for scrolling. Timed Scrolling is an unlimited universal-scrolling demo using objects to create the background. Scrolling SuperWorld is a support super-world class that is used to create a limited scrolling world. Even if you do not use one of them directly, you can still learn from the code as to how to go about creating one of your own.
CryoStorm012 CryoStorm012

2013/1/9

#
Thank you, Wow I had sort of forgotten about this, figured it out myself, but thanks for replying
Dillybar Dillybar

2014/11/3

#
Hi, I'm trying to remove the main actor and then add a new main actor. However, when I add the new main actor, it goes back to the start instead of staying where it is. any help would be appreciaterd
danpost danpost

2014/11/3

#
Please elaborate and include some code, so we can get a better idea of what you are attempting to do (include what classes the codes are in and which classes they extend).
You need to login to post a reply.