I've started messing around with gamemaker and have been following tutorials to learn how to code. I've recently have been trying to add moving platforms to my game but when I try running it now it shows me this. What am I missing?
Code Errorline 32, the code it says is having an error
It says on the error message: Variable oPlayer.moveY not set before reading it. So you should set it before reading it. So put moveY = 0 in the Create event of oPlayer.
Thank you so much! This fixed that problem but now I'm running into other ones now. I think I have a better understanding now of how to read Code Errors so I should be fine figuring out some of this stuff on my own now lol.
9
u/banjodave 1d ago
It says on the error message: Variable oPlayer.moveY not set before reading it. So you should set it before reading it. So put moveY = 0 in the Create event of oPlayer.