Hello again!
Yesterday i started writing a new function for the game, a function that lets the player manipulate the various obstacles found throughout the map. I think i got it right - but i can't test it because i have no graphics for it.
So i decided to draw a doorway with a door that can be opened and closed. The doorway with a closed door was ok - but the opening and closing of the door should be animated, and this is where me and GIMP "had words".
I wanted to scale the door down a bit per frame but the result got blurry. Then i wanted to gradually skew the door to make it look like it was going inwards - but no matter how i did it GIMP only skewed an invisible layer and not the door. Do i have to draw every frame of the animation from scratch? I had to give up for the night, maybe i will try again this evening.
Last night i also revisited my collision detection algorithm. It wasn't very good and made the characters jump around whenever they bumped into something. Now its very smooth and also lets you sneak past your enemies (and friends - whenever multiplayer will be implemented).
Short update, not too much happpened since my initial post.
Inga kommentarer:
Skicka en kommentar