|
|
|
| Home Blender Games CG Projects University Projects Tutorials Resources Links Random Stuff |
Custom CursorsLooking for a way to customise the cursors in your game? This template will demonstrate one of the methods you can use to do this. Note that this method requires a 4:3 screen ratio to track properly.Downloads .Blend File - Custom Cursors Template To change the cursor image, press keys 1-4. Using the file in your own project 1. Append the scene from the demo file into your own. 2. Add the scene as an overlay scene where you want the cursor to appear. 3. The best way to change the cursors is by using a global variable. For example if the mouse is over a button, you could set GameLogic.Cursor = 1. If it's not over a button, set GameLogic.Cursor = 0. With some slight modifications to the cursor tracking script, your cursor will then change automatically. 4. Replacing the cursors with your own. This is simply a matter of replacing the textures on the cursor planes. Ensure to use a format which supports alpha transparency, such as .PNG or .TGA. The other cursors can be found in the second layer. |