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
return value for bar image
By AD12, with 1 reply.
Replied to by danpost, almost 13 years ago:
The problem is line 4 in the DroneBar class. You are creating a NEW ship. The ship you want to get the value from is in the world (creating a NEW ship object does not get a reference to the one in the world). Remove line 4 in the DroneBar class and start your 'act' method with the following lines: <Code Omitted>
Is it possible to make the screen move according to actor without scrolling?
By Velociraptor06, with 1 reply.
Replied to by danpost, almost 13 years ago:
There are several Scrolling World examples on the site. In fact, mine is
here
.
how can i get one thing to destroy another?
By dion.williams, with 3 replies.
Last reply by Game/maniac, almost 13 years ago:
Your welcome
Help me with this error?
By henrYoda, with 4 replies.
Last reply by henrYoda, almost 13 years ago:
Thank you danpost, now it works :D
Greenfoot.playSound plays continuously
By robert_k, with 10 replies.
Last reply by robert_k, almost 13 years ago:
Thanks davmac, much obliged to you.
Making an object bigger and fade
By Gingervitis, with 1 reply.
Replied to by Jonas234, almost 13 years ago:
Here
you allready asked for bigger. Fading out works the same. GreenfootImage has a function called setTransparency(int t). 255 is full visibilty 0 is transparent. You just need to adjust the value the same way you do with the scale. Jonas
Split an long in the seperat numbers
By Mepp, with 5 replies.
Last reply by danpost, almost 13 years ago:
As an alternative, the following will do the job: <Code Omitted>BTW, this will work for any non-negative whole numbers (0, 1, 2, ...).
Making an object bigger
By Gingervitis, with 5 replies.
Last reply by Gingervitis, almost 13 years ago:
Thank you very much for the help.
how objects move at world edges?
By dion.williams, with 4 replies.
Last reply by dion.williams, almost 13 years ago:
thank you very much Jonas234 its now working.
Doing 'real' hit testing on circles
By mattrayner, with 8 replies.
Last reply by mattrayner, almost 13 years ago:
In that case, I need to change it :P
Greenfoot chapter 5 add text
By Tim1234, with 6 replies.
Last reply by Tim1234, almost 13 years ago:
It's working now. Thanks.
counter class
By DoctorProfessorYoshi, with 6 replies.
Last reply by Jonas234, almost 13 years ago:
can you post the whole code ?
Problem about setColorAt & getColorAt method
By Upupzealot, with 15 replies.
Last reply by davmac, almost 13 years ago:
Because it might be slower. Greenfoot uses what the system gives it.
No Keyboard-Reactions after exporting to Webpage
By TheoHeusser, with no replies.
Hi, can anyone imagine what went wrong. Pupils constructed a simple game (run away from spiders which are always following you; the player uses the arrow keys to seepd up or down or change direction of movement). Within Greenfoot the game worked fine. But after exporting toa webpage and starting the html-file, there is no more control via the arrow keys! (some Browser won't seven start the game.) GF 2.2.1
Report 2 Bugs of Greemfoot 2.2.1
By Upupzealot, with 7 replies.
Last reply by Upupzealot, almost 13 years ago:
@davmac I can't reproduce the inner class problem also, but you can find that even the inner class is deleted from the source code, the compiled classes files was still in the project folder. And you are right, "test/board.jpg" works good, but "/test/board.jpg" only works in Greenfoot. MayI ask why?
876
877
878
879
880
881
882
X