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
Help please!
By mattjames, with 23 replies.
Last reply by mezboycalday, about 11 years ago:
once again jones plz help
Making the game sleep
By mattjames, with 10 replies.
Last reply by mezboycalday, about 11 years ago:
jonesy la help me please reply asap
Help!
By allyjw79, with 4 replies.
Last reply by davmac, about 11 years ago:
Ah, I see. I think danpost is right. You seem to have confused Greenfoot, the application, with this website (which is the Greenfoot website). If you don't have Greenfoot installed, follow the Download link above and the instructions there. The instructions regarding opening scenarios are referring to the Greenfoot itself, not to the Greenfoot website.
Error at the opening/saving of scenario
By Nonob, with 1 reply.
Replied to by Nonob, about 11 years ago:
Ok the support told me what to do I tell you here how to solve this problem easily. You go to you Greenfoot installation folder, then you open the folder lib, then you find the file bluej.defs and you open it with the notepad. Here you will have a line where it's written : #bluej.lookAndFeel=crossplatform You have to erase the # from this line and then save. If it doesn't want to save on this folder, save it to your destkop and then copy your file into the lib folder. Now it should work !
barriers
By RedCreeper, with 1 reply.
Replied to by Gevater_Tod4711, about 11 years ago:
If you want to make a transparent rect that's easy. You just have to check where the rect should begin and where it ends and set the pixels at this points to transparency using the setColorAt method. If you want to use circles it's a bit more difficult. Unfortunately you can't just overdraw the image with a transparent color. You need to overdraw the image you want with a color you don't use in your whole image. Then if you have overdrawn the circle you want to 'delete' you need to use two for loops to check the rect where you circle is in. Every pixel that is in the color you used to overdr
Need help
By CreepingFuRbalL, with 5 replies.
Last reply by CreepingFuRbalL, about 11 years ago:
Hey sorry but im not realy sure how i would begin or what coding i would use to make the maze game itself
Single Class Code?
By Ed.Betteridge, with 8 replies.
Last reply by Ed.Betteridge, about 11 years ago:
Thanks davmac, I think that is exactly what I was looking for, I'll give it a go :)
Out of heap space. What do I do?
By Entity1037, with 5 replies.
Last reply by Entity1037, about 11 years ago:
*facepalm* Thank you! So... I just need to make sure to create the instance when an event happens, instead of when the world loads... wow I feel stupid. :/
need help with move(double)
By RUMMAKER, with 17 replies.
Last reply by davmac, about 11 years ago:
what didnt work :
I think the problem was that you used an 'int' variable for angle. That only gives you 6 possible directions (there are 2 x PI radians in a full circle, i.e. just over 6). Try:
Book Greenfoot: Exercises 3.8 and 3.9
By Dutchy, with 10 replies.
Last reply by Dutchy, about 11 years ago:
I think I found the solution. Thanks danpost.
Create a pop-up that asks for a password before proceding?
By Entity1037, with 2 replies.
Last reply by JetLennit, about 11 years ago:
1st you must import import javax.swing.JOptionPane; 2nd you do something like this<Code Omitted> It is funny... I was just working on a password protection program
ClockDisplay from BlueJ (couldn't find active forums on their site)
By thekidj, with 2 replies.
Last reply by thekidj, about 11 years ago:
danpost wrote...
I am not sure if your timeTick method is written correctly to do what you want. I would thing you would want something more like the following: <Code Omitted>
Worked perfectly. Thanks a bunch!
Start a "set"-method | Start the scenario
By Tiakuran, with 4 replies.
Last reply by Tiakuran, about 11 years ago:
Wow! Busch, your code was perfect, with all the comments I really understood what you did there for me. Didn't expect such a fast and great help here. Thank you :) Now the game works perfect. The only problem is, that it only runs one time and after resetting the scenario the objects don't move if I press the keys. But doesn't matter, it works when you start Greenfoot! Again: thank you and have a nice evening ^^
Raycast Help
By JetLennit, with no replies.
Could someone help me? The program wont start up and wont work.... I have been modifying
this
and it wont work..... tell me what classes you need I would post the program but tried and it outputted this Exception in thread "Thread-83" java.lang.IllegalArgumentException: image == null! at javax.imageio.ImageTypeSpecifier.createFromRenderedImage(ImageTypeSpecifier.java:925) at javax.imageio.ImageIO.getWriter(ImageIO.java:1591) at javax.imageio.ImageIO.write(ImageIO.java:1520) at greenfoot.export.Exporter.publishToWebServer(Exporter.java:191) at greenfoot.gui.export.ExportDialog$ExportThread.run(ExportDialog.java:241)
Deselecting by clicking away
By Kartoffelbrot, with 12 replies.
Last reply by Kartoffelbrot, about 11 years ago:
Yes you are right. Thank you very much! danpost, too! The Interface class is empty (It's only used for sorting the classes in greenfoot).
786
787
788
789
790
791
792
X