Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Moving character  (Read 1033 times)

0 Members and 1 Guest are viewing this topic.

dusan

  • Newbie
  • *
  • Posts: 12
    • View Profile
Moving character
« on: June 10, 2012, 03:31:41 pm »
Hello,

until now I have created few simple games like tictactoe, pong, brake it. But now I want to create something more interesting.

So I got idea about some game.
In this game I have a knight that is moving around (left and right).
So I am interesting how is it done?
 Do I create .gif with knife moving around and render it ? Or I make lets say 30 different images and load it one after another to get it look like it is moving ? And how do I get collision detection for lets say knight's sword with enemy unit?

I tried to search it but it didn't help.
I would appreciate if someone could explain this to me.

 

anything