Sign Up, Lost Password
You need to login to take part
Managing multiple versions of Greenfoot
By MrBradley, with 1 reply.
Replied to by MrBradley, 7 days ago:
java -Duser.home="D:/dir" works fine.
Greenfoot.delay(); not pausing my sounds
By ogy2014, with 17 replies.
Last reply by ogy2014, 7 days ago:
i have removed your changes and changed the ufo.play(); to a ufo.playLoop(); and modified the sound file to be short and it has worked flawlessly
Game freezes when holding down keys
By Coop799, with 7 replies.
Last reply by Yehuda, 7 days ago:
Does the program work any differently if you comment out the parts that have to do with the GifImage?
By aayu1004, with 3 replies.
Last reply by danpost, 7 days ago:
Was I supposed to set “pacmanColor” to the maze-wall’s color as well?
I think you are supposed to get the color of the world background image where the pacman wants to go.
how can i check if my scoreboard's score is higher than needed
By roonie01, with 1 reply.
Replied to by roonie01, 7 days ago:
can i get some help checking the scoreBoard
GreenfootImage scaler ruins the image quality!
By JOELwindows7, with 2 replies.
Last reply by JOELwindows7, 7 days ago:
I am not sure what type of this asking it should be. But most importantly, it is about Greenfoot system that appears to be a trouble.
Greenfoot is fine, I assure you (as least as far as what you are trying to do).
I am scaling an image in an actor. << Code Omitted >> this actor does expand the size of the image, then shrink again. << Code Omitted >> The problem is: after the image being reffered shrunk, the quality ruins! << Images Omitted >> Sorry for large images. Basically, I simply scale and update the set image with the new settin
Problems with variables
By Etch-a-sketch, with 1 reply.
Replied to by danpost, 7 days ago:
I'm relatively new to greenfoot and have been asked to do a falling leaves project for one of my classes. This is the code: << Code Omitted >> The errors are occuring with the actor not being able to move
on line 10 is not the same
that you declared on line 3. On line 10, you are declaring a new variable that is local to the method (its scope extends only for the execution of the method). The use of
at the beginning of the line is what defines the declared variable. By removing it, the one declared on line 3 will be, by
All Actors freeze when i want to freeze on thread
By MrCaspar, with 1 reply.
Replied to by danpost, 8 days ago:
Everytime two Actors meet dealdamage() is called and they should only deal each other damage every 1.5 seconds but every actor extending Enemy Freezes for 1.5 seconds. How can i delay the damage dealing but nothing else? << Code Omitted >>
It is probably not a good idea to work with threads in
. Better might be to use
Change Username without losing projects?
By Evil12345678910, with no replies.
Hey folks, is there any way of changing my username in Greenfoot? I wanted to update and make my page a bit more professional. Any way I can do this? Do not really want to create a new account and re-submit all of my projects again as that might get rid of my views and likes on my games. Thanks,
How can i access a World from neither an Actor nor a World
By MrCaspar, with 3 replies.
Last reply by MrCaspar, 8 days ago:
Ah ok works now: <Code Omitted>
Boss Health Bar not Updating
By Nines, with 1 reply.
Replied to by danpost, 9 days ago:
I need the value to change as the player's attack hits the boss. Currently the bossHealth value only changes in one class and not the other. This is an issue because I draw boss health bar in a separate class but directed greenfoot to look in the specific class that contains the health value to update it. ... I do see it just that it doesn't decrease as bullets hit the boss. << Code Omitted >>
You see it, but did you actually check its value. After you believe it should have decreased, do the following: * pause the scenario * right-click on
space invader barriers
By ogy2014, with 33 replies.
Last reply by ogy2014, 10 days ago:
make actor complete a loop?
By kevoncmlc2000, with 6 replies.
Last reply by kevoncmlc2000, 11 days ago:
ok, i'll work with this. thanks so much
Actor not in world - Error at the End of the game
By fabipfolix, with 5 replies.
Last reply by danpost, 11 days ago:
Line 29 is asking the wrong thing. Currently, it is asking if a List object is returned; but, what you need to ask is if the List object that is returned (and one will be returned) is empty or not.
Doesn't that mean it has to be <Code Omitted>But that doesn't work as well.
You cannot blindly check the first element of a list without first checking that a first element exists. Use the
method of t
incompatible types: java.lang.Class<lifeboard> cannot be converted into greenfoot.Actor
By ogy2014, with 68 replies.
Last reply by ogy2014, 11 days ago:
oh i am officially dumb i had it set as a png when it was a jpg sorry for the waste of time