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
Residents Scenario: Getting Codes
By bourne, with 13 replies.
Last reply by JetLennit, over 10 years ago:
It works now
2 Objekte unabhängig von einander bewegen
By ProGrammierer, with 1 reply.
Replied to by erdelf, over 10 years ago:
Zum ersten, der Großteil hier spricht englisch Zum Zweiten, ohne Code kann man nur schwer helfen wenn ich dich richtig verstanden habe, dann soll sich das Auto nur bewegen wenn der Mann eingestiegen ist, da würde ich einen boolean als Bedingung für die Bewegung einbauen
Wie mache ich ein Objekt sichtbar aber durchklickbar?
By Toshiroo, with no replies.
Ich habe eine Klasse Gegner, wenn man diese anklickt bekommt man Informationen zu dieser in einem anderen Fenster. Wenn dieser Gegner von einem Schuss getroffen wird, erscheint eine kleine Schadenszahl, die dann gleich wieder verschwindet. Wenn nun diese Schadenszahl da ist, kann ich aber den Gegner darunter nicht mehr anklicken... Wie kann ich nun machen, dass ich sozusagen durch das obere Objekt hindurchklicken kann auf das untere?
Find what's near and move towards a specific one
By Ushi1, with no replies.
HELP! I understand that the getObjectsInRange method gives a list, but once I have that, I want my hero to move towards a specific one. I want the enemy to: a) find the objects near it b) see if the controlled actor - CrookCar.class is near C) if it is, then the enemy should turn towards it d) and then slowly move towards it I am new to both Java and Greenfoot and was wondering if anyone could lend me some help...
Adding text and updating score
By Moynzy, with 7 replies.
Last reply by Moynzy, over 10 years ago:
Thank you, I'm looking and trying to understand lol
If ball goes to a certain area in the world sets it's location
By Moynzy, with 9 replies.
Last reply by Moynzy, over 10 years ago:
You are GREAT do you know that that! Thank you!!!!
Scenario update
By Raveb, with 1 reply.
Replied to by bourne, over 10 years ago:
You can edit the scenario's description, tags (adding tags might still be bugged), and such by clicking "edit scenario" on the particular scenario's page.
Generation of Terrain
By TheMissingKey, with 2 replies.
Last reply by TheMissingKey, over 10 years ago:
wow, thank you so much, never realized it was such a simple solution, props for carefully reading the api aye? thanks again
Enemy AI (Move up 5 spaces, then move down 5 spaces)
By Moynzy, with 9 replies.
Last reply by Moynzy, over 10 years ago:
shrucis1, you are a star! I one more solution for you if you don't mind. I will be sure to reference and credit you in my work too. <Code Omitted> //If the baby is touching the ball && the space bar is pressed //Set the location of ball to go left 50 spaces.
how to use setimage
By deathburrito16, with 3 replies.
Last reply by danpost, over 10 years ago:
Also, your new bullets will always appear 50 pixels to the right of the center of your player (regardless of the rotation of the player). That, and the bullets will all travel the same direction (probably to the right). To correct this, you might need something like the following in place of lines 24 and 25 above: <Code Omitted>
how to install tor on ubuntu 12.04 ?
By berry777, with 3 replies.
Last reply by deathburrito16, over 10 years ago:
but really I have no idea
Power Ups
By Elisam, with 6 replies.
Last reply by Elisam, over 10 years ago:
Great thanks for your answer, thats directly what i needed to know, thanks ;)
Crowding at the left corner
By chrl98, with 4 replies.
Last reply by chrl98, over 10 years ago:
Fixed. Thanks!
It just doesn't die!
By GreenAnthony, with 1 reply.
Replied to by lordhershey, over 10 years ago:
What are you shooting at it? If you some how jump over 0 for Counter (not sure how you could) you can miss the Counter == 0 condition, try changing it to say Counter < 1 .
Level Design
By Elisam, with no replies.
Hi, I want to create a Level class which I can use for a whole bunch of games I want to create, and I don´t want to put everything into the World class because of the code style. So i thought of making a Level class which keeps the data of the current Level the player is playing and a LevelManager class which initializes new Levels and handles things like Level increasing and other things. So my question: Is this a good solution or can anybody give me tipps for that?
737
738
739
740
741
742
743
X