gms 2

  1. Rare Truffle

    GMS 2 Multiple Object collision possible?

    Hey yo! I've searched through the forum but couldnt quite find a fitting solution for my problem. I hope one of yall can help me: I am making a simple 2D Platformer on GMS 2. I wrote a code, so if the player gets near "Obj_Block_1" the Player collides with the Object. In other terms it becomes...
  2. D

    draw_rectangle function behaving incorrectly on scaled GUI layer

    Hi all, I'm having an issue drawing a rectangle with the Draw GUI event in GMS2. The game has a room size of 320x180, and I'm running a 1920x1080 window. Everything seems to work as expected except for the draw_rectangle function, which seems to add 1 game-scale pixel to the coordinates I give...
  3. B

    Left Mouse Released Event Unresponsive

    I was copying a tutorial on how to make a simple system of dragging individual cards onto a deck of cards. I've copied the code exactly and know it's right. It seems that the left mouse pressed and released events are just unresponsive. Most the time I click on a card and it stays following the...
  4. ZeeStudio

    Camera Zooming And Draw Event

    Hi, I have a camera object that zoom in and out. When zooming I want no change in the size of some text and sprites I mean they remain in fixed size. How I do it ? Thanks
  5. E.M.I

    3D [RESOLVED] Adding centers of gravity to 3D GMS2

    Hey there! After working on 2D projects for about a year I've decided to try out 3D in GMS2. For now I'm focusing on player movement and the visual style, but I know the game is going to involve jumping between small planetoids with their own centers of gravity, and I have no idea how that would...
  6. 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...
  7. 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)...
  8. 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...
  9. A

    GMS 2 Only One Item Is Drawing In My Inventory.

    I'm sorry that I have to make another thread so soon. This probably wouldn't have happened if I remembered to make a backup as I usually do before adding something else and I made too much progress to go back to a previous version. So, still following the same tutorial from last time (though I...
  10. Kiwi

    3D Rotate sprite from centre, not from side (GMS2) [SOLVED]

    I'm playing around with 3d at the minute which is quite fun, I've learned how to use vertex buffers and formats to create walls, floors, etc. I'd like my npc's to always face the player, but they seem to be rotating from the side rather from the middle for some reason. I've made this npc spin...
  11. A

    [Solved] My inventory stopped drawing and I'm unsure why.

    I've been trying to get help for this for a while now. So there's that. I've been following this tutorial (but with some things removed to fit what I wanted). I finished the second part and decided to mess around a bit by changing the inv_slots = 15; to "inv_slots = 10" but then it broke; the...
  12. ai_ash

    Problems with for loop in DRAW-event

    Problems with for loop in DRAW-event Greetings, I’m new to coding and wrote my first line of code only a month ago. Been following tutorials on Skillshare & YouTube and currently taking baby steps still. So, I want to draw a grid (tower defence game) in my room and for some reason just can’t...
  13. sinigrimi

    GMS 2 [solved]removal from instance_create script if the object was destroyed

    Hello! When I enter the room, it reproduces the blocks, but when I move to the next and return to the first, nothing is reproduced in it :( p.s .: rooms are not from GM but are generated in the same GM Room after moving outside the camera. I would also like to know if I can mark these objects...
  14. 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) ||...
  15. sinigrimi

    still have questions about ds_list(I'm sorry that there are a lot of questions, I'm really a noob)

    but I have very, very many lines with creating objects. how can I effectively add them to ds_list. or maybe there are other options? I have a script in which there is the following: in the controller the following: in the scripts are switch systems in which everything is indicated in a...
  16. sinigrimi

    GMS 2 [solved]One more question

    This is a create event and when I run the compiler it says that room_type is not set. also if I directly insert a digit into the argument field, the code works. var room_type =5;//irandom(559); case"fixed": // if (up == true) and (bottom == false) and (left ==false) and...
  17. sinigrimi

    GMS 2 Is there a way to shorten the code?

    Hello! I have 560 ready rooms for the test rooms for the player (this is only at the first level, LOL), but to enter them as the example below seems to be hell. Is there a way to speed it up or will you have to spend a lot of time? I also have a fork between the scripts, it will not affect the...
  18. M

    Android / Amazon Fire Help Please GMS2-Mobile

    I'm a beginner. from Russia. It’s hard to explain in English, but I’ll try. The problem is in building an Android game. Installed according to the instructions on the official website of yoyo. I checked all versions in the settings. 1) (1 photo) It seems to me that the problem is in the old...
  19. foreverisbetter

    3D Trying to create an 80s neon grid landscape

    Hello, ok, so I don't know how to explain the problem I have right now so instead, I try to show it. I try to create a 3D geometry like the landscape pictured below for some background visuals. But my current model looks something like this The left model is a trianglelist with a texture...
  20. sinigrimi

    GMS 2 The script does not always work [SOLVED]

    Sorry to bother you again, but GML torments me. This time, the script does not always work for me, which should always work if I understand the mechanics correctly. I specifically shot a video (it is below), code is bellow too. Short description, when I go into the room, "Room" = false" is...
Top