• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

keyboard

  1. Tsa05

    GameMaker Multiline Textbox: Improved, still needs optimization ideas

    I think we've all dodged around this a bit for decades, so I'm just going to post a multiline textbox script now and have done with it. GMS has long gotten away with having no built-in way to allow reasonable multi-line text input because A) Why would your player want to write an essay in your...
  2. H

    Legacy GM Translating key value to string

    Hello! I am trying to translate a pressed key value (say, '72' which is the value for the 'H' key) to a string, but I can't get it to work. Any ideas?
  3. A

    Windows GameMaker 2 BSOD Help!

    It started a week ago for no apparent reason. When using GM2 for a period of time (usually 10-30 mins) my laptop keyboard stops working. - It's still powered as I can see light from the keys - However, I'm unable to input any keys. The error persists even after Switching tabs, closing GM2. -...
  4. B

    Mac OSX Control Key Not Mapped Properly on Mac OS

    When I switched from a mac keyboard to a windows keyboard, I changed my modifier keys (Including command key) into a more comfortable position. For the rest of the os, the re-mapped command key works fine, but on GMS 2 it changed to the ALT key on the right side of my keyboard, however, saving...
  5. E

    Mac OSX IDE/Script Editor - Right CMD Key Shortcuts not working

    I've run into a bizarre issue when using the Script Editor on a 2015 Macbook Pro, and I did not see any similar issues after searching the forum. I'm able to use the Left CMD key for all of the standard keyboard shortcuts (cut, copy, select all, etc), but the Right CMD key is only limited to...
  6. R

    Windows Insect launch: keyboard game

    This is a creative idea of me: launch insects based on the keyboard keys, thorough the window. Download: http://roelaro21.twentyone.axc.nl/games/insectlaunch.zip Made for Windows XP and higher. Screenshot: It has QUERTY mode and AZERTY mode. How to play? Press a button and release it to...
  7. F

    Movement on a top down shooter

    Hello, I am a beginner making a top down shooter. I have my up and down sprite animations made, but I have two questions. 1. Attached is my current code I am using. When my character moves up or down his animation will not stop looping. How do I keep this from happening? 2. Next, how do I...
  8. A

    GML Disable player INPUT

    Hello! I'm trying to create a game where the player can take control of numerous objects. So I must disable the main PLAYER inputs to control an another object. Which is the clever way to achieve this? Thanks in advance :)
  9. GMWolf

    GML Keyboard Remapping - GMWolf

    GM Version: GameMaker studio and Studio 2 Target Platform: ALL Download: N/A Links: Video Link Summary: As introduced in the video, Keyboard mapping can be done using variables, but it can be quite a limmiting technique. Thankfully GM includes a set of functions made specifically to deal with...
  10. A

    GameMaker Checking Multiple input Types

    Hi, I am currently working on a project that includes allowing the player to remap their keys. They will be allowed to remap their keys to either mouse, or keyboard buttons. However I am having trouble finding a way to check if the input is either a keyboard or a mouse input. Currently I am...
  11. M

    need help making a virtual keyboard

    Hello, I am working on making a quiz-like game where the playing can input the answers in text. The problem I am having is when the answer needs to be typed in Hebrew. Hebrew goes from right to left instead of left to right. Is there anyway to string text from right to left? Thanks!
  12. D

    iOS Detect key press on external bluetooth keyboard

    We are developing an iOs app for traing purpouses for disabled children. For that reason we need to be able to control the app on the iPad from an external bluetooth connected keyboard. We have developed an extension for key press detection in XCode. This extension runs perfectly as a...
  13. Posho

    GML Receive Inputs when Window is not Active [Solved]

    Hello. I need a way to make my game receive keyboard inputs (like hotkeys) even when it is not the active window. Is there any way to achieve this?
  14. Z

    Free Keyboard Cleaner [WIP]

    CONTROLLS: Arrow Keys - Move Spacebar - use selected weapon (lower bar) A-Z Keys - Use power/block path (upper bar are powers) 1-4 - select weapon F1-F4 - select power Description: Becouse cleaning keyboards is a tedious task and your better off buying a new one, you summon special...
  15. F

    Legacy GM [UNSOLVED] Can't keyboard_clear letters?

    I'm trying to use keyboard_clear to clear my jump key, X, when the player uses it to select the "Resume" option in my pause menu so they don't do a little hop whenever the game is unpaused this way, but the method just won't clear it. I've tried giving it ord('X') AND ord("X"), but it won't...
  16. S

    Aiming without mouse

    I have a local multiplayer game where I want the controls of each player be as similar as possible. However, I would like to give each player the possibility to shoot in all directions without the mouse, but I'm lacking the ideas on how to implement this in the controls. First of I thought about...
  17. A

    Legacy GM [SOLVED] 4 Players Multiple Controls Local Lobby

    Right now i can detect when keyboard joins and leave and I also use Async event to detect when a gamepad or joystick joins or leave storing its number 0-3 for gamepads and 4-5 for joysticks. I want to know how i can put the keyboard, gamepads and joysticks into different slots or remove them...
  18. B

    Windows Keyboard Key Code Help [RESOLVED]

    Hello everyone. As you may have guessed from the header, I need key codes. I'm making a custom keyboard that will pop up as needed by the player. Obviously, "ord( '-' )" won't work for retrieving a dash. How can I get the specific key codes for the more unusual keys like the asterisk...
  19. M

    Mac OSX [SOLVED] How to control sprite movement with keyboard?

    I am relatively new to GM, and am trying to create a maze type game where the player sprite is controlled by hitting keys on the keyboard. (I am designing this for blind people too). The prime situation would be for the sprite to move only when the key is pressed, but even just constant...
  20. A

    GML Want text drawn when button pressed and destroyed when pressed again (GUI)

    Ok so what I want is walk up to an object (collision) press vk_up to draw text (and keep it there) and the text destroyed when vk_up is pressed again. At the moment the text only appears if the vk_up is held down and disappears again when I release it. I've been searching web for while now but...
Top