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
How do i use sleep()?
By frederikam, with 10 replies.
Last reply by danpost, about 13 years ago:
The '%' operation is 'remainder after division'. 'counter = (counter + 1) % 4;' is equivalent to <Code Omitted>So, on consecutive cycles the value of 'counter' will go 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, etc. Your code with the 'while' statement will not work in the manner you would want. Certainly, line 5 will always return false.
Graphics Search
By CrazyGamer1122, with no replies.
I am about to begin working on a game where you command troops in battle, but i cannot find any graphics. does anyone know where i can find some good graphics? the images needed would be a swordsman, archer, magician, and dragon, also a knight in chain-mail armor to ride the dragon. thanks in advance.
Asteroid Question
By mncomic, with 9 replies.
Last reply by danpost, about 13 years ago:
My last post was in reference to my post previous to that.
need help with mouseInfo
By Gevater_Tod4711, with 14 replies.
Last reply by SPower, about 13 years ago:
Ok, sorry for the mistake.
Invoking an actor's meathod from the world?
By Stormtrooper299, with 5 replies.
Last reply by Stormtrooper299, about 13 years ago:
Thank you nccb, it worked :)
How to make the most of UserInfo storage
By royalfool, with 13 replies.
Last reply by danpost, about 13 years ago:
@nerdlemon888, see
this post
in another discussion.
drawString() problems
By erdelf, with 20 replies.
Last reply by davmac, about 13 years ago:
As I said before, we probably need to see the complete code.
Search for color near the actor
By Gevater_Tod4711, with 1 reply.
Replied to by danpost, about 13 years ago:
A method like that would probably take up way too much CPU time and slow down your scenario. Also, it would be a very complicated method to write. It would be even more complicated if the color could be from another actor as well as from the world. I was thinking about creating actors for each possible point that could be found; but, even that would require a multitude of transparent pixel-sized actors. These actors, however, could be rotated to indicate the slope of the edge at that point (I noticed you were looking at the 'Gravity Engine' scenario). You could then use 'getObjectsInRange
Weird exception in greenfoot
By SPower, with 2 replies.
Last reply by SPower, about 13 years ago:
Ok, thanks!
removeObjects()
By Cocky, with 11 replies.
Last reply by Gevater_Tod4711, about 13 years ago:
Ich hab grad mal ausprobiert Objekte mit removeObjects() zu zerstören. Also bei mir funktionier dieser Code: <Code Omitted> Ich glaube ich kenne den Fehler der dazu führt das das bei dir nicht funktioniert: removeObjects() ist eine methode die in World deklariert ist, was bedeutet das das: <Code Omitted>nur in der world funktionieren wird. Aber das:
wie erstelle ich eine Sammlung
By Cocky, with 4 replies.
Last reply by erdelf, about 13 years ago:
klick oben auf "scenarios", dann auf "see our collections", und dann auf "create new Collection".
Project Failed To Compile
By JayWood860, with 4 replies.
Last reply by danpost, about 13 years ago:
I do see the method 'set()', nor 'r()', anywhere here. Nor do I see the constructors for 'Me', 'CP', 'DW', 'KD', 'LBJ', or 'Problem'; all of which are being called during construction of the world.
wie erstelle ich eine Sammlung
By Cocky, with no replies.
Ich habe eine Frage: Wie erstelle ich eine Sammlung?
How would you, Sprites
By Razzo, with no replies.
How would you create a sprite from 1 image, For an object animation. for example, You have 1 image of sprites, and you are displaying a walking animation, How would you take each sprite from the main image. If any of you are aware of Minecraft texture packs, they do it. And here is an example of a Image of Sprites http://i.imgur.com/qZsnE.png
Fussball
By Cocky, with 4 replies.
Last reply by Cocky, about 13 years ago:
ok ich fange dan mal an
938
939
940
941
942
943
944
X