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

coding issues

  1. BossJamoke

    Development Any remedies for bad code habits?

    I've been messing with Game maker quite a bit for over a year now. I've mostly been following videos and... Does anyone know any tricks or habits to become more self reliant? I feel as though I can't get very far in coding because I'm relying too much on what I saw in the videos, and it...
  2. S

    GameMaker Menu object not appearing after following a tutorial

    Hi! So I'm a beginner when it comes to GMS and coding in general. I followed a tutorial for creating menus: https://www.youtube.com/watch?v=fWAhi10q1ZE& I followed everything to the letter with the exception of the general layout of the menus, some visual elements and controls, but I don't...
  3. H

    SOLVED Debugging help

    Howdy! I'm having trouble understanding what's happening with my code. So, I got this error message: ___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Step Event0 for object...
  4. N

    How to get Gamemaker to remember the last room you were in?

    I am trying to get Gamemaker to remember the last room I was in so that every time I enter a room I can choose the starting location based on what direction my character came in from. My first idea was labeling the lastroom = room right before I transitioned from room to room, but the first...
  5. 7

    GameMaker Enemy movement?

    We've already gotten some help but we can't figure out what is messing up our enemy movement. If someone would be willing to try and re-create our problem that would be so helpful Enemy Step event: //Movement from another forum user if (instance_exists(player_obj)) { var dis =...
  6. J

    Hello I need help with my platformer again... (Powerup)

    My obj_dud. //Initialize Variables grav = 0.2; hsp = 0; vsp = 0; jumpspeed = 6.5; movespeed = 4; movespeed_normal = 4; movespeed_powerup = 6; movespeed = jumpspeed_normal My obj_speed. with (Obj_dud) ( movespeed = movespeed_powerup; Sprite_index = Spr_le_dud; alarm[0] = 300; )...
  7. R

    GML image speed issue (beginner) SOLVED

    Hello, I've very new to GMS, I'm currently working on learning the different coding and used the same code I used from a tutorial learning how to make the character's sprite speed look good but when I used it in a new game with little to know differences the sprite speed is going way too fast...
  8. M

    event triggered by Audio File

    Hey Guys, Currently Working on a rhythm game. Im having discussion about how to sync notes to the music. How can i get GM to identify the specific "spike" on the audio file and in that moment create the obj_note. imagine my audio to be simple like this. Each "wait" is one second delay. Clap...
  9. J

    My player object is sinking, please help!

    I have a well functioning room and there's a portal. When I go to the portal with my player object I teleport to another room. In that room there is a different type of blocks on which player object should be able to jump and move on. BUT, the player is sinking. I assume there is a mistake in my...
  10. X

    i need help with a health bar issue

    Hi all, I'm currently working on a game for my college course, everything seems to be working fine, but the issue is the health bar, when the game starts up the health bar isn't at 100% more like 70% I think it might be a sequence issue but I'm not sure :/ I'll be ever so grateful if someone...
  11. R

    Legacy GM Get a block to move so many points and stop [Solved]

    Trying to make a block that you can push. It moves a set number of points (16 points) and then stops, until you push it again. tried using the move_towards_point function but because the point I want it to move to is variable, it doesn't stop moving when it reaches the point. I've included my...
  12. M

    i need coding help

    i need an piece of code wich makes "monster" ignore and dont touch the "engerd" and still grab the "appel" and the "gouden appel"
  13. D

    Question.

    Hello all first of I am a relatively new to Game Maker and I am picking it up pretty quickly. I am also new to this forum so thank you guys for having me! If this is posted in the wrong forum please let me know! As for my question: So I am making a plat former game. In this game you can collect...
  14. 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...
  15. P

    Coding problem (pause menu)

    so ive been trying to get a working pause menu up and running that captures the view thats currently on the screen and displays it as a surface when the game pauses (when paused the screen is supposed to look like it Everything has frozen in place) this is my current code (Event...
Top