Re: [Super-tux-devel] Gameloop Rewrite Status
Brought to you by:
wkendrick
From: Ricardo C. <ri...@ae...> - 2004-01-03 14:18:03
|
Ingo, ClanLib has collision support, right? If affirmative, why don't you use it? and do you know what method is used? Em S=E1bado, 3 de Janeiro de 2004 12:50, o Ingo Ruhnke escreveu: > 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. =2D-=20 The world is full of people who have never, since childhood, met an open doorway with an open mind. -- E.B. White |