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
How to turn towards actor?
By 343qwm29, with 2 replies.
Last reply by 343qwm29, almost 8 years ago:
Thank you for your help, and there is only one dancing queen so this works.
How to change hitbox (?)
By darkangel998, with 3 replies.
Last reply by danpost, almost 8 years ago:
darkangel998 wrote...
<< Code Omitted >>
Cool -- I like the mix of blue and green in the user icon. I tested the code given and the hit box seems to coincide with the size of the actor as it grows.
Project Freezes
By Anonymous1313169, with no replies.
I finished one of my projects a few days ago and found out that when I export it to a JAR file, it freezes after about an hour of running. This problem does not appear on normal Greenfoot, just on the JAR file. I tried every technique I could think of, but it still freezes.
how to make power ups
By Mustafa405, with 6 replies.
Last reply by Mustafa405, almost 8 years ago:
i have a question if i use the isTouching method once i move from the object will the actor return to normal or will it stay as the new actor edit:nevermind
How do you define WorldEdge? How do I make objects disappear under defined circimstances?
By Blyat, with 1 reply.
Replied to by danpost, almost 8 years ago:
There is no method with that name listed in the
Actor class documentation
. The method you want is there, however.
How to read multiple tokens in scanner input?
By Zweeg, with 1 reply.
Replied to by danpost, almost 8 years ago:
I am guessing you want to combine the genre with the description. Please confirm. Also, show the code lines used to create this Scanner object.
Unable to find Method?
By Legitimacy, with 17 replies.
Last reply by danpost, almost 8 years ago:
Legitimacy wrote...
I reinstalled Greenfoot and it still didn't work. I also installed Greenfoot on my laptop and tried to open the project on that and it didn't work either. I tried opening a previous version of the program which was working perfectly and it has the same issue. I also tried copy and pasting all the code from what I pasted into my previous message and it did not work. Any ideas?
Sorry, ideas are not fresh, at this point.
I am Making a snake game and cant get the code to work in my snakehaed, snakebody or snake world classes.
By zach0531, with 2 replies.
Last reply by danpost, almost 8 years ago:
Try removing <Code Omitted>from all your classes and add a Point class to the project: <Code Omitted>
Increase cost and add for counter.
By MemThef, with 1 reply.
Replied to by danpost, almost 8 years ago:
Maybe you should have a purchase price field in the Arrow class and add a parameter to the Arrow constructor to pass the value to it. That way. each arrow will be able to calculate how much to add to the counter (based on its cost).
Gravity doesn't work
By CoolSharkCody, with 19 replies.
Last reply by CoolSharkCody, almost 8 years ago:
It worked. Thanks!
Random apperances
By dylanriccio8998, with 2 replies.
Last reply by dylanriccio8998, almost 8 years ago:
thank you so much
How to scroll through an arrayList like a conveyer belt?
By Zweeg, with 1 reply.
Replied to by danpost, almost 8 years ago:
Zweeg wrote...
I want to scroll forwards and through an arrayList every time I press the ">" key. I can do this no problem but the problem is when I reach the end of the arrayList. When I reach the end, I want to go back to the front. This sounds confusing but really the concept is simple. For example, let's say we are displaying the arrayList slots 1,2,3,4 of an arrayList size 5. When I press the key ">" I want to display the slots 0,1,2,3. When I press the key ">" again, I want to display slots 1,2,3,4. Hopefully this example clears things up.
For one at a time, use:
problems
By ebollinger@sonorahigh.net, with 10 replies.
Last reply by danpost, almost 8 years ago:
ebollinger@sonorahigh.net wrote...
i just need to know how to center the shop in the mittle
You mean this? <Code Omitted>
How to make an actor exit into another actor from certain points?
By Zaki99, with 3 replies.
Last reply by Zaki99, almost 8 years ago:
I have try doing different if and else statements with a Boolean but none of them work.
how to add set actors in fixed positions in the world
By TobyRoby, with 2 replies.
Last reply by TobyRoby, almost 8 years ago:
ah, I didn't see that at the top, I thought there was a function you had to put in the world clas. Thank you :)
225
226
227
228
229
230
231
X