bug code

  1. Pedro D'Agrofloresta

    SOLVED Blinking setting var global.gamestate Help PLEaSe!

    Hey guys hello ! I am Pedro and i am programming an FlyBird game! after three month i actualized my codes, all game states they were scattered (the game runing code was on object bottom), i make a obj_persistent, and use a global.gamestate. Here is when the problem happens, when the game end i...
  2. C

    GameMaker Bug - event duplicating action - simple gallery code

    Google translation: I'm facing a "bug" in game maker, with a code, I need that whenever the event is executed it checks what the value is, and if the value is x it goes to y image, if the value is y it goes to another image, such as a gallery. However I have faced a problem that makes it execute...
  3. Caio_Mendes

    I want to code a cooldown on my attack

    Well, already "did" it, the problem is, it doesn't actually do what i want. You see, i want to make the player attack, and after attacking, a cooldown of 1 sec will begin to countdown so you can't just spam the attack button, and after the cooldown is finished, you can resume to attack again...
  4. D

    SOLVED Transition from Roll to Fall state

    Hi, Im having some problems trying to correct a small bug. The following bug: The player keeps rolling until the animation ends. I have tried many different codes but the bug persists. If someone can help my I would appreciate. Current roll state code: function player_state_roll() {...
  5. Jotesco

    SOLVED Any button same bug.

    I just found a bug, and i don't know how to fix. If i do anything with an object this error show up ___________________________________________ ############################################################################################ ERROR in action number 1 of Draw Event for object configs...
  6. T

    SOLVED HELP with Platformer Collisions!

    I've been making my first Platformer Action Arcade, until I encountered the bug showing in the GIF. As depicted, the player keeps sinking when they are standing on the edge of the bridge platforms. Even if it wasn't caught on the video, in case it helps, when the object does that it switches...
  7. N

    GML I have problem with fullscreen toggle and window resize.

    I was making the object that can toggle between full screen with pressing the key up and down like this. Create fullscreen = false Step if (keyboard_check_pressed(vk_down)) { fullscreen= true } if (keyboard_check_pressed(vk_up)) { fullscreen= false } if fullscreen{...
  8. T

    GML [SOLVED] Pixel-Perfect Collision Code Glitch/Bug - Player teleports sometimes after colliding with a wall!

    Greetings, I used this code to create pixel-perfect collision between the player and the wall sensors. The wall sensors are working as transparent objects that are put above the wall block textures(obj_wall_block). I have always been using this Wall system on my projects and it used to work...
  9. VNGamesDev

    Variable increases faster in for() that i made for moving objects

    I made a system, that check if the special variable of object oEvent equal to a variable in object oObject, and then move that objects by the parameters set in oEvent. But, it works very strange. The more oObject variables equal to oEvent variable, the faster moving goes. Code: oEvent - Create...
  10. iSkonn

    player_id not working - rollback system

    hello, i need help, i was wanting to put a multiplayer system in my game, i saw a video from the official gamemaker channel teaching with the new system (rollback), i was in the "multiplayer set-up" part of the video, I was setting , I noticed that someone gives an error and the problem is...
  11. SandieYT

    Windows Help me with a code

    so i was following a tutorial about a smooth platformer and i found out a unfixable bug (at least for me) that if you press the left arrow while youre moving right, you instantly move to the left, not deccelerating like how in the tutorial was supposed to be, and the player wont go down no...
  12. S

    SOLVED Help. I am doing Space Rocks Tutorials in school and came across this "Unfortunate" Message that I don't know what it means

    I'm not sure what to do with the Time variable is related to. ___________________________________________ ############################################################################################ ERROR in action number 1 of Create Event for object <undefined>: Variable...
  13. JelleB

    audio_play_sound stops working after few plays

    im trying to make footstep sounds and the footstep sounds play a few times then stop playing until i stop the animation and start it again. if image_index = 2 or image_index = 6 then audio_play_sound(snd_footstep,100,false) Please help.
  14. tax collector

    error with global variable

    hello, new dev here, so it seems i found a small "bug" while testing some things so it seems that after making a "global" variable, and putting the variable to use, the game just got a error! i dont know if it is my fault, or if it is the game fault, but its making me nervous, and i almost...
  15. L

    SOLVED image_xscale cuts off sprite

    Hi, I'm new to GML. I think I'm having issues with image_xscale. Sometimes when I move left, some pixels on the right edge of the sprite gets cut off (arm gets cut off). I tried using different sprites, different tiles, removing tiles, adjusting camera settings, etc., but none of them solved it...
  16. Z

    Transitioning into wrong rooms

    Lately I am having some issues with implementing a Room transition Mechanic and it is working fine, it is able to transition from room to room, however when it involves multiple rooms it goes completely haywire. The problem began like this: I have created a swamp level and a small wooden cabin...
  17. P

    Help Me With A Bug[SOLVED]

    I've made the code for make the player move and the colision, but when I pute the sprites and made a code for change them bugged my game, the player flickers for a opposite side for the button pressed, like I press the D for move right them the sprite flicker for the left and right and don't...
  18. D

    GameMaker Why do the screen freeze in room-18?

    I have a game where there are 21 rooms. Everything runs as usual, the player is not persistent and is placed in each additional room. However, for strange reasons, I can no longer move in the game as soon as I cross the door of Raum18 and I do not get an error message. No matter whether in debug...
  19. K

    GameMaker Character Animations Getting Cut-Off For Unknown Reasons [not yet solved]

    So, as Simon pointed out: -which I did not know, so yay for learning. And, while putting image_index = 0; at the beginning of the Elf_Shooting/states.shooting script only resulted in the PC freezing in the first frame of any shooting animation, buy putting the same line inside of the...
  20. R

    Windows Help with walk animation cycle & directions stuck

    Been following a video tutorial on youtube with FriendlyCosmonaut creating a character movement and collision with animations but my character is forever facing up and doing an animation walk cycle, i press key left or right and it wont change. why is this? i tried following the tutorial closely...
Top