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

compiler

  1. VoxPrincipalis

    GameMaker Compiler Optimization

    Question about the compiler. If I were to write this chunk of code: var power = 16; var hp = power / 2; I know it can be more optimized with multiplication. var power = 16; var hp = power * 0.5; Which can be optimized even further with a bit shift. var power = 16; var hp = power >> 1; If I...
  2. Yizzard

    GameMaker Gamemaker not compiling and I can't figure out why

    So I was working on my project a few days ago with no problems at all. I booted it up today and modified some small stuff for like 20 minutes then hit debug. It wouldn't load and was saying it couldn't connect to the debugger, so I hit run to see if that would work. It also didn't work and gave...
  3. S

    error behaviour randomly appears then disappears

    I'm compiling in YYC (IDE: 2.2.5), the game runs fine for a while, then it gives me this error after some edits: ds_list_add argument 1 incorrect type (unknown) expecting a Number (YYGI32) the error was thrown by the ds_list_add in this script: var _new = array_create(3); _new[0]=argument0...
  4. Mystery

    GameMaker Studio 2 Compiler: System.InvalidCastException

    Idk why im getting this issue looks like my version of the issue is unfixiable i really need help! (no compile error whatshowever) "cmd" /c subst Z: "C:\Users\[REDACTED]\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" elapsed time 00:00:00.2912197s for command "cmd" /c subst Z...
  5. Akhos

    Maintaining Consistency Between Platforms

    I've been working on a fighting game project, and one thing I'd like to do in the far future is allow for cross-play between platforms, like SFV does. Aiming for Windows (Steam) first, but would also like to go on Switch and PS4 at some point. Obviously one of the key parts to letting that...
  6. kammer_black

    Android Can't compile for Android - GMLFuncs: error: undefined reference

    Hello everyone. I am not able to compile my game for android. Strange because I managed to compile on the 4th of this month. I put the GMS log below: So ... what could be happening? I can't find a solution.
  7. T

    Windows Live Shader Editor

    Greetings Fellow Devs, Today, I present a tool that will greatly improve the shader development workflow - a tool that was painstakingly put together through trial and error / constant testing with hypotheses because GMS2 is closed-source. Live Shader Editor is a C++ extension that allows you...
  8. Dilawlaw

    Discussion GMS 2 Android YYC compiler take hours

    Hi everyone, I just wanted to know if its normal that gamemaker studio 2 take hours ( between 1:50 to 2:10 exactly) to compile my android game in aab format (Android App Bundle), knowing that the apk takes hardly few mints I have an i7 4th gen, GMS installed on SSD and got an AMD RX560 GPU...
  9. D

    GML ds_map Accessor in Multidimensional Array

    Hello everybody, As the title says, I have an array containing a bunch of maps and an extra: for (var i = 0; i < 5; i++) { for (var j = 0; j < 5; j++) { playerInventory[i, j] = ds_map_create(); } } mouseInventory = ds_map_create(); I'm trying to check whether the key "id"...
  10. S

    Discussion Disable caching of Windows builds (GMS2TEMP)?

    Hello, I have found that whenever you compile your game in GMS2 for Windows platform, it will compress your game into GameMaker engine-friendly format, .win file, which could then be launched with "Runner" program to run the game. Each time you compile for Windows platform, a new subfolder is...
  11. P

    Windows Asset compiler not finishing, can't run game

    I exported my game over to my laptop to work on it on the go, and while it works fine on my desktop, the laptop won't run the game. It starts compiling normally, and then stops after it reaches this message: [Compile] Run asset compiler It freezes after that, and never finishes compiling -...
  12. X

    Legacy GM Compiler slotting and display is laggy and broken

    Am I the only one to notice this? It seems when you move the compiler, blue arrows appear where it will be moved to, but flicker when you move your mouse while holding it down, and seems to lag behind the display of where it will be placed. Moreover, if you hold out the compiler from its...
  13. X

    GML Is it possible to handle physics without actually displaying them?

    In a previous version of my game, I made physics be handled by the server. Someone has mentioned that is a bad idea, someone else said that's exactly what I need to do. The latter made more sense security wise to prevent every client from just applying their own physics in the mix and breaking...
  14. H

    compiler error. "parameter not valid" + BSOD

    Hi everyone. I encountered a weird sudden issue with my project where upon running it, the compile fails giving me an error saying "parameter not valid." I tried googling this and only found one thread where someone suggested reinstalling game maker. I did that and I still had the issue. Even...
  15. Binsk

     [Source] [Multithreaded] Assembly-like Code Compiler / Runner

    Alright, so I'm not really sure where to put this since we don't have an "Open Source" section anymore. If you don't like reading, here is your download. Optionally, the source for the external runner. What Is This: This is my take on having dynamically added code to my projects post-compile...
  16. B

    Android Execution failed for task ':com.bemtee.doodlerunner:compileDebugJavaWithJavac'.

    So I'm having an issue building for Android. I'm using GMS2 for macOS. My buddy and I are using Github as our VCS. He built / compiled / uploaded to the play store and others have downloaded the game and it works perfectly fine. He pushed those same project files to Github and I did a pull. I...
  17. Sabnock

    Windows RESOLVED - YYC Compiler issue

    I am receiving the following error in the output window of GMS2 when trying to run my game with the YYC compiler. C:\WINDOWS\system32\cmd.exe DONE (0) DoSteam Igor complete. [Run] Run game Options: C:\Users\andyw\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\MAN...
  18. S

    Legacy GM Problem with compilation on window 10

    I have this unusual bug: the game runs fine inside the IDE context (on both Windows 10 and 7). After compiling on Windows 10 a single runtime executable, I have this strange problem: the game crashes without errors after almost 10 seconds, but for any reason (the script I coded is clear and have...
  19. P

    Question - IDE Can't Run or Clean

    Hi, I'm having some problems with GMS 2, this error started happening today, I haven't made any changes to my project, this just started happening from nowhere. I can't run my project or clean the compiler cache, it gives me this error: Any clues? ps: I'm running the latest Runtime/IDE...
  20. J

    Question - IDE [Resolved] YoYoCompiler not working for me

    Edit: I needed to clear the project cache, it's fixed now. I get a black screen, then a white screen, then a single frame of the first level in the game but with a few sprites from the tutorial (that should never actually appear in that level), then it shuts down with the "program is not...
Top