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
making "walls" and detecting impact
By sparrow72, with 14 replies.
Last reply by danpost, over 11 years ago:
@09blackn, Look at the code of my
Barriers and Bars Demo
.
boss movement pattern
By davemib123, with 12 replies.
Last reply by davemib123, over 11 years ago:
yep. I've uploaded the scenario with that in. edit: works great. many thanks for that.
Terminal window
By ms20492, with 4 replies.
Last reply by ms20492, over 11 years ago:
Hmmm...thanks for trying. I'm guessing that JOptionPane input would work fine. Perhaps I'll just use BlueJ for the early system.In input stuff. I think main should be fine...that should be similar between platforms? I've not gone through the tutorials yet, so there might be more to Greenfoot than I understand. Thank you!
score not subtracting
By davemib123, with 3 replies.
Last reply by SPower, over 11 years ago:
With following, do you mean set it to a location near to the boss? If yes, do this: <Code Omitted>and btw, turnTowards will
turn
the Actor to face a location, it doesn't move to it.
firing direction
By davemib123, with 1 reply.
Replied to by SPower, over 11 years ago:
Change act to: <Code Omitted>
splitting the counter
By davemib123, with 2 replies.
Last reply by davemib123, over 11 years ago:
true - just wanted to experiment :)
turning on impact
By davemib123, with 16 replies.
Last reply by davemib123, over 11 years ago:
on first impact it doesnt work, but after that you will see a very slight turn
Pointing to offscreen object?
By kiarocks, with 2 replies.
Last reply by danpost, over 11 years ago:
Another way is to set its location to the ship's location, then adjust as above.
native classes and jar
By lux, with no replies.
I am able to use a c++ method that I stored in a dll in greenfoot. however when i export the project to a .jar file it doesnt seem to work anymore ... is it possible to use dynamic link libraries that way?
Enemies getting stuck
By davemib123, with 3 replies.
Last reply by davemib123, over 11 years ago:
rite ... greenfoot random numbers uses 0 as a number. Forgot about that one. Thanks for the info.
Changing the font of Greenfoot's editor
By Tsbrdain, with 10 replies.
Last reply by erdelf, over 11 years ago:
Maybe the developers could implement a simple way to edit the font, maybe the same way like changing the font size
set Image returns error
By erdelf, with 10 replies.
Last reply by erdelf, over 11 years ago:
the tga image, causes the error. Thx for your help
How to remove buttons, "reset" and "run" from a complied application,jar?
By twphision, with 1 reply.
Replied to by davmac, over 11 years ago:
No, it's not.
why can't i do this??
By isaiah, with 3 replies.
Last reply by davmac, over 11 years ago:
If you use Greenfoot.isKeyDown(...), you can use an instance variable to remember if the key was down last time (and not fire if it was) or to act as a timer for a delay between shots.
Short Question
By keysc@web.de, with 1 reply.
Replied to by lux, over 11 years ago:
Das z in deiner act Methode wird doch in jedem Durchlauf dekrementiert oder? Zumindest sind die Bedingungen immer erfüllt: erster Durchlauf: z==3 && ballDrin==true ( z = 3 => z-- => z =2) zweiter Durchlauf: z==2 && ballDrin==true (z = 2 => z-- => z=1) dritter Durchlauf: z==1 && ballDrin==true (z = 1 => z-- => z=0) Ich denke nicht das das so beabsichtig ist. Stattdessen solltest du das z in den herzenLöschen Methoden verringern ... denn dort wird doch erst überprüft ob sich der Ball in den "verbotenen Zonen" befindet. Ich hoffe ich konnte dir weiterhelfen^^ lux (the langua
937
938
939
940
941
942
943
X