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
Strange behavior - addedToWorld method
By TheSlorrow44, with 4 replies.
Last reply by danpost, over 8 years ago:
TheSlorrow44 wrote...
And this is the reason why I don't understand why the actor didn't appeared at given coordinates. For example I used addObject(new Blue1(),120,0); but the actor was added at 0 0 .And , If I cut the code from addedToWorld and paste in constructor , and delete addedToWorld , the actor will appear at the correct location.
Please show the class where you are using the addObject call for inspection. If it extends any class other than World, show that class as well. Before that, please show the entire Blue1 class code.
Best score wont be updated + how can i make it be seen in class ScoreBoard ?
By frequency, with no replies.
Hello, Thats it http://www.greenfoot.org/scenarios/20785 Thanks!
Keep the best score on the main menu
By frequency, with 17 replies.
Last reply by frequency, over 8 years ago:
Sure! Thank you! I got this version to be finished until next week! It will be the final version! Thanks!
Make a game over screen with the best scores
By frequency, with no replies.
Hello, this is the scenario http://www.greenfoot.org/scenarios/20778 . As soon as the timer goes 0, GameOver comes in and says the best score for me 3 differend game modes. COde included in the scenario!
Can Someone help me with this please? SOmething is wrong
By Zeplex, with 1 reply.
Replied to by danpost, over 8 years ago:
Your bracketing is messed up and your second method is missing a name.
Can anyone tell me what's wrong?
By Acituanbus, with 7 replies.
Last reply by Acituanbus, over 8 years ago:
Thanks, I used the player.Speed=2 one, was the easiest one
Keeping best score on an EXCEL file
By frequency, with 1 reply.
Replied to by danpost, over 8 years ago:
frequency wrote...
Based upon this scenario http://www.greenfoot.org/scenarios/20781 How can i tell greenfoot to write down the best scores to an EXCEL file? Thank you!!
Locally, the UserInfo class stores data to a 'csv' file which Excel opens and works with. On the site, data is stored to a database on another server.
Turning off world boundaries?
By RynoCoder, with 1 reply.
Replied to by danpost, over 8 years ago:
Use the alternate
World constructor
.
Problem with score reset after greenfoot game resets
By frequency, with 11 replies.
Last reply by frequency, over 8 years ago:
FIXED!
Separate scoreboard and timer for 3 classes
By frequency, with 37 replies.
Last reply by frequency, over 8 years ago:
I actually made it before 2-3 hours.Thanks,i will post new stuff
Distance Comparisons
By SuperNinja, with 1 reply.
Replied to by danpost, over 8 years ago:
SuperNinja wrote...
Is there a way I can compare distance so I can give the dart a target based of that instead of only targeting one actor or the other?
By "based on that", do you mean by which one is closer? Does your World subclass keep references on the players? Will both players always be in the world? What are the class names involved? Show code for class of dart.
How can i make an image change when i press a button
By frequency, with 19 replies.
Last reply by frequency, over 8 years ago:
I MADE IT! DAMN I AM SO HAPPY MAN! Take a look. http://www.greenfoot.org/scenarios/20778 Now i must make it reset the score and fix the count down timer!
How to make 3 different timers for 3 different game modes
By frequency, with 6 replies.
Last reply by frequency, over 8 years ago:
Done,removed the images and now they extend from actor. Now what do i do?
HELP!!!!
By Indy5Drew, with 3 replies.
Last reply by danpost, over 8 years ago:
First, you need some kind of list to hold the key sequence (probably a character array, aka: a String object, would do nicely). Then, you need an int to track the progress of the playing of the sequence. When the sequence is to start, set the int field to the length of the sequence. This way, when the int field is zero, the sequence is not playing and when it is not, the sequence is playing. When the int field is greater than zero and either the field value equals the length of the sequence or the current note is not playing, (call a method to) play the note and decrease the int field (no
Cant add proper scoreboard !
By frequency, with 3 replies.
Last reply by frequency, over 8 years ago:
I uploaded new topics with the scenario!
291
292
293
294
295
296
297
X