Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] Change mouse pointer

Author
Message
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 18th Oct 2020 13:54
Hello,

Is there a way to change the mouse pointer to either a different shape (e.g. caret, resize or move)?

I know I could do this by hiding the pointer and using a sprite in its place, but at 30fps the sprite's movement is not fast/fluid enough.

Thanks for any help,

James

The author of this post has marked a post as an answer.

Go to answer

Alex_Peres
AGK Master
14
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 18th Oct 2020 19:28 Edited at: 18th Oct 2020 19:29


Sorry, that's for Tier2
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 19th Oct 2020 07:09
Is there any reason you are constricting the PC framerate to 30 FPS? I'd recommend 60 FPS minimum to better match common monitor refresh rates, or preferably just leave it uncapped and ensure your movements and operations are timer-based to be consistent.

I believe the only way you could achieve this in Tier 1 is the manner you described (hide mouse and add sprite at cursor position).
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 22nd Oct 2020 10:57
Thanks all
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 22nd Oct 2020 16:53 Edited at: 22nd Oct 2020 16:54
This post has been marked by the post author as the answer.
for Windows by Qugurun: https://forum.thegamecreators.com/thread/225433

no personal experience with it.
[My Itch.io Home] [#LowRezJamAGK2020]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=AGK] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[Google Forum Search]

Login to post a reply

Server time is: 2024-04-23 09:07:24
Your offset time is: 2024-04-23 09:07:24