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
getColorAT not working properly?
By kiarocks, with 15 replies.
Last reply by kiarocks, over 13 years ago:
I just realized that The pixels that were not black were getting colored.
Linking broken chains
By kartikitrak, with 8 replies.
Last reply by danpost, over 13 years ago:
In essence, the speed is a one pixel move. You are looking at the 4-way move method. The 'direction' field carries a value from 0 to 3; 0 = right, 1 = down, 2 = left and 3 is up. The first line in the code you posted breaks the value of 'direction' into the x and y offsets for a move in that direction; if direction = 0 (right), dx = 1 and dy = 0; if 1 (down) dx = 0 and dy = 1; if 2 (left), dx = -1 and dy = 0; and if 3, dx = 0 and dy = -1. The following 'if' block finds the next location to move to if already on the color of choice. The above was basically to clarify what the code was do
getAwtImage() BufferedImage Type?
By shahmeer, with 1 reply.
Replied to by davmac, over 13 years ago:
Why not just check? :)
removedFromWorld
By USBest, with 18 replies.
Last reply by SPower, over 13 years ago:
USBest wrote...
Well... My other classes starts with an uppercase... But the class 'World' already exists, and so I called it 'world'. ;) Thank you very much for your help! It works now! :)
Great that it works now! And davmac, you're exactly right: I also use MyWorld sometimes :)
Actor moves to mouse-clicked position, but sometimes he stops moving.
By DMKxD, with 3 replies.
Last reply by DMKxD, over 13 years ago:
Ty danpost, now the actor reachs the target every time, but sometimes when i click on another location after he reachs the target, he dont moves. cya DMKxD
Menu Buttons
By Kuofish, with 1 reply.
Replied to by tylers, over 13 years ago:
this might help. <Video Omitted> http://www.youtube.com/watch?v=_rXCs8NYDX4
Where can I find the scenario 'kinect-mirror' ?
By won0c, with no replies.
Where can I find the scenario 'kinect-mirror' which can be seen first on the Kinect youtube video below?? <Video Omitted>
How to change between worlds when editing
By copyrightkid, with no replies.
hello, How can you change between different worlds when making your game. For example when i'm in one of the worlds classes, how can i go back to the previous to make changes, Thankd
How to change between worlds when editing
By copyrightkid, with no replies.
hello, How can you change between different worlds when making your game. For example when i'm in one of the worlds classes, how can i go back to the previous to make changes, Thankd
How do you change the world you are viewing when editing your game.
By copyrightkid, with 5 replies.
Last reply by tylers, over 13 years ago:
is this what you mean <Video Omitted> http://www.youtube.com/watch?v=_rXCs8NYDX4
Call the method of an actor, where the actor's name is the contents of a string.
By Julian, with 7 replies.
Last reply by Julian, over 13 years ago:
Thank you both for your help. Without your help I do not thing I would have found "map". But I have discovered after many years of learning new things, that the best way to learn something is to ask an expert. I now have two maps: one mapping graphemes to objects, and one mapping keyboard keys to graphemes. So I end up with the quite interested & complex line... graphemeMap.get(kbdBindingMap.get(key)).play(); If in six months I still understand the above line, I will feel I am on my way to being an expert. Thank you.
Question regarding Heap Space
By lux, with 2 replies.
Last reply by lux, over 13 years ago:
All right thank you.
Extra fonts
By kartikitrak, with 2 replies.
Last reply by kartikitrak, over 13 years ago:
Is there a way to have it so you font file comes with your program so regardless if you already had it, it will still show the proper font.
Exporting my file
By ChexMex, with 1 reply.
Replied to by plcs, over 13 years ago:
This is probably because you've associated .jar files with BlueJ, it should be associated with javaw.exe instead.
key press
By tylers, with 1 reply.
Replied to by danpost, over 13 years ago:
There really is not information given to answer that question. Is the action to be taken something that should continue to happen while to key is held down? or, is it a one time thing. What kind of action is to be taken when a key is pressed?
963
964
965
966
967
968
969
X