1. Daniel Mallett

    GMS 2.3+ Rename built in constants / macros

    This is a bit of a long shot. Is there a text file somewhere that stores the built-in constants without re-assigning them manually to constants with different names? Actually rename them. You can add code snippets by editing a text file. Hopefully, this can be done.
  2. Bart

    Asset - Scripts Get Shader Constants

    Get Shader Constants This free asset package allows you to get the values of the shader constants as defined by the OpenGL ES spec. It also shows how to get values from the fragment shader using surfaces. The included script shu_get_shader_constants returns a ds_map with all the values...
  3. Daniel Mallett

    GMS 2 Constants

    I have a level editor I have created. It loads tiles (Not important right now) and it loads objects like bushes, platforms, switches etc. The locations and other information about these objects are saved to an ini which is then in turn loaded into a separate GMS2 project (The actual game). Now...
  4. X

    GMS 2 enemy code isn't a constant?

    i'm trying to make enemy code (i'm using Shawn spalding's tutorial for melee attacks) but when i try to star the game it says the enemy state should be constant. but i can't make it constant because i'm confused. switch (state) { case ENEMYSTATE.FREE: EnemyState_Free(); break; case...
  5. P

    Legacy GM ds_exists argument 1 incorrect type (undefined) expecting a Number (YYGI32)

    I'm getting a strange error when using "ds_exists(ind,type)". Here's the snippet of code: Here's the error message I'm getting, in full: The "type" argument is typed in exactly as the documentation...
  6. Erayd

    Windows What is the constant ev_other?

    When using the 'other' variable, I noticed in the context menu for matching words, there was an option: 'ev_other'. What is that? I searched it in the documentation and got no results. I googled it and got nothing. Any thoughts?