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

gms 2

  1. sinigrimi

    GameMaker [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...
  2. sinigrimi

    GameMaker 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...
  3. M

    Android 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...
  4. 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...
  5. sinigrimi

    GameMaker 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...
  6. D

    GameMaker 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")) {...
  7. sinigrimi

    GameMaker [SOLVED]Summon monsters in random but different places in rooms

    I am generating random room with monsters and I need them to not spawn on each other. It works but looks terribly big, can it be simplified? That's what I'm doing: Script-Code: randomize(); var x1 = 160 + random(room_width - 320); var y1 = 160 + random(room_height -...
  8. sinigrimi

    GameMaker Сhoose doesn't work randomly [SOLVED]

    I use function "choose()" and "randomize()" but they don't work. I’m constantly creating the event "Random_room2" The following is written in my script: Script-Code: randomize(); var Lvl1 = choose("Bee_room", "Rat_room", "Spider_room","Random_room1","Random_room2","Random_room3")...
  9. D

    GameMaker 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...
  10. Fleoh

    GameMaker [SOLVED] Follow an object with his ID.

    Hello guys ! I'm trying to make an object follow an other object thanks to the ids. In fact, the first instance needs to follow the player, the second instance need to follow the first instance, the third the second [...] So i've tried this code : In create event of the object which needs to...
  11. A

    GameMaker Deactivated instances and with statements

    Hi, I tried to find an answer to this but couldn't find it. Does with statement work with deactivated instances. Let's say an enemy has a variable hp and all the enemy instances get deactivated when they go off-screen, can I still find their hp with a with statement? If not, is there a way to do...
  12. D

    GML Buffer Encryption / Decryption

    Hello GMC, Looking at the documentation for GM:S 2 I can find functions to calculate checksums of buffers or even compress them. But there doesn't seem to be any native support for buffer encryption and decryption. Looking at the Marketplace there seems to be a few extensions for encryption but...
  13. D

    GameMaker 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...
  14. D

    GameMaker Why do the "x" and "y" jump back?

    Why do the "x" and "y" jump back if the player ends to walk I have a player object and I have a flashlight object. When the player is walking, the coordinates are taken over by the player and expanded to their "x + 100" and "y + 20". But if the player is not walking, then it takes over the same...
  15. D

    GameMaker Why do the screen freeze in room-18?

    I have a game where there are 21 rooms. Everything runs as usual, the player is not persistent and is placed in each additional room. However, for strange reasons, I can no longer move in the game as soon as I cross the door of Raum18 and I do not get an error message. No matter whether in debug...
  16. D

    GameMaker How to find out the hz-rate and the resultion

    With which command command, you can find out how high the heart rate of the screen of the person using it is e.g. this will be used for a Vsync function. and another question: How can I find out the current screen resolution of the person using my game to be able to use these results in a variable.
  17. T

    [Solved]How to get the instance's ID when 2 obj overlapping?

    It's my first try to use game maker studio2, and don't know how to get the Id when 2 obj overlapping. I'm trying to let the other obj disappear when the character touch it. if I got the id , then I could use instance_destroy() to make it. Anyone help?
  18. Yizzard

    Question - IDE Collision Debugging not showing up

    I don't know why, but for a few months now when I put a breakpoint in a collision event the game will pause when it hits it, but the debugger won't actually show me the collision event code as I walk through it. It will change the variables as I click step into, but I can't actually see the code...
  19. D

    GameMaker debugging - how to find a instance

    How can I find this "global.sprache" in the watches window? because I cannot find them under "instances" and I have to have an overview of their changing value during the debugging process! But where is the "global.sprache" in the watches window and by the way! How can I enter by myself a own...
  20. F

    Shaders Using samplerCube in GMS2

    Heya SamplerCubes are a GLSL feature that allows you to group 6 2D textures together to form a cube (1 texture for each face). You can then use GLSL's textureCube function with a directional vector to grab a color from inside the cube. Usually in order to use the textureCube function, the user...
Top