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
Priniting
By applefan57, with 25 replies.
Last reply by applefan57, about 11 years ago:
Thank You, the green foot .delay seemed to work, and The time of 200 was fine, as it allows enough time to read the message but doesn't delay too long. Thank you danpost and Super_Hippo so much!!!!
getting value of text
By davemib123, with 30 replies.
Last reply by danpost, about 11 years ago:
If you want more control of the text, to actually have one letter appear at a time instead of one small segment of the entire image, you could make use of my
TextImage Support Class
. Use a monospaced font and have the rectangles be the size of the image of one letter.
Greenfoot 2.4 Shift-Click
By dshintaku, with no replies.
Has anyone noticed that shift-click to create multiple objects no longer works on Greenfoot 2.4 for Mac OSx? I thought something was wrong with my machine, but I tried 2.3 and it still works. Thanks!
Is there a way to combine ints
By sengst, with 3 replies.
Last reply by sengst, about 11 years ago:
Thank you! You've been a great help! Thanks again. Both of you!
Set World as class in setPaintOrder?
By Draymothisk, with 1 reply.
Replied to by davmac, about 11 years ago:
No. Check the documentation - "Set the paint order of
objects in
the world."
Game Over
By MBX5, with 10 replies.
Last reply by danpost, about 11 years ago:
@roeilthegreat, replace line 30 with these two lines; <Code Omitted>I added the first line so that an outrageous String would not be returned if the timer was not running. The second line was changed to simulate what the act method does with 'displayTime'
scoreboard issues
By Amightymuffin, with 12 replies.
Last reply by Amightymuffin, about 11 years ago:
ok so maybe a i scrap the reworked version and write a new scoreboard that record how many wombats are removed by the dolphins ( done with both cancelling when they interact).
I need help it's saying that cannot find symbol all details below
By ZahDx, with 2 replies.
Last reply by Super_Hippo, about 11 years ago:
Is there an Enemy class anywhere? It is not in the paint order at least (where the class 'Tank' is twice). Maybe the 'Enemy' class is only a superclass? And as davmac asked, why do you want to pass the new 'ActualToast' object to the new created 'Enemy' object which you want to add?
My game is not displaying at the full size!
By K_wow, with 4 replies.
Last reply by K_wow, about 11 years ago:
Ah, it turned out that my browser zoom was 90%. I set it to 100% and now it's fine. Thanks!
Connecting three objects
By gdwd4, with 14 replies.
Last reply by danpost, about 11 years ago:
gdwd4 wrote...
ok the code in Tile.class works but now I'm having an error when I try to use your code from a previous post. < Code Omitted > Error message: "incompatible types" highlighting "(0, 0, Tile.class);"
Ok, I missed that. The object has to be cast as a Tile object before setting it to a variable that can only hold a Tile object. Change it to this: <Code Omitted>
Drag'n'drop border problem
By Phiesel, with 3 replies.
Last reply by danpost, about 11 years ago:
Phiesel wrote...
The class in which this code resides is named 'vocab'.
Well, I guess I asked too quickly on this. While looking at your error trace, I should have been able to tell; though it is actually called 'Vocab' (with a capital 'V'). You will probably find that 'draggedWord' and 'tf' will contain the same object. You should be able to get away with changing all occurrences of 'draggedWord' to 'tf' and removing lines 11 through 15. Also, the 'return' statement at the end is totally unnecessary, as there is no code after it with which to not process and you are not inside
How to add text
By sengst, with 11 replies.
Last reply by sengst, about 11 years ago:
ok, thanks
How do I set values in an array at the start of a class?
By K_wow, with 22 replies.
Last reply by K_wow, about 11 years ago:
Oh, the keyboard can detect at least two keys close together, and my game has no problem with single player, but the keyboard screws up in multiplayer, when there can be up to six keys held down at once.
CanTurnLeft() Method
By Pamsho, with 11 replies.
Last reply by Pamsho, about 11 years ago:
yep im still working, thanks a lot for the answer!! i'll try it
Camera Position Change
By Jeb_CC, with 3 replies.
Last reply by KalleLarsson, about 11 years ago:
if you want a ready-made example (infinite) scrolling scenario, which you can learn from, or just add your game to, you can use scenario 12055 which I've uploaded. Its really an empty shell which you can bulid your game into, the actors you see when you run it are just there to show that the scrolling works
655
656
657
658
659
660
661
X