GameGuru Store / Jforth designs Keypad

Author
Message
Tarkus1971
Audio Media Maker
10
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 12th Jul 2015 20:08
Hi

I don't know why but sometimes the key repeat speed is soooo fast, you can't accurately input a code....

Does anyone know why this is.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.
DVader
21
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 19th Sep 2015 14:18
Probably a timer issue or lack of I expect. Hard to say without seeing the code(which you obviously can't show), but that's my guess.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Tarkus1971
Audio Media Maker
10
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 19th Sep 2015 17:49
Yes, agreed, i will try to edit the script and add a delay in the key scanning.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.

http://contest.gamedevfort.com/submission/185#.Vd9sJflVhBd
Tarkus1971
Audio Media Maker
10
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 19th Sep 2015 18:32
OK I have found the below

If I press Return or Enter on the numeric keypad the speed is too fast.

But if I press, on my keyboard, the backslash and a : symbol (Above my return key) on the keyboard the speed returns to normal, Just need to PM Jforth and see if this can be fixed. I cant find his PM link anywhere.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.

http://contest.gamedevfort.com/submission/185#.Vd9sJflVhBd
Corno_1
GameGuru Tool Maker
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 20th Sep 2015 18:21
Not sure what you mean, but I wrote my own script for the keypads(kind of competition with nullptr )
Try it:

Hope it fix it. If not contact the author unfamillia. I think he is Jforth designs
My dream is to develope games, which makes fun when I create it and fun when other people play it.

Attachments

Login to view attachments
PM
Tarkus1971
Audio Media Maker
10
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 21st Sep 2015 18:34 Edited at: 21st Sep 2015 18:54
hey thx corno1, i'll try it and report back yes your script works well, it animates the buttons etc, but the door assigned wont open.

I have sent a pm to unfamilla, thanks.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.

http://contest.gamedevfort.com/submission/185#.Vd9sJflVhBd
Corno_1
GameGuru Tool Maker
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 22nd Sep 2015 13:30
Maybe you can post your remote and door settings. I tested myself and it works
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM
cybernescence
GameGuru Master
12
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 22nd Sep 2015 21:08 Edited at: 22nd Sep 2015 21:11
Slight bug in the script (original - not Corno's). Change as below within keypad lua:



GetInKey() returns "" when using number pad.

Cheers.
Tarkus1971
Audio Media Maker
10
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 23rd Sep 2015 17:24
hey thanks cyber that cures the super keyscan speed excellent.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.

http://contest.gamedevfort.com/submission/185#.Vd9sJflVhBd

Login to post a reply

Server time is: 2025-04-19 09:53:17
Your offset time is: 2025-04-19 09:53:17