User Tag List

Results 1 to 3 of 3

Thread: Prevent two keys pressing at the same time

  1. #1
    Clicker Fusion 2.5 (Steam)
    Mujitsu's Avatar
    Join Date
    Dec 2019
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Prevent two keys pressing at the same time

    Hello! I'm making a top-down RPG and I'm having trouble preventing players from pressing two keys at the same time when moving.
    The reason why I don't want this is because if the Left and Right keys are held down, the player moves twice as fast to the left. Same for the Up and Down keys, except it moves up twice as fast.
    I should probably also note that I am using sub-pixel movement to move the player.
    If needed, I would gladly put the project file in this thread.
    Thanks for helping!

  2. #2
    Clicker

    Fusion 2.5Android Export Module

    Join Date
    Jan 2007
    Posts
    261
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Here is one way to do it
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 (Steam)
    Mujitsu's Avatar
    Join Date
    Dec 2019
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It works perfectly! Thanks a million!

Similar Threads

  1. Replies: 0
    Last Post: 16th October 2019, 05:11 PM
  2. Replies: 2
    Last Post: 21st May 2018, 11:48 AM
  3. Pressing the keys are recorded with a delay after update on Windows 10 (1703).
    By Vic1 in forum Universal Windows Platform Module 2.5
    Replies: 5
    Last Post: 22nd May 2017, 03:37 PM
  4. accelerator keys aka hot keys don't work
    By Gitaarheld in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 23rd February 2009, 10:05 AM
  5. Pressing multiple keys at once?
    By DantronLesotho in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 1st December 2008, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •