This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Discussions
You need to login to take part
Current Discussions
Is it possible, to implement a video in my game?
By moobe, with no replies.
Hi, I'd like to add a video at the beginning of my game (As main menu). Is that possible? Here's the vid on YouTube. https://www.youtube.com/watch?v=twnRFBTEaXc
How do you contact other people?
By Minion1, with 2 replies.
Last reply by Minion1, almost 13 years ago:
Ah. Such a shame. This community could benefit from a good communication system. Thanks for the reference to the scenario. I might end up using it.
NullPointerException
By erdelf, with 34 replies.
Last reply by erdelf, almost 13 years ago:
nope I change a bit the code in the missile.
How do i make one screen before another?
By Oxy, with 11 replies.
Last reply by Oxy, almost 13 years ago:
oh excitement! Thank you Danpost. I had that before because I thought i needed it to stop one world so the other could appear. Much appreciated.
the world doesn't show up when compiled?
By AnneMacaroni, with 8 replies.
Last reply by danpost, almost 13 years ago:
First, you need an 'act' method to call the methods you have in the class. Plus, there is no condition coded to start a jump; and there is not any code for horizonal movement of the Dog object. One more thing, the logic in 'checkFall' seems to be amiss.
Resolution of my game
By Rodeurhalt, with 12 replies.
Last reply by danpost, almost 13 years ago:
Sorry to hear that. If you have maxed out the scenario window size and it is still too small, I do not know what else you can do. BTW, the largest I could make mine is (1200, 640)
random number in between
By ctgreenfoot, with 1 reply.
Replied to by vonmeth, almost 13 years ago:
<Code Omitted>
Quick question
By TheStop, with 6 replies.
Last reply by erdelf, almost 13 years ago:
replace line 4 with this and it should work <Code Omitted>
Falling
By BradH, with 11 replies.
Last reply by BradH, almost 13 years ago:
The weird thing is that the actor does not fall thorugh everytime, the check fall method is in the act method. The actor stays on the ground the problem is when it comes back down from jumping. It might just be a simple error in the class so i will keep looking.
Throwing a weapon at something else
By Minion1, with 7 replies.
Last reply by Minion1, almost 13 years ago:
I will be sure to post it soon, it's going to be small, but hopefully people will enjoy it.
getActor() ?? Doesn't work
By AnneMacaroni, with 7 replies.
Last reply by AnneMacaroni, almost 13 years ago:
Thanks guys!! When I use Greenfoot.mouseClicked(actor) it worked!! it sorta lags a bit before fully stopping.... BUT THANKS :D:D
Gravity
By comandodude101, with 1 reply.
Replied to by danpost, almost 13 years ago:
Download my Scrolling SuperWorld scenario and check out the code of the 'Wombat' class which incorporates jumping/gravity.
Platform collision
By MindlessRicky, with 2 replies.
Last reply by danpost, almost 13 years ago:
If you create local variables to hold the amount of movement horizontally and vertically, you can revert backward one pixel at a time until the intersection is not longer. The code would depend on how you are moving your actor (using int or doubles; using move(int) or setLocation(int, int); range of speed; possible directions of move; etc.).
Syllabus for New Instruction and Instructor
By dpaehlke, with 1 reply.
Replied to by iau, almost 13 years ago:
You might like to take a look at the
The Greenroom
, our community space for teachers using Greenfoot. There are many resources there to help you, as well as teachers from all over the world who are facing (or have faced) the same issues. Others please note that membership of the Greenroom is only for teachers.
Installation help on Mac OS X mountain lion
By halfbit, with no replies.
i loaded the zip from the website and unpacked it. moved the folder to the programs folder. but when call the app, i get the message that the app is damaged. java -version java version "1.7.0_10" Java(TM) SE Runtime Environment (build 1.7.0_10-b18) Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode) i installed the jdk, so what is wrong ?
900
901
902
903
904
905
906
X