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
display text with variable
By ZigZagNinja, with 12 replies.
Last reply by Super_Hippo, about 8 years ago:
Well, it did matter because the method was introduced in version 2.4. So if you used a version before that, this error would have shown up, too.
how make the healthbar go down
By rinariirin, with 17 replies.
Last reply by rinariirin, about 8 years ago:
world
Image causing Errors
By Whymmy, with 4 replies.
Last reply by Whymmy, about 8 years ago:
I'm using medibang -a drawing app- to create the words, so i can easily resize the image to make it smaller and more easy to use. I kinda didn't realize the whole data usage part, or just like memory storage it might take for such a thing to load up. Thank you so much for the help. i'll try to resize the image and use it then and report back later possibly.
isTouching help
By ArchMageGaming, with 2 replies.
Last reply by ArchMageGaming, about 8 years ago:
Oh yeah! Sorry, I forgot basic boolean logic. I always do that :P Thanks!
remove all actors of one kind
By ZigZagNinja, with 5 replies.
Last reply by ZigZagNinja, about 8 years ago:
doesnt matter i got it to work thanks for the help
Struggling to get Greenfoot.mouseClicked() to work
By arkod86, with 4 replies.
Last reply by danpost, about 8 years ago:
arkod86 wrote...
The check should be done on the Food class?
Actually, and I fell victim to this above (after seeing your code and not realizing the problem), the check is done on a specific object -- not a class at all. However, with the following, your check could be done anywhere: <Code Omitted>Anywhere, provided the check is repeatedly performed (like from within an act method). The check will be 'true' any time any Food actor is clicked
Developing Greenfoot with any IDE using Maven
By lerk, with 4 replies.
Last reply by lerk, about 8 years ago:
Still I believe developing Greenfoot games with IntelliJ is way more fun. And this Maven based workflow saves a lot of headache.
Exporting a Actor Class in Greenfoot
By wueschn, with 2 replies.
Last reply by wueschn, about 8 years ago:
Thanks a lot Super_Hippa
Or you copy the files of the class from your project and paste it into Greenfoot>lib>greenfoot>common folder where the other classes are which you can import
This works fine, thanks!
Timer every 5 seconds something spawns
By ZigZagNinja, with 6 replies.
Last reply by ZigZagNinja, about 8 years ago:
OK thanks you very much it works now
my code is not working...help?
By daverider05@gmail.com, with 4 replies.
Last reply by danpost, about 8 years ago:
daverider05@gmail.com wrote...
its telling me "reached end of file while pursing"
You probably just need another closing bracket at the end of the class.
How to restrict character on top of screen while jumping?
By shantanu28, with 1 reply.
Replied to by danpost, about 8 years ago:
shantanu28 wrote...
I have made a character who has the power to fly. But I am not able to restrict him to the screen. While flying it goes beyond the screen
Normally the following alone after the movement code would be enough: <Code Omitted>
class or method
By divinity, with 44 replies.
Last reply by divinity, about 8 years ago:
IHi danpost and super_hippo I got it. I change the doublearea(1, 2, 3) to doublearea(A, B,C) the value that is being collected thank you guys for all of the help
Spawner
By Djolex, with 1 reply.
Replied to by danpost, about 8 years ago:
Djolex wrote...
i want to learn spawner command i am beaginer and my Eanglish is bad i am from Serbia i am bad and i want to learn Java in greenfoot!
Manually spawn an object (right click on Actor subclass and select 'new ...'); next, save the world (use menubar: Controls >> Save the World). Then, look at the code in the 'prepare' method that was generated. It will show the kind of code required to spawn an actor into your world.
Hello
By asacool, with 2 replies.
Last reply by Djolex, about 8 years ago:
Welcom friend i am new too i dont learn English a lot and my English is bad Welcom bro
Resize lock
By Kagz, with 1 reply.
Replied to by danpost, about 8 years ago:
Kagz wrote...
when I place the actor into the world it is the correct size however when I press run it returns to its original size, how would I get him to stay the intended size after running the scenario?
We will need to see the entire class code (1) to see where the given code is located; and (2) to see if anything else is causing the issue.
315
316
317
318
319
320
321
X