Re: [Super-tux-devel] Gameloop Rewrite Status
Brought to you by:
wkendrick
From: Ingo R. <gr...@gm...> - 2004-01-03 12:50:32
|
Ricardo Cruz <ri...@ae...> writes: > You could also have a look at one of the Ingo's games, like > Windestille or Pingus (they are c++, but may be helpfull). Pingus uses just a single pixel (or sometimes two) for collision detection. Windstille, even so it has some bitmask code, doesn't use it at the moment and instead uses some quick collision-rectangle hacks. So both aren't really good examples. Using multiple bitmaskes (one for the top, another one for the sides) might work, calculating the entry-vector into the enemy might also provide some informations, but I havn't really found out myself on how to solve this problem cleanly. -- WWW: http://pingus.seul.org/~grumbel/ JabberID: gr...@ja... ICQ: 59461927 |