• 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!

touch controls

  1. N

    Touch Screen Multi touch help

    Hi all Im sure the answer is something quite obvious but im having a little trouble with multi touch. i have GUI set of controls at wither edge of my game screen resembling a gamepad (Joystick on the left and buttons on the right) I know that you need to use "Device" mouse input for multiple...
  2. Pfap

    HTML5 Mobile safari copy lookup translate disable.

    Is there a way to disable the copy, lookup, and translate bar that appears with tapping on mobile safari? I'm wondering if there's a solution that can be implemented from within GameMaker? It looks like there is this CSS that can be used: -webkit-user-select: none; So, I'll probably just put...
  3. biggins

    Register Mouse Click / Position Events outside Canvas in HTML5

    I have an HTML5 game that only has left and right controls which translate to a tap on the left and tap on the right in mobile browsers. This all works great but requires the user to tap within the game canvas. Seeing as the game isn't full screen by design is there a way to have the tap events...
  4. S

    Android how i can set touch pad in project ?

    hi . i want set touch pad for my project but i dont know how i should to do...i want make game for android devices please help me . thanks ! please if u can help me with video or images im not good in english text version game maker studio 2
  5. TheOnlyWRT

    Multi Touch on iOS

    Hey, so ive got a few more questions about iOS programming; How do i read multiple touches? ive read up about device_mouse_check and i have drawn the variables to see that it does in fact read multiple touches. in my project i have a vstick on the left of the screen, and three buttons on the...
  6. TheOnlyWRT

    Reading the Values of a Virtual Joystick

    Hey guys!! So I am working on an iOS app and am trying to program in a virtual joystick. I watched one tutorial video to make a joystick object, but it seems that the code is not quite working. When i drag around the inner circle, the value does not change (i drew it to make sure). Here is the...
  7. TheOnlyWRT

    iOS Reading touches on iOS

    So i just got game maker studio 2 working on my iphone and now i am trying to add in touch screen input. I read a little about virtual keys in the manual, and this is the code i have used: keyShoot = virtual_key_add((window_get_width()-160), (window_get_fullscreen()-160), 160, 160, vk_space)...
  8. G

    Legacy GM Doubts about TouchScreen, positions and respawn

    How are you guys. Firstly, thank you in advance, those who will make available some of your time and knowledge to help me. I'm new to all GameMaker technology. Bad I know the basics of programming for the games, but I'm trying to learn. For this reason, I need your help. I would like you to...
  9. yvodlyn

    Android [Solved] Touch control

    Hello everyone again, I'm sorry for my questions. I created touch control with mouse input in game maker. when a test the game on my android phone, and when my first finger touch the screen, I can control the player one and when I touch the screen with the second finger, I can control the other...
  10. L

    Windows Touchscreen won't register single touch pressed, only double tap and release

    Hello, I am trying to get my program to detect on a windows touchscreen PC single touch mouse_check_button_pressed(mb_left) or device_mouse_check_button_pressed(0, mb_left) but it will only detect double taps. device_mouse_dbclick_enable() is disabled. Checking for release works, but I need it...
  11. M

    Touching the object to make another one move

    Hi! I have an object that must be clicked with a touch so that the main object of the game can move, however I am having trouble doing this. Does anyone know the solution?
  12. A

    Android [SOLVED] Touchscreen: Two players touching same screen simultaneously?

    Hello! For an Android game, I'm looking for a solution in which two players can simultaneously touch and drag objects on the same screen with one device. I did some research and I saw that many "simultaneous" two-player one-device games really work with alternating touch. I want two players to...
  13. A

    Android [SOLVED] Touchscreen: Grabbing/Moving/Letting-Go Objects On-Screen by Touch

    Hello! I'm making a game for Android. I want the player to be able to touch and drag objects around the screen without having to simulate a mouse click by tapping the screen. Is there a function for detecting whether or not the player is touching the screen? If not, is there I way I can allow...
  14. L

    Android Drag rotate sprite

    (This is for a top down shooter with touch controls) How could i program my player to rotate as the player drags on the screen? for example if i drag from point A to point B (and its a 220 degree line) how to get the player to rotate itself toward the direction of my drag line? I presume it...
Top