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 / GetPointerPressed () in Repeat Until Loop

Author
Message
Increase
7
Years of Service
User Offline
Joined: 21st Feb 2017
Location:
Posted: 17th Apr 2018 09:12
When used in a repeat ... until loop, the GetPointerPressed() variable does not seem to be set back to 0 after the button is released.

E.g. :



This will return "Hello" although it should not.
shadey
14
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 17th Apr 2018 09:42 Edited at: 17th Apr 2018 09:45
Maybe try this:


I cut the sleep down though so you dont have to wait as long for the result,hard to see when there is nothing to see
Hail to the king, baby!
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 17th Apr 2018 10:07
Sync updates the value returned.
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
shadey
14
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 17th Apr 2018 10:14
ah yes, that also!!
Hail to the king, baby!
Increase
7
Years of Service
User Offline
Joined: 21st Feb 2017
Location:
Posted: 17th Apr 2018 10:29
sync() ! - cool, so no bug

Login to post a reply

Server time is: 2024-11-23 21:47:57
Your offset time is: 2024-11-23 21:47:57