code error

  1. H

    GMS 2 Array code is not working

    I'm trying to make this code move my player along a path that I make when I click my mouse down. So if I click the mouse and draw a circle, the player will move in that circle. But I can't even get it to run and I don't know if this will work. Any advice would be greatly appreciated.
  2. A

    Game crashing

    I cant figure out why my game is crashing when a enemy kills me it says Unable to find any instance for object index '0' name 'oPlayer' at gml_Object_oSpawner_Create_0 (line 12) - until (point_distance(newX,newY,oPlayer.x,oPlayer.y) > 200) if anyone can help me it would be greatly...
  3. lluuze

    Code Errors

    Hello, I’ve recently swapped out the main character’s sprites for a different sprite but there were some complications so I decided to change back to the original. Since doing so, I’ve encountered issues with the character’s movement animation not swapping like it used to and the collision of...
  4. lluuze

    Code Error

    I'm a college student currently studying Games Design, I've been using the tutorials provided by my college to create a game using Gamemaker v 1.4 but have came across an error while creating hit boxes. I think something doesn't exist within the code but don't understand what I'd need to do to...
  5. Hopelessjay

    Help me with my codes

    Hello every one im on edges of my life because if my game was not able to finish im not going to grafuate this year. Hope you help me. This is the error Fatal Error in Action number 1 of Create Event for object obj_hslider_music: Push :: Execution Error - Variable Get -1.percentage(100012...
  6. P

    Help With The Code

    I made a code to the enemy follow the player object but when i remove the object to replace him for the player's death object(the animation when the player dies) the code crash( this crash: Unable to find any instance for object index '0' name 'obj_player' at gml_Script_EnemyStateChase (line 34)...
  7. ArudanIsMe

    GMS 2 Room Warp Error

    So I tried to follow two youtube tutorials and when i test it, I get this error. ___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Step Event0 for object obj_warp...
  8. S

    code...

    object1 room start globalvar spaceup2; spaceup2 = 0; create event if(spaceup2 == 5) { sprite_index = sprite42; } object2 create event if(spaceup2 == 5) { sprite_index = sprite48; } object3,4,5,6,7 1.Press Space to activate the destroy and create the next object. destroy event spaceup2 =...
  9. FacesOfMu

    GMS 2 Debugging: How do you find the code error again if you closed that window?

    Heyas, Just wondering how to see the code error again after you've ok'd that window in debug mode? I can't seem to ever find it again. Cheers!
  10. Liam Earles

    Windows Down on left analogue stick (Axis_lv) to change instance.

    Okay, so when I change instance by pressing down on both arrow keys, and the D-Pad on the controller, they both work fine. But with the Analogue stick, it's a whole different story. So I have an object that can do cartwheels which moves by changing the instance into a different object when...
  11. MagnumVulcanos

    Question - IDE [solved] Code Error reported showing wrong line

    ___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Step Event0 for object obj_char: Unable to find any instance for object index '6' name 'obj_map' at...
  12. W

    Windows Game wont run code

    It's easy to work with gamemakerstudio in the event editor, but has its limitations. When i write a code in the event editor it says what is bad, even in the test launch it says where something is missing or bad coded, but when i run it the launcher seems to ignore everything and obey just the...
Top