|
Post by commended on Feb 17, 2017 9:37:17 GMT
Ok, on my first level of my game the cursor worked fine. I'm talking the standard windows cursor. However in my second level the cursor will not show? I've tried implementing a sprite and setting it to a full screen mouse cursor but it doesn't work in the editor.
Any ideas?
|
|
|
Post by Power Supersport on Feb 17, 2017 11:12:20 GMT
The custom cursor will work only in compiled game... Otherwise, you'll need a script... Note that the custom scripted cursor will move smoothed due to the iterations per second of the script... The script in 3D Rad will always execute 60 times per second...
Here's the script... Connect the sprite to this script and DO NOT checkbox the "use cursor" thing...
float x, y; void Main () { x = iMouseX () * 32 - 16; y = 12 - iMouseY () * 24; iObjectLocationSet (OBJ_0, Vector3 (x, y, 0)); } You seem not to know scripting buddy... But scripting is needed in games a lot...
|
|