T
Tonydaderp
Guest
Guys, I'm currently programming a "slide_wall" something which you see in A link to the past. The code works fine. I am trying to have less objects by making the slide_wall object have states. If the player collides with it and it's state is "topright", something happens.
eg: if (slide_wall.qaud == "topright"){
blah blah blah..
}
If its state is "topleft", it will do something different. I am trying to handle this by setting a creation code in the room for object "slide_wall", but it doesn't work. Am I supposed to use enums for .'s? Plz respond if you know what to do. Thx!
eg: if (slide_wall.qaud == "topright"){
blah blah blah..
}
If its state is "topleft", it will do something different. I am trying to handle this by setting a creation code in the room for object "slide_wall", but it doesn't work. Am I supposed to use enums for .'s? Plz respond if you know what to do. Thx!