1. Z

    GML Body part postion tracking

    So I'm just getting back into gml with a cool game idea (although I never got too deep into gml at all) and I'm wondering how I might be able to make a left and a right hand object stay in the correct position and orientation in front of the body object hopefully with a bit of room for the hands...
  2. RekNepZ

    Introduce Yourself

    Introduce yourself to the rest of the community! If you're not sure what to say, here's a guide (use as much of it as you choose) Username: Old GMC Username: Other usernames from past and present: Name: Age: Where you're from: How long you've been using Game Maker: Any cool games you've made...
  3. G

    GMS 2 Animation Change

    Hello Everyone! I'm new to Gamemaker and I had a quick question about changing your character animation. I currently have an idle animation set to my player object but I'm stuck on how to make him switch to my running animation when he begins to move. I'm using GameMaker Studio 2. Any help is...
  4. M

    Drag And Drop DnD attach instance to another for the whole game? GMS2

    I'm trying to make turrets on a spaceship, and for the life of me I can't figure out how to attach the turret instance to the ship in the Drag and Drop interface. The turrets would need to follow the movement and rotation (and their own offsets) of the ship sprite. Any help would be appreciated! :)
  5. L

    Free ColourSplash: Platform-Puzzler

    Hi there! I'm a 15 year old who taught himself a little coding. I apologies for my bad english, I'm from switzerland and trying my best to let you understand what I'm talking about. So I created my first ever game with Game Maker Studio 1.4. It is a Platform-Puzzler with a intresting mechanic...
  6. C

    GMS 2 Why start at 0?

    Not sure if this is the right forum for this, but... I haven't had an issue with the whole starting at integer '0' until creating sprite resources within GMS2. I'll show my hiccup here: I can totally work around this, but I'm wondering why is this a thing? what purpose does it serve? And on...
  7. M

    Making first game

    Guys I am looking for some ideas for a game to make. What would you suggest to a newbie to start out making? I am looking to make a simple platform game Any where I can get free art work and sound effects for my game?
  8. F

    GMS 2 Stopping only if feet are touching the ground.

    Am still very new to Game Maker Studios, and have minimal experience with programming altogther, but thought i would give it a try. I'm Currently trying to make a game similar to Mario (something i know that can show me a lot of the basics), but have come across a problem with my collisions on...
  9. B

    GMS 2 Need help with "heart containers" in a zigzag pattern.

    I want to have a sort of heart container system where there is an initial sprite that is worth more than 1 health, but any that are added to it are only worth one. Thanks to a couple different tutorials I have a working system in place, but I want it to look better and take up less room. Here...
  10. A

    [SOLVED] Collision with enemies

    Hi :) I'm trying to make my first game , so I'm not doing that well with coding. Can you please help me with something? My game is a runner type of game . My player object can only jump and enemies ( car objects) come towards the player. When these two objects collide it's game over ,but I want...
  11. R

    Enemy Ai

    Hello, I am trying to make a platformer with every enemy having different abilities. However, i don't know how to use AI. I am currently working on an meele enemy but also want to create the following; Electricity, Brute, Scientist (who runs away from enemy and drops key to exit on death)...
  12. R

    How to work variables

    Hello, I'm currently working on a university project and have been advised to use variables to achieve the goals I want for my project. However, the problem is that I don't know how to set them up or how to work them. For my game, I want my character to possess certain abilities when he...
  13. R

    GML Shooting Code help (newbie)

    Hello! I'm only new to game maker, and when i say new, i mean I've been using the software for less than a month. Anyway, I'm having problem with trying to get my player to shoot with the left mouse button, while also moving. For some reason the left click button wasn't working for me so i...
  14. M

    Legacy GM [Newbie] Changing sprites at spawn

    I have an object that i need to change it sprite when it spawns. I tried to do it but didn't work //create event eggform = random_range(1,9) //step event if (eggform = 1){draw_sprite(spr_chocolateegg,-1,0,0)} if (eggform = 2){draw_sprite(spr_whitechocoegg,-1,0,0)} if (eggform =...
  15. M

    Windows How do I make collision with ammo pickup destroy the ammo pickup

    Hello, I've only just recently been having a go with game maker and am having some difficulty getting the ammo pickup working. Everytime I collide with the ammo it will keep increasing the amount of ammo I have and won't stop until I move away. I want it so that after the player collides with it...
  16. F

    Simply fit pieces into a grid :?

    Hi guys, I'm new here, new to game maker too, as to programming; I'm making a simple Jigsaw Puzzle, and having some doubts. You may find it easy as ****, but as I say, I'm new haha; I create a obj that holds a grid, and the obj's for the pieces. What I'm having trouble is fiting this pieces in...
  17. R

    Windows Question on Shooting straight via Bullet Hell game

    Hello, I'm brand new to GML and don't know much about the coding. I've tried looking up countless tutorials and can't find not ONE that can show me how to get an image to just shoot straight, like that of a bullet hell game. I'm testing the waters and for some reason in my Test, my bullet...
  18. S

    Drag And Drop Beginner looking for help (If collision shape, etc.)

    Yesterday I decided to download GMS2 after learning that I could program by dragging and dropping symbols instead of writing code. I've never really been able to wrap my head around things like C# and as a visual-based artist the DnD features feel really intuitive in comparison. I've watched the...
  19. P

    Dialogue Help ~!

    Hello! I'm trying out a dialogue system where when the player interacts with an object, the respective dialogue pops up. Since I'm just starting out, I'd like to get the 'gist' of GML before beginning to code efficiently by using scripts/etc. ^^ My DRAW and DRAW GUI events have no problems -...
  20. S

    GML Trying to index a variable which is not an array

    I'm still very new to Game Maker Studio, but there's a competition running at my school so I thought I'd give it a go. I'm trying to create a scoreboard for my endless runner; once you run out of lives, you're sent to the scoreboard and told to enter your name. I've had this error whenever I run...