gms 2

  1. gdkid

    GameMaker [Solved]How to make the sound feels like it comes from behind or in front of players?

    Hi guys I've been experimenting with the listener, emitter of GMS to create 3D-like sound effect, however, I'm still struggling at how to make the sound feels like it's coming from behind or in front of player. Right now when the emitter is at the left or right of listener, the sound plays at...
  2. H

    Object not moving on a path

    This may be a really simple question, but I'm having a big issue with it. I'm trying to create a path for a platform to follow using gamemaker's in-code path functions (not the path editor). Put simply, the platform just isn't moving despite the path being clearly defined (I can see it being...
  3. FHD

    GameMaker Version 2.2.5.481 Crashes!!!

    Hello, A while ago, I was curious about the new features of GMS so I uninstalled my GMS version of 2.2.5.481 and installed the new version. Now that I decided to return to my previous version mentioned above, GMS keeps closing after reaching its splash screen while loading Plugins ... DnD...
  4. W

    SOLVED 'More events and less code' or 'More code and less events' which is better

    1. There are many events. However, each event contains about 30 ~ 50 lines codes. 2. Put events into step. ( or other events ) However, there are a lot of codes in the step. which way is better ( in terms of game performance. ) - used google translator.
  5. S

    GameMaker Can't find GMS 2

    I have seen on youtube that GameMaker Studio 2 is free for download Yet I searched the official site and many other secondary links and the last update I've seen available for download in 1.4 Please let me know if you have got any solution for my problem, I'm very desperate for GMS 2 to follow...
  6. The Major Squadron

    SOLVED Reloading box positions in room

    Hello, I have a platformer where I wanna be able to press a button (for example R) and have the current room reset to its original state. I have followed Shaun Spaldings tutorial and have his exact code already, I just need some help with loading box positions. The issue is that my rooms are...
  7. P

    GameMaker Rope and Collision

    Hello. Please help me recreate the mechanics for my game, I don't understand how to write collisions with objects correctly. Example of how it should work:
  8. S

    GameMaker how to put gms2 in window execution mode?

    in short my gms2 runs the game in the browser and i am used to windowed mode. how can i change it? someone who knows how to put the classic mode?
  9. D

    GML mouse_check_button not working?

    i'm making an object that reacts when it is clicked following code: if position_meeting(mouse_x,mouse_y,id){ // this works if mouse_check_button(mb_left){ // this doesn't // reaction on click goes here, but it's not relevant (at least i think) } } on click, it's meant to change...
  10. 01Warlock10

    SOLVED Collision For Right And Down Movements 1 Pixel Off.

    Hey so I'm using a tile based collision system, but for some reason collisions for right and down collisions are one pixel off, stopping one pixel before the solid tiles, but it works just fine for the left and up collisions, always stopping when it collides with the walls, does anyone know...
  11. A

    Android My game does not compile with new Google Admob version

    First of all, I have updated my Google Admob Extension and replaced the default values like my Application_ID for Google Ads, and Tried to Export with: SDK - 31 Min SDK - 31 JDK - 16 (because 17 and 18 don't work) NDK - 23 That always worked for me, my first build got success, but I checked...
  12. M

    code line counter

    Hi guys I know that there are already code line counters out there... but i d'like to write one with my own with my own rules: so that lines with only a "{" or a "}" or just comment lines doesnt count. my problem is i don't understand exactly the sandbox system... althought i've read the...
  13. UEG_Productions

    SOLVED Surface errors?

    I am using a blood engine that uses a surface. When the window is resized, the game crashes whenever blood appears. The blood surface variable is defined by a game object which is present in every room. Is there a fix for this? Any help is greatly appreciated!
  14. D

    (SOLVED) Image_Index not doing what it should be doing.

    I know that this is very basic and it did used to work before on another project (gms 2 as well) but it nots working anymore and I don't really know why. Heres some code to help you better understand my problem: if (sprite_index = sp_enemy_1_slash_attack_down) && (image_index == 19) {...
  15. MrWolfyer

    Poor audio quality?

    Hi there! Firstly I'd like to say that GMS has been a blast to use and is a dream to someone who used to code games in frameworks such as XNA or Love2D. With that being said, I've encountered a weird issue: The audio quality seems to be genuinely lower than the original file, even with all the...
  16. FoxyOfJungle

    Could anyone give me some insights on how to get the position of a text?

    Hello! I'm making a text editor in GML (for Utiki), and I need to color the text. I'm wanting to do this via shader (as it's much lighter than using many draw_text and draw_set_color. Scribble would not be an option too): I want to color the text using the fragment's position, which is based...
  17. Geners

    SOLVED Rotating objects around a center point

    So I am creating a card game and I want the cards to be in an arc-like a real hand would be, and I got it working, but it didn't act like I expected and I want to figure out why. I made a testing project to demonstrate my issue. Note: All of the objects here have an origin in the center...
  18. M

    asset_get_index Bug?

    Hi guys! somehow the command "asset_get_index" doesn't always work correctly... i don't know why. It sometimes returns -1 although the sprite exists in the asset-browser: can you help me? kind regards mX273
  19. Vintendi

    GMS2 MSCVCR110.dll was not found

    I just got a new pc with windows 11. I'm unable to run any game with shaders because I receive the error "The code execution cannot proceed because MSVCR110.dll was not found. Reinstalling the program may fix this issue". I tried reinstalling but it did not fix the issue. Most comments suggest...
  20. Zero People Games

    A fast-paced but turn-based game?

    How do I make a fast-paced but turn-based game in game maker studio 2? Similar to the Final Fantasy 7 Remake tactical mode, and this https://ldjam.com/events/ludum-dare/41/nightclub-showdown Does anyone know how to do this???
Top