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
WAV (Microsoft) signed 16 bit PCM sound file won't play.
By Dirk1616, with 2 replies.
Last reply by giordanno92, almost 13 years ago:
I'm not quite sure, but I was also getting a similar error, depending on where you converted your wave file, it might be Nyancat.WAV and not Nyancat.wav. Not sure if it helps.
school game
By ADRI0813548, with 4 replies.
Last reply by ADRI0813548, almost 13 years ago:
ok i go post it but i dont can let it longer or my school boys will see what am making need to b somthing private an then when done post full game but i post it now cuz i need really help
Greenfoot kinect Server has stopped working - Help please
By hawkwolf, with 2 replies.
Last reply by hawkwolf, almost 13 years ago:
Because I originally could not get the drivers to load, I used alternative software versions from the official OpenNi sites, and this seems to have caused the issue, as I followed your suggestion and reinstalled the versions from the Greenfoot site and it now works. Thanks. I managed to solve the original driver problem by installing them manually through the "Add hardware" program in Control Panel. If I didn't do that, the drivers failed to automatically install and there was nothing in the Device Driver panel to show any Primesense devices. I'm suprised this hasn't been a problem for othe
Accessing a subclass method from the superclass (sort of)
By darkmist255, with 3 replies.
Last reply by AwesomeNameGuy, almost 13 years ago:
It kinda does return the specific type of enemy in a way. It will return the specific type of enemy object at runtime alright, but the compilor doesn't know what subclass of enemy it's going to get when it compiles the program, hence it will only let you use methods that are defined in the enemy superclass in your code, unless you cast it to a more specific type, and you should only do that if you have a situation where you know for sure what kind of enemy you are going to get, otherwise I believe it causes a run time error. That aside, at runtime java will know which subclass it has though, a
Missing return statement?
By darkmist255, with 4 replies.
Last reply by darkmist255, almost 13 years ago:
Thanks! I got it working! The first opponent is now finished, and the game engine is 90% complete. Now for some visible progress :D!
Actor teleporting
By darkmist255, with 1 reply.
Replied to by darkmist255, almost 13 years ago:
Got it! I got rid of the direct link between distance and momentum. This is the working code:
Removing an object when it reaches the world end
By Wittwalsky, with 1 reply.
Replied to by davmac, almost 13 years ago:
Please read
this
& post again.
Error:S
By TopInPut, with 4 replies.
Last reply by davmac, almost 13 years ago:
Actually, it means that the parameters you are passing to the method are the wrong type(s), or that you have the wrong number of parameters. Check the documentation and make sure that you understand what you need to pass to it and that your code provides the correct parameters. (In your code, how many do you give? How many are required?) Similarly for line 11: Ball ball = (Ball) getOneIntersectingObject(this); What is the required parameter type? What are you actually passing? (check the
documentation
).
Just a quick question.
By darkmist255, with 1 reply.
Replied to by darkmist255, almost 13 years ago:
Nevermind, just realised that I have my if's in an ascending order, so it would always execute the last one last. I just made them "else if" and it worked :D. One problem though, when I set volumeLevel to 50, there's no audio? Here's the relevant code: In "Spikes.class"
"Incompatible types" Whazhappaning?
By darkmist255, with 8 replies.
Last reply by Builderboy2005, almost 13 years ago:
Casting does indeed work for actors, as well as most classes. And that's good to hear about your class name :P
getX() and getY(), what point is actually returned?
By darkmist255, with 4 replies.
Last reply by darkmist255, almost 13 years ago:
Thanks :D!
Just a thought, is this possible?
By darkmist255, with 2 replies.
Last reply by darkmist255, almost 13 years ago:
Possibly. Might be a project for the future :D. Thanks :D!
How do i go about making a Player teleport to a different world if they stand on a certani part of a world?
By Basics, with 1 reply.
Replied to by davmac, almost 13 years ago:
All i need to know, is it possible to make it so when the Player touches a house then they will get send inside the house
Yes, that is possible. Are you sure that's all you need to know? :)
Java project
By 151mewtwo, with 8 replies.
Last reply by 151mewtwo, almost 13 years ago:
hey davmac, BigDecimal num1 = new BigDecimal("1000000000000000000000000000000000"); this code really worked... thanks.. and thanks also to all those who replied... appreciate it.. but i have one more thing, how to ask for user input for two numbers? and how to check if the user input is using decimals or just integers.. -thanks
Null Pointer exception
By darkmist255, with 11 replies.
Last reply by darkmist255, almost 13 years ago:
Ahhhhh! I get it, thanks :D.
1020
1021
1022
1023
1024
1025
1026
X