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

game maker 2

  1. M

    Extension fails when calling specific function

    I have a DLL that works fine until I call this function void ca_cutscene_destroy() { struct struct_script_persistent_index * current_pointer = NULL; struct struct_script_persistent_index * temp_pointer = NULL; if(main_struct) { current_pointer = main_struct->head...
  2. M

    Mac OSX GamePad Input for shoulder triggers not working

    Hi, I've been building a game over the last 6 months, testing on MacOS Sierra. My game is setup to receive both keyboard and gamepad input (if a gamepad is connected). My scripts have been working perfectly up until this evening. After updating GM2 today it no longer recognizes all of the...
  3. A

    Question - IDE Can't open my game project

    I was working on my project today and I got a message saying "unable to save do to a error" I had just saved a few minutes before so I wasn't too worried. so I quit thinking I just need to restart GM2 but not I can't open my project at all :( every time I try I get this message "Project...
  4. D

    Android Resolution Problem

    Hi. I'm developing a simple android application using GameMaker Studio 2. My problem right now is that the application couldn't run without a black border at the edge no matter what resolution I run the app. It looks like the image attached. If you noticed, some parts of the keyboard have been...
  5. A

    Need help with level overworld selector

    I am imagining some type of level selector such as the over world of super mario world. I am new to game maker but am an experienced programmer. Is the best way to do this to use paths? If so how can a path be programmed to work with input. Press left... go to next index sort of deal. If...
  6. L

    Tower Defense End of Path Problem

    I'm making a tower defense game. But I have a problem. When my enemy get to the end of the path I want to know how to switch the room to a death or title screen. I tried doing if(o_enemy end_path(room_goto_previous)) but it gave me errors. If someone could reply to this with the code for game...
  7. C

    Windows AssetCompiler crash on Compile

    After spending a while away from Game Maker, I got back, uninstalled whatever version of GM2 I had and installed the newest version (IDE v2.1.2.257 Runtime v2.1.2.172) on Windows 7. When I try to testplay or compile any game, even in clean mode, I get this error message: The output gives me...
  8. G

    Battle to the End

    # Battle to the End – Description # Battle to the End is a retro arcade style 2D top-down shooter game set on a digital world with awesome game play. Try your best to survive an onslaught of alien scum and fighting your way out of the digital world. You and your friend take the role as Ben and...
  9. L

    Question - IDE GMS2 Quick freeze when creating a new surface

    Hey folks! I recently imported a project into Game Maker Studio 2, everything was working pretty well, except that the game faces a quick freeze every time I create a new surface (which does not happen in Game Maker Studio 1.4/EA). Does anyone know how to solve this issue?
  10. Erayd

    Design When/where/how to draw your game?

    I want to start a discussion about drawing in game. I want to hear everyone's opinions on this. Where do you draw all of your objects? Do you use surfaces for everything? If you use surfaces, what would you say are the reasons why surfaces are better than simply using each draw event? Do...
  11. L

    GameMaker [SOLVED] Moving an object in front and to the side of another object, with tank-like controls.

    Sorry ahead of time, I still feel rather newbish to all this. I am trying to make a few objects that move ahead as the obj_playerLocation moves about. The controls are tank-like, as if playing a first person dungeon crawler or such. Using Game Maker 2, this is the code that moves my...
  12. S

    Windows Game Maker 2 won't let me scroll

    That's pretty much it. It won't let me scroll. I can scroll in my browser, explorer, anywhere except in game maker studio 2. I tried running as administrator, updating graphics, processor, disabling high DPHDHPI(or whatever) scaling, running on windows 7 compatibility mode and nothing works. I...
  13. Sawyer

    Path stop after his first movement

    Hello everyone, I have one problem with my paths, this is my code : if distance_to_object (o_player) <=100 { path_start(P_up_when_near, 12, path_action_stop, false); } Actually when i'm near to this object it moves and stop following the path. However if i move a second time near of this...
  14. S

    GameMaker Collision with one object precise and one not-precise

    Hi, I use IDE V2.1.0.212 and run time 2.1.0.136. In GMS2 manual, we can find the following sentence with the picture for place_meeting : "This will work for precise collisions, but only if both the instance and the object being checked for have precise collision masks selected otherwise only...
  15. G

    Windows game maker 2 crashing after logon

    it does exactly what is said , i log in and it crashes , even after some time it crashes , so i don't know what to do , my windows version is 7 but this problem continued when it was windows 10 back then , i don't know what to do ...-
  16. S

    GML How do I make an object move randomly?

    Hello, I'm fairly new to this whole game development thing, have mainly done pixel art in the past but no programming. So even the simplest things are difficult to comprehend for me, though I am more than willing to learn. What I'm wanting to do is make an enemy move in a random direction, for...
  17. S

    Discussion About upgrading

    Hi. I have a Gamemaker 1x professional license from humble bundle. I have added all the modules, html, ios/android, UWP through the yoyo games webpage. Now, when upgrading on yoyos homepage, it says i can either upgrade to professional for 59 dollars, or master collection from 49 dollars. I...
  18. M

    Question - IDE Game Maker Studio 2 Crashes on startup

    Hello I've just installed GMS2 (GameMakerStudio-Installer-2.0.6.146), but it doesn't work. It crashes every time on startup. Can you help me please ? Here is my UI.log [20:28:26:353(3dc2)] ************************************** 05/18/2017 **************************************...
  19. sercan

    Android sprite_create_from_surface problem

    var surf; surf = application_surface; surface_set_target(surf); spr_test = sprite_create_from_surface(surf,0,0,480,800,false,false,0,0); sprite_save(spr_test,0,path); surface_reset_target(); this is the code i use to get a sprite from a created surface. In created sprite, the color pixels which...
  20. W

    GML Visual Help with health bar and lives

    Hello all! I am very new to coding and by new I mean this is my first go at it. It's a hobby I have always wanted to peruse so I do apologize for my lack of knowledge but hey, we all have to start somewhere right? I am using Game Maker Studio 2 Drag and Drop. I completed the "My First Game"...
Top