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
3d text
By tylers, with 2 replies.
Last reply by mjrb4, almost 14 years ago:
What do you mean specifically by 3D? With a shadow / box effect, turned at a 3D angle, etc.? As erdelf has said it may make more sense to create it with a graphics package and use it as an image rather than trying to construct that image in code.
Are new java 7 features working?
By nerdlemon888, with 3 replies.
Last reply by mjrb4, almost 14 years ago:
@danpost - eurgh. I wouldn't do that, it's rather ugly to say the least! Just use a bunch of if statements as SPower suggested if you need to do that, it's much clearer code to read. If you *must* insist on using switch then you can potentially switch on the hashcode of strings, but bear in mind there is the potential for collisions there, however small. In terms of Java 7 features - they're deliberately not enabled for compatibility reasons. If someone were to run a scenario on the gallery uploaded with Java 7 source features, and they only had Java 6 installed, then their code wouldn't ru
Bug saving in UserInfo
By SPower, with 12 replies.
Last reply by SPower, almost 14 years ago:
I'm sorry for causing trouble, I just forgot the store command, as I always do :). But usually I see that I forgot it, and this time, I didn't.
Changing info of other users in UserInfo
By SPower, with 2 replies.
Last reply by SPower, almost 14 years ago:
Ok, thanks.
APP'S
By -nic-, with 6 replies.
Last reply by -nic-, almost 14 years ago:
i have made the game reactions in mind of android the pixel count is the same as a sony experia x10 i havent used the keyboard just mouse and i kept it simple.. ill look at the link mathe said but ill try other routes thanks though.
My character is ignoring platforms
By Possiblydominator, with 1 reply.
Replied to by danpost, almost 14 years ago:
One way to stop it from doing so, it to break each movement into individual steps. That is, if your actor is moving 5 pixels per frame, then move it 5 times, moving one pixel at a time and checking for intersecting obstacles each time. If an obstacle becomes present, just move back that last step (1 pixel). Check out my
Barriers and Bars Demo
for an example.
Editor keeps black
By erdelf, with 1 reply.
Replied to by nccb, almost 14 years ago:
Next time it happens, when you close Greenfoot (but before you re-open it) can you find your debug log and send it to support@greenfoot.org? Details on how to find it on this page: http://www.greenfoot.org/support
storage.csv
By erdelf, with 5 replies.
Last reply by erdelf, almost 14 years ago:
thx guys
Skipping a line?
By erdelf, with 17 replies.
Last reply by erdelf, almost 14 years ago:
thx again
Lord King Battle 2
By yole, with 2 replies.
Last reply by yole, almost 14 years ago:
Thank you for your post davmac. Can you please continue with posting at the Lord King Battle discussion?
Rotation and getOneIntersectingObject
By limefortheworld, with 2 replies.
Last reply by limefortheworld, almost 14 years ago:
I was thinking that was the potential answer. I guess then it is how it goes.
add enemy after every 300 points scored
By davemib123, with 7 replies.
Last reply by danpost, almost 14 years ago:
Another way is to use this for the addScore method: <Code Omitted>
making pics smaller
By Yoman, with 4 replies.
Last reply by ThinkingPainter, almost 14 years ago:
<Code Omitted> here's the code im using change blip to you actor name and change the numbers to your liking. 0 to -40
Jittering?
By GregC246, with 2 replies.
Last reply by GregC246, almost 14 years ago:
I'm not positive but I'm pretty sure it has happened to me on a different computer. Nevermind then, if it's just me, then it doesn't matter.
Level 2 problem with shooting
By ThinkingPainter, with 6 replies.
Last reply by ThinkingPainter, almost 14 years ago:
tried to add line 59 back under it again with the new code you gave me makes the counter"score" work but messes up the shooting haha
956
957
958
959
960
961
962
X