• 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 a brother out

  1. B

    GameMaker Need help with sprites not showing up!

    Hey everybody! I am having an issue when trying to create a single "parent" object to handle all of my weapon pickups. I am really new to gamemaker but so far it has been very intuitive and easy to learn. I will try to be as descriptive as possible... I have created three test weapons in a...
  2. B

    GameMaker Reset rooms script only resets first room

    I have a level start object which runs this script but for some reason this script only works for the first room of the array i used, here is the code. obj_levelstart - Create rooms = []; audio_stop_all(); if(global.targetlvl == 0) { audio_play_sound(mu_tutorial,0,true); rooms =...
  3. B

    SOLVED Save file percentage

    I want to add a save file percentage for each save file to my game. 100% would be every level completed with the highest rank and the hidden ghost in every level collected (so far). is there any easy way to do this?
  4. B

    GameMaker Reset rooms code doesnt work in project but works in the other.

    I made a script that resets some rooms and i am remaking that game, i decided to use the same script (barely changed) but it doesnt work this time. Also this script runs before entering a level in both games. Every room in the levels are all presistent for both games. What happens when the...
  5. Santino "Sanlas2012"

    GameMaker Weird Collision Issue Depending on if I'm Running in Debug Mode or Run Mode

    I've been having these issues for a few months now and even after updating to the newest version of Gamemaker Studio (v2024.2) I still keep having these weird issues. I've recorded the issue because it's a lot better than trying to explain over text but , basically whenever I run the game in...
  6. BlueTAnimates

    SOLVED Make rooms persistent without using the built-in persistence.

    The levels in my game have multiple rooms and i decided to use the built-in persistence, but i want to use my own persistence because i dont want to make code for reset the rooms (which caused alot of bugs last time i tried). I have an idea of how it would work but i dont know how i would code...
  7. T

    Question - IDE 2023.6.0.136 file password anyone?

    Alright, so i'm tryna re-convert my gamemaker runtime to 2023.6 (I'm not gonna spoil why) I downloaded the core runtime one, and then attempted to extract it. This is what I got: For some reason, it's password protected. I have no idea what the password is, and the page that I downloaded it...
  8. BlueTAnimates

    SOLVED Map key to only one input

    Im using keyboard_set_map to remape controls, but instead of being able to use the original key and the mapped key to detect key presses, i want the keyboard_set_map to replace the key. Is there any way to do that while still using keyboard_set_map?
  9. Dumpster meat

    GameMaker pizza tower/mario skid when turning

    In the hit game SUPER MARIO BROTHERS when you are running and you press the opposite direction you do a little skid on the ground and you come to a complete stop faster. Similarly, in pizza tower when you turn around at a high speed you do a little turn animation then continue in the other...
  10. 0

    GameMaker How do I get the player's facing sprite to be the last direction they were facing with a gamepad?

    I have an array of sprites that correspond to the direction of the analog sticks on a gamepad. The thing is when the gamepad returns to it's deadzone, the player object's facing variable is set to 0, so the character sprite is always facing to the right when the player isn't moving. Is there a...
  11. BlueTAnimates

    SOLVED Goes to wrong room when entering level.

    When the player enters a level (which has multiple rooms), everything works alright. But when the player enters the level again, the room sets to the room the player was last in while playing the level. I use a global variable that is set to the first room of the level when entering a level, But...
  12. 0

    SOLVED How can I make the right analog stick on the controller dictate the direction the character is facing?

    I'd assume that it'd be something similar to the way it would work with a mouse. I have code that I referenced for myself for when I used the mouse, but I'm not sure how to do it with the right analog stick. Here's the code for mouse: var _cursor_dir = round(point_direction(x, y, mouse_x...
  13. A

    GameMaker restart specific persistent rooms

    Hi there, I am making a game in which the levels are made up of several rooms that must be persistent so that the player can return to them WHILE PLAYING THE LEVEL, what I need is that when you finish/exit the level, the game restart the rooms that make up the level left behind. Thanks.
  14. BlueTAnimates

    Goes to wrong room when entering level

    When the player enters a level, everything works alright. But when the player enters the level again, the room sets to the room the player was last in while playing the level. I use a global variable that is set to the first room of the level when entering a level, But I'm not sure how this bug...
  15. Le_Beholder

    Legacy GM BoI clone - Door problems

    Hello peoples, today I have another conundrum; I am trying to create doors that the player can go through in my dungeon game that locks whenever an enemy object is detected in the next room. how they lock is they switch the collision mask from an empty sprite to a solid sprite whenever the...
  16. 0

    SOLVED Animation End not working???

    At the end of every attack animation, it should stop. It works for all angles and both weapons (machete, 0 and shotgun, 1). But for some reason only when I have the gun and facing down (case 6) does the animation not end. It doesn't even exit the attack state. It just freezes. I have no idea why...
  17. BlueTAnimates

    GameMaker Reset rooms in level

    My game has multiple rooms for each level (rm_forest_1, rm_forest_2, etc), and when the player exits or completes the level, I want the rooms in that level to reset. But I also want the rooms to stay persistent when playing the level. The problem is I'm not sure how to code this. I've tried...
  18. 0

    SOLVED How can I make a consistent shotgun spread for all angles?

    I made some code that makes it so that the shotgun shoots 5 bullets spread out the way a shotgun should. But for some reason, it more or less varies. How can I get it to be consistent? Here is my current code: function fire_bullets(){ var bullet1 = instance_create_layer(x...
  19. 0

    SOLVED How do I make it so that the direction the player is facing changes depending on the mouse position while moving?

    I already have this code working, but it only works for some reason when the player isn't moving. I have a state machine, and I want it to work in the free state (when the player is moving) as well. I only want this to happen when the player's gun is out, so you'll see a bunch of [if...
  20. T

    SOLVED I'm trying to change my player sprite when an input is detected

    Like the title says -- Trying to create a boost mechanic for a rocket. When the player presses space the rocket goes faster. The boost mechanic itself works, but I have two separate sprites I would like to make this more visually appealing and obvious. I'm not too sure why my code isn't working...
Top