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 Classic Chat / SetRawMouseVisible(1) BUG

Author
Message
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 25th Jan 2017 15:53
SetRawMouseVisible(1) is not making the mouse pointer visible after call SetRawMouseVisible(0)
The coffee is lovely dark and deep,and I have code to write before I sleep.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 25th Jan 2017 17:05 Edited at: 25th Jan 2017 17:12

This works fine for me in windows. Shouldn't work on mobiles as they have no pointer.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Jan 2017 17:51
What release?

Working OK here, running 2.0.21 on this PC.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 25th Jan 2017 20:52
Quote: "mouseHidden = Abs( mouseHidden - 1 )"


Off topic but, you can do:

mouseHidden = 1 - mouseHidden

to toggle without the overhead of abs ()
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 25th Jan 2017 22:38
Testing today seems to give me intermittent results.
Some times it works and sometimes it will not?
Yes, I am testing on windows and in both tier1 and tier2.
Testing on the latest release I of AGK. 2017.01.09 .
The coffee is lovely dark and deep,and I have code to write before I sleep.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 26th Jan 2017 09:27
Quote: "Off topic but, you can do: mouseHidden = 1 - mouseHidden"

Yes you can. Thanks.

Login to post a reply

Server time is: 2024-09-29 23:36:22
Your offset time is: 2024-09-29 23:36:22