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

Windows welp im stuck

N

nilsbd

Guest
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_player:

Variable obj_player.rm_grass_0(100045, -2147483648) not set before reading it.
at gml_Room_rm_initialize_Create (line 2) - room_goto(rm_grass_0);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Room_rm_initialize_Create (line 2)

cant find the problem
 

johnwo

Member
Your game throws an error because it can't find the room you're referring to...
Do you have a room called "rm_grass_0"?

If you do, try cleaning the project build, then rebuild the project.

Posting the code in the creation event of obj_player might help.
 
N

Nathan Archer

Guest
is rm_grass_0 colored red in your code?

I think you're just pointing to something that's now there and it thinks its an undeclared variable for your player object
 
N

nilsbd

Guest
Your game throws an error because it can't find the room you're referring to...
Do you have a room called "rm_grass_0"?

If you do, try cleaning the project build, then rebuild the project.

Posting the code in the creation event of obj_player might help.
thank you for making the error "clearer" for me now i understood what the problem was and i solved it! thanks
 

Cameron

Member
Error messages are pretty clear and you will be seeing a lot of them so you may want to take the time to start reading them :)
 
Top