gamemaker 2

  1. U

    GMS 2 Check all objects

    Hey, i was wondering if the is a way to check if one variable is equals to 1,for example, in all objects of one type: if(all of object one type.variablenamehere==1){ then do something }
  2. lluuze

    Code Errors

    Hello, I’ve recently swapped out the main character’s sprites for a different sprite but there were some complications so I decided to change back to the original. Since doing so, I’ve encountered issues with the character’s movement animation not swapping like it used to and the collision of...
  3. Dwighty4000

    GMS 2 GPU Overloading Problem

    I have an adjustable function in my game, which can be used to increase or decrease the "room_speed". This is to allow players to adjust their FPS rate, which works well if you have a fast computer. But if someone now has a weak graphics card and is worth a room_speed because the graphics card...
  4. Slothagami

    SOLVED ds_grid_sort with two columns?

    I am making a leaderboard for my game (using networking, GMS:2) and I'm new to ds_grids I want to sort it so that the player with the highest killcount is at the top, and if two or more players have the same score their order is decided by health e.g: player1 has score of 2 and 6 hp player2 has...
  5. Slothagami

    SOLVED Global Multiplayer with friend's

    To put it simply: How do I connect to my friends that live a few blocks away? (I have just started to learn how to make multiplayer games) All the tutorials I've seen just say "we'll connect to local host for now" and then never come back to it. Do I need to just change the server_ip to...
  6. Dwighty4000

    GMS 2 How can I use the powerfull hardware for my GMS2 Game?

    My game has been online on Steam for a few days and there have been some negative reviews. A review rating was e.g. the problem that with a laptop, the computer does not recognize the game as a game and continues to run the game with the Intel HD Graphics GPU, which leads to strong performance...
  7. Dwighty4000

    Windows What is YYC and VM? And what did I wrong in my case?

    I have put the code in the place in the YYGML.h file as indicated. Then I pressed: "Delete Asset Chache" in "General Settings" -> "paths". Then I saved and ran the application with F5, then saved again with: "Ctrl + S" and exported. When exporting, however, the specified additional files were...
  8. Lite

    GMS 2 Virtual Keyboard Input slow and skips when typing

    When typing text using the virtual keyboard on mobile devices it's very easy to type quickly which results in text not actually being entered. Would this require me to up the room speed so that more steps happen per second or is that not the issue? For example: I tap on a textbox to activate it...
  9. Dwighty4000

    GMS 2 How to make Steam Screenshots?

    I tried to incorporate the code from the wiki page but this is wrong when you insert it! What am I doing wrong here and what do I have to do so that I can take screenshots that are then saved on Steam? /// @description Making Steam Screenshot steam_send_screenshot(filename, width, height)...
  10. Dwighty4000

    GMS 2 What is wrong with the Steam Screenshot fuction?

    When I didn't know I pinned the ID from the Steam page in Gamemaker Studio to my game to unlock achievements etc. Everything still worked independently and I was able to take screenshots in my game without programming a specific function for it in GMS2 in my code. But since I inserted the Steam...
  11. D

    GMS 2 Point to move Sprite animation

    Hey. Trying to make a click to move type of game in Game Maker 2. (GML) I've managed to program the moving itself. But need help programming the character changing sprites based on the direction it is moving in. The character has 4 directions. Left, right, Up and Down. Is here any way to make...
  12. D

    Exporting GM in GM 2?

    If you get GM2 is it possible to open and export your old projects in the new GM2 so I don't have to rebuild games from scratch? I was going to export some games in Gamemaker but now Google Play store needs a 64bit version which Gamemaker doesn't do. Thanks
  13. Dwighty4000

    GMS 2 Gamepad control - what do I wrong?

    If I try to run with the left knob, then only the up and down run works because nothing works with the gamepad on the left and right. And the directions that work are carried out endlessly after just a short movement! What's wrong here?: #region Laufeingabe var hoch = keyboard_check(vk_up) ||...
  14. Dwighty4000

    GMS 2 Gamepad control - how can i implement it?

    I watched 3 different tutorials but I still not... And I still don't know how it works with the value's correctly. In addition, I do not know how to call that no key is pressed on the controller, as it is on the keyboard: "vk_nokey". Because I have a running animation in a sprite when a key is...
  15. Dwighty4000

    GMS 2 Is it possible to import a Desktop to a UWP?

    is it possible and how hard is it totake a game folder from GMS2 Desktop and put this into GMS2 UWP? Certainly I would have to change the key assignment of keyboard inputs in controller inputs. But would it have been all then? Are the desktop projects from GMS2, compatible with the UWP projects...
  16. Dwighty4000

    GMS 2 Why do the steam commands don't work on me?

    No matter what Steam command I execute in the code. the function block is always ignored later when I run the game on steam! My Steam achievements are online on steam see screenshots: if (!steam_get_achievement("find_the_exit")) {...
  17. Dwighty4000

    GMS 2 What is this for a fps limit function?

    I am currently testing my game on a second computer. this second computer is a laptop and has a GTX 950M graphics card. I already uploaded my current game to steam as a build, which is why the Steam FPS shows me 30 fps continuously in the top left, but why? The laptop screen can run at 64 Hz...
  18. M


    Is there a way to declare abstract variables for strategy pattern use in superclass objects? I'm working on a version of pac man, and I want to have a strategy pattern for ghost AI, but I need to be able to declare an abstract variable to later be assigned a specific targeting method in the...
  19. Dwighty4000

    GMS 2 How to play video sequences in GMS2 ?

    I want to play a video in my game for a sequenz... Is this possible in GMS2 ? The video that I want to play has a resolution of 1920x1080p...
  20. Dwighty4000

    GMS 2 can I play .mp4 videos in GMS2 ?

    Can I play a video sequence in my game? something like an ".mp4" video file? The video that I want to play has a resolution of 1920x1080p...