Report as inappropriate.
With the help of some people on the Discussion forums, I have created a very small demo scenario that demonstrates how to change the image of the mouse cursor in Greenfoot, as well as how to read from the Scrollwheel
If you look at the source code, you will notice that the Image of the mouse that I am using is actually an actor. This is because not all computers support full color on mouse Images and so I merely disable the mouse image entirely and substitute with an Actor image.
Both of these exploits rely on a tricky piece of code provided by Davmac, and there is no guerentee that they will continue to work in future versions of Greenfoot.
Enjoy the code and use it in all your Greenfoot Scenarios :D
Want to leave a comment? You must first log in.
2011/5/26
2011/11/12
2011/11/12
2013/4/25
2013/4/25
2017/6/22
2017/6/22
2017/6/22
2017/6/22
2017/6/23