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

Transition Issue

J

Jmarlin3

Guest
I've been using this video as a tutorial:

In one part of the tutorial, he instructs us to code for the transition to another room. But when I enter through the room for the transition, the fade works, but this error appears:
FATAL ERROR in action number 1 of Draw Event for object obj_fade: Variable obj_fade.xx(100020, -2147483648) not set before reading it. at gml_Object_obj_fade_Draw_64 (line 10) - obj_player.x = xx; ############################################################################################ -------------------------------------------------------------------------------------------- stack frame is gml_Object_obj_fade_Draw_64 (line 10)

Although when I compare the code to the video, it's correct:
My code:
upload_2018-3-29_11-58-8.png
The videos code: (around the 13:26 mark)
upload_2018-3-29_12-13-57.png

I honestly don't see the issue here. I've watched the video a couple of times and haven't seen the issue.
Can someone please explain what the error means?
 
J

Jmarlin3

Guest
Ok I get what you're saying, but where should I give it a value? In a create event? And I don't fully understand what xx means.
 
Top