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
Greenfoot gone weird
By gusbus123, with 10 replies.
Last reply by gusbus123, almost 14 years ago:
k ill take a look at that. I tried it once and i failed but ill try it again once im done with some other parts since i know a lot more than 15 days ago :P
is there any reason that the class name is to be shortened in the 2.2.1?
By won0c, with 8 replies.
Last reply by won0c, almost 14 years ago:
I have no problem on the 2.1.2 version !!
Saving and Loading
By GregC246, with 4 replies.
Last reply by GregC246, almost 14 years ago:
Found the answer
here
.
Problem with Counter and Text
By Prudene, with 2 replies.
Last reply by danpost, almost 14 years ago:
Create new sub-classes of Actor and name then 'GoodMessage' and 'EvilMessage'. In itheir constructors, create GreenfootImages, either with text or draw text on it. You could also use another program to create the images showing the text an import the images (pre-setting them to the actor classes). You can now create and add the message objects to the screen when a counter reaches 0.
Greenfoot Error
By Benedict, with 6 replies.
Last reply by tylers, almost 14 years ago:
use this in in one of the actors you want to use: <Code Omitted>
this is an example
this is an in a class called somthing.
<Code Omitted> hope you get it.
Boulder Dash exam project
By fisch3r, with 3 replies.
Last reply by fisch3r, almost 14 years ago:
Ahh, I get it now. I reused some code from an earlier project. Thanks a lot!
gravity help
By tylers, with 1 reply.
Replied to by limefortheworld, almost 14 years ago:
Bounces up and down? Try on line 43 setLocation (getX(),(354+tall)). It seems like the tall value is the full height of the image.
How do i make lasers?
By kevinchaoo, with 1 reply.
Replied to by erdelf, almost 14 years ago:
look at this: http://www.greenfoot.org/scenarios/5518
Integration of Videos into a Greenfoot Project
By alexanderyoyo, with 6 replies.
Last reply by tylers, almost 14 years ago:
i don't see anything wrong in that code.
try
can you look at you images to see if you have got any repeated images.
see in the world class that you nothing resetting the int called frames.
i will edit this when i think of more answers :p beware make sure you compress your images as it will not upload onto greenfoot
Difference between intersecting and atoffset(0,0)
By erdelf, with 1 reply.
Replied to by davmac, almost 14 years ago:
Yes. "getOneIntersectingObject" finds an actor whose bounds intersect this actor's bounds; "getOneObjectAtOffset" finds an actor which intersects (covers) the point at offset 0, 0 from this actor's location.
Setting Coordinates of mouse
By erdelf, with 4 replies.
Last reply by erdelf, almost 14 years ago:
well, ok forget it
Gravity
By abdullah.haris91100, with 1 reply.
Replied to by K_O_P, almost 14 years ago:
For a scrolling world there are many scenarios, you can take a look at. I would recommend this: http://www.greenfoot.org/scenarios/3040 For gravity there are although many examples in this gallery.
How do you make leaderboards?
By kevinchaoo, with 3 replies.
Last reply by danpost, almost 14 years ago:
If you have Greenfoot 2.2.0 or later, you can use the 'UserData' class. It has all the basics in what you are looking for.
How do I keep variables after you switch worlds?
By steved, with 3 replies.
Last reply by steved, almost 14 years ago:
Thanks guys I will probably put it in the constructor of the new world. That would be easy as most things are based in my world anyways and there are only a few variables.
Is it possible to add objects to the world from a static class?
By mrjelle88, with 5 replies.
Last reply by mrjelle88, almost 14 years ago:
Thank you very much, you saved me from a bad note in school! I had to get passed this to be able to move on to the next part, so it really helped me out :) Also I learned from your explaination! Thanks :)
961
962
963
964
965
966
967
X