Using collision events in GMS is generally not advised, you should try to do as much in the step event as you can. Move the code from o_player::o_door to o_player::step. If the 2 animations do not share the same frame count the animation will jitter, twitch, or play just a fraction of the frames in the total animation. I don't know why your code wasn't working, but I found a solution! I fiddled with the project a bit, I understand the error you're getting, after the character goes through the first door, he can't go back even though in r_sworld there's the same type of doors, they all have collision masks, they all have variables.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |