![]() He also had a couple of problems with getting stuck in the walls, but only the opponent used to get stuck when he moved back into the wall after getting hit. ![]() I'm wondering if it's because Game Maker isn't recognising a variable I made global, called "ayerspeed" instead of hsp.īy the way, I'm making my game with someone else's code. ![]() I even used another solid object (placed over the wall object) and used a normal collision event between that and the player object. Plus, I also used Shaun Spalding's video tutorial about platformer basics, and set a collision checker preventative measure against getting stuck in the walls. I set my player object mask as a sprite, so that the sprites wouldn't change and stick me into the wall.Īlso, I made sure that sprite had an odd number of pixels and set the origin to the exact pixel horizontally in the middle of the sprite. So I'm making a fighting game and my character is getting stuck in the walls.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |