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
Returning the status of an object
By camsterb, with 3 replies.
Last reply by camsterb, almost 13 years ago:
I think I got it. Hopefully I'll solve the rest of my project. Thanks for the great help.
2 Issues
By Terrosion, with 1 reply.
Replied to by danpost, almost 13 years ago:
I do not believe there is a command in the Greenfoot class that will stop the music. I do believe, however, that once the scenario is stopped, the music will stop after it finishes the current looping of it. If you wish to have more control of the music, use the GreenfootSound commands to start and stop the music.
Problem with scrolling the world?
By UnclePedro, with 2 replies.
Last reply by UnclePedro, almost 13 years ago:
Ah thank you very much! Its working nicely... I think my method had the right idea, but it was a little too complicated... and in the wrong class. Thank you!
Make the ball bounce in pong
By Rodin10, with 2 replies.
Last reply by Rodin10, almost 13 years ago:
Thanks :)
Greenfoot.start() when initializing world
By Zamoht, with 2 replies.
Last reply by danpost, almost 13 years ago:
It appears that might be a bug that you will not be able to correct. After hitting reset, I noticed that the 'Pause' button was present (which means the scenario should be running); however, I was able to drag-n-drop the menu options in the scenario (and I am sure that is not programmed into your scenario). BTW, I was using a downloaded version of 'Platforms of meh' @Greenfoot team, could you look into this please and inform as to what the problem might be -- thanks.
Global variables Incompatible types
By Dytanoth, with 4 replies.
Last reply by vonmeth, almost 13 years ago:
It looks like "playbutton difficulty" is never actually set to anything, so it is null. <Code Omitted> I don't think you are coding this is the best way. You might want to try coding it in the following way: When a "star" is pressed, it gets "menu" and then passes the difficulty to it, which then stores it. Star will simply have a way to detect a mouse press, and then a method to pass difficulty information on to the menu.
windows 8 compatibility
By spargol@nashua.edu, with 2 replies.
Last reply by spargol@nashua.edu, almost 13 years ago:
I finally got Greenfoot to download and work. I think my issue is a bad version of Windows 8. I am hanging in Internet Explorer constantly and I cannot get Google Chrome to work either. I am very frustrated with Windows 8. thank you for your quick response.
Need to find the book scenerios!
By myheartwillgoon, with 3 replies.
Last reply by davmac, almost 13 years ago:
No, the video tutorial is not the book, it uses different scenarios. In this case your link is to the teacher commentary which applies to the previous blog post, which also has a download link for the code:
http://blogs.kent.ac.uk/mik/2012/01/joc-classes-and-objects/
hello
By tribhuvan123, with 1 reply.
Replied to by mjrb4, almost 13 years ago:
Hi, have a look at the tutorials on the documentation page: http://www.greenfoot.org/doc
Isn't there anyone who can help me with the "Conway's game of life"?
By myheartwillgoon, with 4 replies.
Last reply by vonmeth, about 13 years ago:
Sorry, I should of included that in my first post. The problem is with
overriding
. The GameOfLifeCell act() overrides the act() in Cell. It doesn't matter if the method is empty, it will still override it. You can see this overriding taking place as well with the applyRule() method.
Need Some Help Pt.2
By ddavid33, with no replies.
Hi, all im having a little problem, i wanted to create a game where the actor would have to pick up an object and drop it off in a finishing point. thanks to some of you i have now been able to create that. but now i want to put in a little challenge. I now want to add some obstacles in the way. at the moment it goes straight through it. what codes do i need to add. Thanks in advance.
Little Crab - Counting steps
By mborders7786, with 9 replies.
Last reply by mborders7786, about 13 years ago:
@danpost, Not at all. I appreciate all the help I've had on here. Just don't think I have the gift of programming.
Hi friends! Need help!
By jabirfatah91, with 7 replies.
Last reply by vonmeth, about 13 years ago:
Thank you danpost! I thought I'd try my hand at creating it and was able to make one from following the instructions you posted. If you use the code I copied in my first post, it will end up ignoring the bordering cells. Fixing it so you don't ignore the bordering cells requires making sure it doesn't cause ArrayIndexOutOfBounds exception. This proves easy when altering the code I copied above a bit to use a 'for' loop for checking the locals.
Mutliple random placements
By Wavesludge, with 29 replies.
Last reply by Wavesludge, about 13 years ago:
Thanks!
Title screen won't run
By HadAWay, with 2 replies.
Last reply by danpost, about 13 years ago:
Look closely at lines 190 and 191. Ask yourself, "What will be happening here?"; "Will this do what I need it to do?". By the way, 'removeObject' will not 'error' if the object is
not
in the world.
912
913
914
915
916
917
918
X