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

help

  1. X

    GameMaker Error in my code. Help desperately needed.

    I am currently working on a video game, and I encountered an error that I do not know how to fix. This is the error message: I understand what the error is and what it means, but I do not know how to fix it. I am using GML Visual. The code is for some basic movement mechanics. This is my code...
  2. Jpokemon6

    I want my player to jump away from my enemy.

    I am making a robot game, and I am working on an enemy, the player is called "obj_Player" the enemy is called "obj_Enemy", the code for the player is: //step left = keyboard_check(vk_left); right = keyboard_check(vk_right); up = keyboard_check(vk_up); down = keyboard_check(vk_down); // get...
  3. M

    Issue with depth handling

    I have a rotating camera thats value is stored in global.cameraAngle, I am trying to handle depth and depth = -y worked fine for a while but since the camera rotates, i have to keep into account the rotation of the camera now depth = -(lengthdir_x(-y,global.cameraAngle) +...
  4. H

    GML How to change spawn location of character after leaving and reentering a room?

    Hey all, I've recently picked up GameMaker Studio and am trying to learn the basics (movement, rooms, etc.) I've looked in the manual, and online, but I can't find anything on this and I have no clue where to start. I'm trying to make my character start in the middle of a room, and once they...
  5. R

    GameMaker Help with a dash system

    Hello, I'm currently developing a game and have implemented a multidirectional dash system. While it functions well in most cases, a notable issue arises when the dash key is pressed without any other directional key. In such instances, instead of remaining inactive, the dash automatically...
  6. @

    scripts

    hi guys, I am kind of new to making games in Game Maker, and I am trying to use scripts, but I am having some problems. For example, some tutorials that I watched show that you could set your controls with scripts, but mine doesn't work like that. Look at my code, for example. var...
  7. Yay4ew

    Drag and Drop help

    basically im following the asteroids tutorial on game makers youtube channel: Basically I'm trying to create the bullet and this image pops up: I go to where the issue is and I can't figure it out pls help here are images of both of the events:
  8. M

    I need help to make a score systeme

    Hello, I'm creating a Pong game and trying to add various features to practice coding. My new goal is to implement a basic scoring system where the ball adds 1 point to the score when it hits the paddle. I've tried to find many tutorials to help me do this, but despite all my attempts, it's not...
  9. T

    Development What is the best way to keep a game file outside GameMaker (local)?

    I would like to keep my game files somewhere I can get every time, I thought of Google Drive but just placing each file of sprite, background, script, etc. separately in Drive is quite an overwhelming idea... please help me!
  10. L

    GML Visual Switch seems to loop indefinetly through cases?

    I'm unsure what I've done wrong. once I get the switch state started it seems to loop forever, switching between case 0-2 until I hit the bumper on the controller and then it gets stuck on 1-2. var l3B19E680_0 = _roll_; switch(l3B19E680_0) { case 0: audio_play_sound(S_Dying, 0, 0, 1.0...
  11. M

    SOLVED Struggling to fix angles problem

    Hey everyone! So I've been stuck on this problem for quite a while... Im making a sprite staking game and things have been going great, my camera rotation and the stacking is great but I've ran into an issue regarding how the player works. I have a player object, and a controller object, so the...
  12. T

    GameMaker help with getting an angle inbetween 2 points

    im having troubles in my game getting a point on a rectangle that is drawn and roatated, the rectangle is roatated in a very janky way and i think it is creating the issue i am facing but i am just not sure what to do as i dont really know what i am doing. the code above is what is used for...
  13. ShiShi

    GML Instance_exists half working (Help)

    So I'm working on a platformer (am quite new to programming) and I created a Debug Run function that allows me to change where I was to start the game, for quick testing purposes. Up until today it was working and now I don't know why it's not doing it. Firstly, I have a Macro that controls...
  14. Cartoon Nickname

    SOLVED trying to make a character walk to an object, then pick it up with just one click.

    So, I'm trying to make a point and click game in GML. and I've so far got my character walking to the spot my mouse clicks on, and, if nearby, the item clicked on will register as picked up. Only issue is I can't seem to make them do both of those things at once. I'm a bit nervous to use an...
  15. S

    GML part_system_automatic_update argument to "stop" fx created with effect_create_above()

    I have read the documentation about this function, and it says "One thing to note is that if you are using the simple effects created by the functions effect_create_above() or effect_create_below() then you can use the values of 0 (for below effects) or 1 (for above effects) as the particle...
  16. J

    GameMaker Im getting the message 'FAILED: Run Program Complete' when trying to run my project

    This is the first time I've tried to do anything program/coding related so if this is a common issue I apologise but I've looked about and cant find a solution anywhere. I just started following a tutorial by a youtuber called shaun splading the video and when I put the movement in, the game...
  17. M

    SOLVED Save System confused? (Help ASAP)

    Okay so I'm making a game and I want a save system, whenever you open this game it'll take you STRAIGHT to the level you were just at (this is a testing point in development), when I try this system with ini_write_real, it doesn't work. Please help. Btw, Yes it IS saving correctly in the...
  18. 0

    GameMaker My attack sprites aren't changing

    I'm trying to make a temporary dual-wield mode and just to keep it simple before I add more to it, I wanted to test it out where if you press F, the attack sprites will be different. But it isn't working as it should, because I have to press the attack button (J) and F at the same time for it to...
  19. S

    GameMaker Getting a recurring "Project Directory Modified" and I don't know why

    I'm not the most familiar with gamemaker or coding in general, having been using it off and on the past year for my own entertainment/learning, so please bear with me. Every time I have booted my project up in the past week (in Gamemaker LTS v2022.0.1.30) I get a "Project Directory Modified"...
  20. Mr.R

    Make move object change direction ( bouncing )

    I have tried with this code: x += speed * direction; if (x > 1000 - sprite_width / 2) { direction = -1; x = 1000 - sprite_width / 2; } if (x < 70 + sprite_width / 2) { direction = 1; x = 70 + sprite_width / 2; } but, the move object did not change direction ( bouncing ). PLEASE...
Top