1. T

    GMS 2.3+ Question about Nine Slice and draw calls.

    So, the most recent beta release of Game Maker Studio 2 has a new feature called Nine Slice which allows you to essentially scale a "window" to any size using 9 sprites: 4 ordinal sprites, 4 cardinal sprites, and a middle sprite. Previously, you could accomplish this by writing a nested for loop...
  2. SgtMoose151996

    GMS 2 In-game survey?

    Background: Currently, I am developing a 2D pixel art bullet-hell boss rush inspired by R-Type, Bloodborne, and StarFox 64 (link to demo here) I have done localized focus group testing and am planning a strategy for broader market research. One consideration I have is a short in-game survey...
  3. Slyddar

    Menus with Submenus #3 - Mouse Support

    GM Version: Studio 2.3+ Target Platform: Windows Download: n/a Links: video below Summary: Following on from my previous 2 menu tutorials, here's a new tutorial showing how to use structs and constructors to add mouse support to your menu/submenu. It allows you to easily navigate, and change...
  4. R

    Multiple classes

    Hello all, despite learning so much I am still no doubt a noob. SO I have a shop in my game that lets players buy upgrades, When buying, Is texture swapping is the best choice for my game? The problem is this creates a lot of synarios. For eg, if I have helmet, chest guard and shield I must...
  5. Hobbie Retardo

    GML How i make the character throw itself in the direction of the mouse cursor?

    I'm a beginner and the objective is make the character do a "DASH" in the direction of the mouse cursor and just stop when hit a wall for example, but i don't figured out how to make this, anyone could help me? Thanks in advance.
  6. Lord KJWilliams

    Development Can GML be called a portable language in the same definition like ANSI / ISO C or C++ ?

    The some of the students at my college, want to know if GML, can be called a portable language like the way the programming languages C or C++ are defined in their respective ISO standards ? Late Edit : GMS allows you to port code from one platform type ( Windows ) to another platform type (...
  7. bayleyrockstar

    SOLVED Failed updating of sprite movement and animation.

    So the game is supposed to be a point and click adventure. the sprite is a hunchedback man with a limp. The current code should be noting down where on the map you click, check if it's 5 pixels away, if it is, and you're not viewing a text box, then you move to where you clicked. and this...
  8. Scienitive

    GMS 2.3+ Step Back in Debugger?

    Is there a way to step backwards in debugger mode to see what cause my bug exactly?
  9. Jemios

    GML I need help for a rope Swing game

    Hi everyone, I've started using GM2 less than a month ago and I definitely have bitten more than i can chew. Bit desperate here, I am running out of time and I have a prototype for a game I needed to make for trying out for a school. I need my player to rope swing but in a side-scrolling...
  10. JJampion

    GML Background transition

    Hi GMC im a very beginner so i have no idea how to make a transition i want to make a splashscreen max 10 sec long with 2 sprites the first from black to white/transparent and the 2nd from transparent to white both 5 sec long here is a example ▓▒░▒▓ i have just a create event alarm[0]...
  11. Scienitive

    GML Need help with physics

    Hello I recently learned about GameMaker's physics and added that into my game but I have a problem and I have no idea how to solve it. My game is a platformer game. In my game there are some movable (dynamic) objects. Player can push these blocks. When they push more than one block at a time...
  12. KyleRansford

    UWP Buffer Question Related to Saving And Loading When Targeting Xbox

    Hello, if anyone has done saving and loading with the UWP Xbox One target, can you help out with whether or not this particular save system would pass the requirements of saving with buffers as this document shows: UWP: Saving And Loading When Targeting Xbox Since the code is pretty long I...
  13. R

    Click to move

    I wanted to make a click system to move to my player. I tried to use mp_pontential_step();, it worked but he doesn't find the shortest path, besides swapping sprites with 8 directions. Another thing ... I wanted my enemies to follow a path, and when they get close to the Player, start...
  14. R

    Windows The code written on the instance in the room is locked as DnD and cannot be saved

    This BUG only appears in the code on the instance of some rooms, not in the Scripts in the resource tree. The GML I wrote a long time ago has become DnD, and right-clicking to convert to GML has NO EFFECT. "Use DnD as default" in the main options has been kept closed, and has nothing to do...
  15. FoxyOfJungle

    GML Search Items In An Array (for inventory)

    GM Version: GMS 2+ Target Platform: ALL Download: N/A Links: N/A Language: GML Summary: Search for items in an array. I write a string, and it will find all items matching the search. Tutorial: Do you want to make an inventory or a list of some store/shop or a highscore list and want to...
  16. Carbiner

    Question - IDE Debugger Missing Events?

    Hey everyone, So, while trying to figure out why a piece of code wasn't working (my missiles went boom, but they didn't hurt anyone), I put down some breakpoints in order to step through what was going wrong and found that the debugger would stop when the event was triggered, but no code would...
  17. S

    SOLVED (HELP) My asteroids in Space Rocks are glitching

    I made Space Rocks in GML and added a Collision event with other asteroids that makes both of the objects change direction: direction += 180; But when I hit them with my bullets they are glitching. I tried to add the variable collisionInvulnerability = 0; to the asteroid's create event and in...
  18. Evan Kinsler

    GMS 2.3+ How do you import an image as a background for a room?

    The title pretty much speaks for itself.
  19. yvodlyn

    SOLVED [HELP]Perfect collision problem

    Hi everyone, Can someone help me with this issue? I want to create a perfect collision for a bouncing player. However the collision do not reach the floor before bouncing. The player bounce 14px before it reach the floor. Create Event object player vspd = 0; //vertical speed vspd_jump = -14...
  20. D

    (Solved) How to move X and Y position of sprite in Game Maker Studio 2?

    In the tutorial it told me to add the sprite to the object and then add an event called step. The GML code i used in the step event is x = x + 4; to move to the right but when i run the game it does not move at all. I'm not sure what you mean by drag and instance but i created an object and...