BQubed
Member
I've watched quite a few tutorials on sequences but have yet to see the problem I'm encountering. Here is the code:
This code results in the supposed-to-animate door popping up over the player for a split second (without animating) and then vanishing. If I use a sprite, instead of an object, in the track panel then the door DOES animate when it pops up, but it still vanishes in the end. I won't dismiss the possibility that I did something wrong in the sequence IDE so I've included a screenshot. My end goal is to make it so that when I use the activate button on a door, the door object is overridden by a sequence that animates the door.
GML:
layer_sequence_create("Instances",oPlayer.x,oPlayer.y,sqDoorOpen)