input

  1. Daniel Mallett

    Discussion Bumbling stock

    I have met a stumbling block. This isn't really a question as such. I'm struggling at the moment with a horrid combination of lack of inspiration and writer's block. I keep re-writing things but not really getting anywhere. I have an idea of what I want to achieve 'a modern version of lazy...
  2. J

    How to have multiple text input boxes

    So I need up to 6 players to enter their name. That's it! I know how to make 1 textbox, but not how to make multiple boxes that you need to select before typing a name in it. Any help would be appreciated! :) The code I currently have for 1 working textbox comes from this page...
  3. Grez1

    Simple way to implement basic text input

    Ok, n00b to the forums here. I've cranked out a couple of simple games so far and am enjoying GameMaker (note: I'm still on 1.499999 - evaluating as to whether to invest in 2.x). The one thing that I'm finding completely confounding is what would be the most simple of functionality way back the...
  4. bsabiston

    GMS 2 Any way to close string input box with <return> key?

    When I use get_string_async, it opens up an Input Query box for entering a string. If I press return, it signals the end of string input, but the dialog box doesn't close. I have to use the mouse to press OK. Anyone know if there is a way to have it close the dialog box when I press the...
  5. Architheutis

    How to program a user text input box (Highscore) [SOLVED!]

    Hi Folks, my game is in the fine adjustment... ... I programmed a highscore table with a text input box. So the player is able to type his name via keyboard. That works on PC or laptop aso. But what about a mobile unit like a smartphone or tablet? It´s set with a keyboard_string = " "...
  6. N

    GMS 2 [SOLVED] Sprite dissapearing after four seconds of input

    So I'm fairly new to GMS2 programming. I have a strange bug. Here's the code: Step event if lockKeys = 0 { //Do a million things based on player input } if key_up { sprite_index = sPlayerH; lockKeys = 1; firingdelay = 0; } else { lockKeys = 0; } I want the player input to be...
  7. Jihl

    GMS 2 Issue with keyboard check

    Hey there guuysss... Somehow my game manages to get spikes on the keyboard input but not in the actual FPS of the game, that makes my game sometimes miss a keypress and when you are chatting it is very uncomfortable. I have used the debugger to ensure it is not an FPS drop when a key is...
  8. V

    Stuck on attack state when inputting the same button multiple times

    Hi, I am quite new with using Gamemaker 2. When I click the left button mouse multiple time, it got stuck on the attack state and not returning to free state. I have been looking anywhere and can not figure it out. Does anybody know how to fix this issue? Moving Script move_speed = 2; hsp = 0...
  9. TheCheeseMaster

    GML Problems retrieving data from a ds_list

    Hi guys. I've been working on a system to allow the player to customize the key bindings to whichever keys they want. I've been successful in that once the keys have been changed, using those new keys in-game works fine. The problem I'm having is that when I exit and start the game again, and...
  10. Wolff

    GML Creating a (sort-of) Typing Game Mechanic

    Not necessarily a typing mechanic, but one that works similarly. I'd like to create a game in which you deal damage by providing the requested inputs that appear above enemies. Instead of typing out words as one would in an actual typing game, the player would use only two inputs (for example...
  11. giraffeman210

    Need input! Which of these 8-bit themes are your favorite?

    Hello! For my game Score Attack Ninja 2 I made four 8-bit stage themes. I want one to be used for a game play video for the game but don't know which one turned out the best. Here is a link to the stage themes on YouTube: If you wouldn't mind giving them a listen and commenting your favorite...
  12. NNNIKKI

    GMS 2 Punctuation keyboard_check

    How can I use keyboard_check, _pressed and _released with punctuation symbols, such as , . / ; ' [ ] - = ..? In the manual, it said to use "keyboard_lastchar", but I think that'll only work with pushing the button, and I also want to register when you release that button. How do I do this?
  13. YellowAfterlife

    Asset - Extension Raw Input - poll multiple mice & keyboards!

    Quick links: Documentation · itch.io page (has the demo) · GM Marketplace page Versions: GameMaker: Studio, GameMaker Studio 2 Platforms: Windows, Windows (YYC) Price: $14.95 (itch), $19.99 (marketplace) This extension allows you to take input from multiple mice and keyboards! This way you can...
  14. IcyZ1ne

    GMS 2 Making combos system?

    So im trying to make a combo system in which the game detects when you press , for example, 3 buttons one after the other, and if done succsefuly then do this attack. Here is my try on it: if (keyboard_check_pressed(ord("S")) and (keyboard_check_pressed(ord("A")) and...
  15. Samuel Venable

    Asset - Extension Joystick API (for Windows, macOS, and Ubuntu)

    It is a known issue that this extension has randomly decided to stop working for me on Mac OS X within the last two updates. I think the problem may be that I must have messed up the build shell scripts without realizing, as the code itself hasn't changed. If there is anyone here who has...
  16. russwyk

    Keyboard input not recognized for specific key combination

    Hi all, I was trying to work through some issues with multi-directional firing in a crude Gauntlet-style prototype I'm building over the holidays. My character couldn't fire up and left; I thought maybe this was a trig or logic error on my part (those pesky negative numbers, amirite?), so once...
  17. P

    GMS 2 Detecting 2 quick movement inputs for both keyboard and gamepad

    I wanted to implement a "dash" feature in my game, and I would like to do it by having the player press a movement key twice quickly. I could probably do this rather easily if I ere only using keyboard, but I also want controller support, and I'm having trouble with detecting 2 quick inputs...
  18. XirmiX

    GML [SOLVED] Convert string to keyboard input or return keyboard input?

    Is it possible to convert a string to a keyboard input? Say I have "mouse_x" string variable and I want to create a new variable that holds keyboard input and takes that string variable to get what key the variable will be set to? Or may be it's possible to set in a list a key value? I've tried...
  19. B

    The fastest way to compress a string

    Hi community TL;DR: I need a way to compress a long string without the game going in sleep mode while compressing. Does anyone have a link to a nice tool or a clever method to do this without the wait and without too many extensions? I'm making an online platformer where, when you beat the...
  20. zbox

    Asset - Scripts [FREE] Get String Async Helper

    Marketplace: http://bit.ly/2OMoBqb Category: Scripts Price: Free Modules: All Description: Ever since get_string() and the like were deprecated I've always been annoyed that there is no relatively simple, single line way of getting user input, sometimes with multiple questions. This script...
Top