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 with sound
By kasperk22, with 11 replies.
Last reply by danpost, over 11 years ago:
I was thinking something like this:
Working on the same Document
By AIMrOrange, with no replies.
Hello, I want to work on a Greenfoot Project together with a friend. Im lookin for something similar to google docs or some platform where you can write together. Otherwise it`s really annoying to always share the latest version, discuss changes and so on :/ Can anybody help me?
Executables dont work (anymore) ?!
By elias.groll, with 2 replies.
Last reply by elias.groll, over 11 years ago:
they are saved to the default directory so i think ist greeenfoot's project folder. Do u think ist because theese files arent associated with java by greenfoot? Because the eclipse-packed jar i had for other projects were able to run anyway..
Marking a rectangle
By Mkheo, with 5 replies.
Last reply by Game/maniac, over 11 years ago:
YAY! TEST
Enemy explosions / general explosions
By dbz3396, with 5 replies.
Last reply by danpost, over 11 years ago:
Ok. This would work the same: <Code Omitted>
Making my piano switch sounds after clicking the button
By Noviij, with 7 replies.
Last reply by Noviij, over 11 years ago:
That worked. I was putting "{" instead of the "(" so it wouldn't compile. Thank you very much!!!
When I resize an object it acts the same
By qwertyuiop, with 9 replies.
Last reply by qwertyuiop, over 11 years ago:
I think I fixed it just by swapping out the order of 2 methods. So now it checks and sets the image before checking collision.
Linking one actor to other
By Rishav_Agarwal, with 3 replies.
Last reply by Rishav_Agarwal, over 11 years ago:
Thanks Danpost!!
Help with enemy code
By GamesGrinder1998, with 3 replies.
Last reply by danpost, over 11 years ago:
I need a harder task; and you need to ask a harder question. However, I should probably have just written
Just use 'setLocation' instead of removing the shot actor and adding a new one.
Using greenfoot for challenging problem solving
By MarcoServetto, with 10 replies.
Last reply by danpost, over 11 years ago:
I believe that if you made that world class a private inner class of another world, actors and other worlds would not be able to create one directly. Only the class it is in will be able to directly create one. As far as reflection and other metalinguistic features, security managers and framework structure -- I must truthfully state that I know little about them in regards to how they can be manipulated (or hacked).
MoveToGround Error
By Greenfootnoob, with 6 replies.
Last reply by danpost, over 11 years ago:
Look at the end of your line 3 above. You end it with a forward slash. That cannot be right. All command lines should end with a semi-colon -- ";". BTW, this has nothing to do with greenfoot; this is Java syntax. This is covered in the Java tutorials on
this page
.
Actor only jumps once
By Greenfootnoob, with 1 reply.
Replied to by danpost, over 11 years ago:
I do not understand why there is a need for both the 'onGround' boolean AND the 'jumping' boolean. Does not the following always hold true? onGround == !jumping or this? jumping == !onGround Having both fields just complicates matters. Anyways, I did not see anywhere in the code where 'jumping' is set back to 'false'; so, the condition on line 17 will not ever again be 'true'. Thus, only jumps once.
change image on mouse over
By Mimagic, with 1 reply.
Replied to by danpost, over 11 years ago:
Any one of my latest scenario has a button with mouse hovering image changing. You do not even have to download them to see the code. You will find the button Actor code within the main worlds of each of them except the newest one, which is in the Menu world (the
UserInfo Jumbo Maze Demo
scenario).
Rotating Objects?
By allyand17, with 4 replies.
Last reply by allyand17, over 11 years ago:
Thanks!
Uploading a scenario
By thekidj, with 1 reply.
Replied to by davmac, over 11 years ago:
Click the "share" button from within Greenfoot.
703
704
705
706
707
708
709
X