keyboard

  1. T

    Legacy GM Check if using either gamepad or keyboard

    Hello, I want to fix an issue that I have overcome when making controller support for my game. Moving the player object work fine enough, but I have doors that check for collision, and if there is, they change sprite. But the two sprites I have are spr_door (normal door), spr_door_down (door...
  2. T

    Android Android - Trying to find a keyboard 'type' without a new line return button [SOLVED]

    Hey folks, I'm using the Keyboard extension made by Beneton Software. The problem I have at the moment is the keyboards that appear treat the 'return' key as a new line and it's only if you hold it down for a second do you get a proper 'return / done' button. Has anyone had any experience...
  3. B

    Legacy GM 8-Directional attacking

    EDIT: I changed the title from 'Attacking while moving' to the new one since it didn't make sense to me after reading it back. So, I've just started sorting my move and attacking into two states and for the most part, they work fine. Actually, I can attack up, down, left, right, up-right, and...
  4. S

    Double keyboard press

    Hi there. So, anyone knows how to create a double keyboard check, for the same key. For example double key press vk_right or vk_left, this to do determinate action. Thanks for read :)
  5. Y

    player not working

    if keyboard_check_pressed(vk_left && !vk_shift) { //hspeed = -5 sprite_index = Spr_Player_Walk image_xscale = 1 } else if keyboard_check_pressed(vk_left && vk_shift) { //hspeed = -8 sprite_index = Spr_Player_Run image_xscale = 1 } else if...
  6. R

    Virtual Keypad for your game!

    Virtual Keypad by r82 GM Version: GM8 and GM:S Target Platform: ALL Download: Download from Dropbox (*.zip) Links: N/A Summary: Sometimes you may wanted to use a virtual keypad in your game, specially for touch devices. This tutorial shows you how to display a virtual keypad on the screen...
  7. E

    Windows (SOLVE)Try to do a on/off switch for flash lights help!!

    iwant to have flashlight with on and off switch. so hears my code: turn = false if keyboard_check_released(ord('F')) && turn = false { surface_set_target(surf); <--not important draw_set_color(c_black); <--not important draw_set_alpha(0.92); <--not important draw_rectangle(0, 0, room_width...
  8. M

    [SOLVED] Mouse_check inconsistency when using keyboard checks

    Hi everyone, I've recently started using GameMaker Studio 2. I'm playing around with a basic 2D platformer to get used to GML etc... But I've run into a problem when combining keyboard/mouse checks and collision detection. On startup, the bullets shoot correctly when the mouse is pressed. If I...
  9. zbox

    Asset - Extension EasyJoystick

    EasyJoystick Marketplace: https://marketplace.yoyogames.com/assets/4748/easyjoystick Category: Extensions Price: $1.99 $0.99 Modules: All Description: Easily create as many multi touch joysticks as you need for mobile and tablet users. Fully customizable Features: Thresholding on press...
  10. C

    HTML5 Any idea how to open Keyboard in HTML5 for Android/iOS?

    Hello, I have the following problem: Opening Keyboard in HTML5 for Android/iOS I am trying to: Open/Show Keyboard by using JavaScript Extension, but this isn't working I have tried: Using JavaScript Extension, but this isn't working well. function openKeyboard(){ var canvas =...
  11. A

    Windows Keyboard and mouse click event

    Hello, Is there a way to create a keyboard and a mouse click event to execute an action? e.g CTRL + "Left Click On Mouse" takes user to a room
  12. F

    Android Keyboard extension, anyone has used it

    Hi guys, hope you all are doing great. I purchased this extension https://marketplace.yoyogames.com/assets/299/android-keyboard and it works so far, I was able to show the keyboard on the android device using the keyboard_show(KEYBOARD_TEXT,) with a left pressed mouse event over the text input...
  13. zbox

    Asset - Extension Handwriting Recognition

    Handwriting Recognition Marketplace: https://marketplace.yoyogames.com/assets/4578/handwriting-recognition Category: Extensions (All Platforms except for HTML5) Price: $15.99 Modules: All (Except HTML5) Description: Translate user's hand-drawn glyphs into useable characters! Currently only...
  14. Z

    Weird keybord thing, bug? [FIXED]

    For some time now whenever i type theese -> ' ' or theese -> " " the second one doesnt appear until i press another key, i dont know what ive done but thats not just in game maker but anywhere so its somthing with the system. Any idea what did i do? Also im not sure if this is the right place...
  15. J

    Tabbing Issues When Pressing TAB Key

    No matter what I change in the settings under "Scripts and Code" when pressing tab in a script or an execute code action, it tabs like 32 characters or random amount, it's never consistent, and I constantly have to press backspace and tap space bar 4 times for proper indentation. if I'm already...
  16. R

    How to get the keyboard layout & display players input on screen based on the layout?

    I try to perfectionate my input system so well here it goes... O.o" The player can click on the key they can change it however there are a lot of undefined keys, so with an array I gave all keys on the keyboard name...(the names from the ascii table + some different based on my keyboard) The...
  17. R

    How to show your whole keyboard with unicode or ascii?

    I used the chr() to convert the ascii code to string.. but it looks like you can almost only see the letters and numbers the way it is meant to be the part on the keyboard around numlock doesn't show numbers but letters and all special characters are nope... (I understand that space and shift...
  18. R

    main menu programming

    Hello I've made a simple main menu like the most common kind of menu. The same one you see in games like terraria, spelunky, ect... Everything works well however I've only one problem the sensitivity is high when I push a button like a normal person would it goes down 2rows instead of 1. I...
  19. KurtBlissZ

    Super Custom Controls - Bitbucket OpenSource

    Super Custom Controls - Bitbucket OpenSource Download | BitBucket | Old Topic Let the player change the controls for keyboards and controllers. Please check out the old topic if your using Game Maker 8. Features Player can set controls for keyboards and controllers. The player's controls are...
  20. David Richard

    Legacy GM Keyboard layout key definitions for customized controls

    GM Version: ALL Target Platform: ANY Download: No download required Summary: This is how to put all your keyboard layout keys in one array and retrieve them after for customized user controls in your game. Tutorial: I wanted to give this piece of code for anyone wanting to have something fast...
Top