Today I learned how to make an object solid, What I did : I made my wall object solid, so that my character can't go through wall and wrap around the map. when my character collided with the wall , it set my character's speed to 0 , so it looks like the wall is blocking my character from going further. but if my character is facing other direction , it will return the speed to that direction my character facing.
The next day I'm going to make a health bar for my character and the enemy
No comments:
Post a Comment