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
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.