Joabos wrote:
I'm doing a project, and I need to insert collision detection and response on
it. Here's the code. What am I doing wrong?
Where to begin...
1. Most of your code will never be executed because it is inside
multiline triple-quoted strings.
2. Your approach to
On Sun, 17 Jan 2010 06:14:59 -0800, Joabos wrote:
> I'm doing a project, and I need to insert collision detection and
> response on it. Here's the code. What am I doing wrong?
>
>
>#Update all sprites, map
> self.player.update(dt)
>
> #Collide other sprites
>
Joabos wrote:
I'm doing a project, and I need to insert collision detection and response on
it. Here's the code. What am I doing wrong?
#Update all sprites, map
self.player.update(dt)
#Collide other sprites
collisions = rabbyt.collisions.aabb_collide_single(
-questions.html
>
> Diez
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
Oh, sorry. Well, what's happenning is, whenever I boot the entire project,
there is *no* collision at all, when the player should stand on a tile. I
use Rabbyt and pyglet. Th
Am 17.01.10 15:14, schrieb Joabos:
I'm doing a project, and I need to insert collision detection and response on
it. Here's the code. What am I doing wrong?
Not telling us what's happening, and what *should* happen, for starters.
What do you expect? The code you gave us isn't stand-alone, you
Am 17.01.10 15:14, schrieb Joabos:
I'm doing a project, and I need to insert collision detection and response on
it. Here's the code. What am I doing wrong?
Not telling us what's happening, and what *should* happen, for starters.
What do you expect? The code you gave us isn't stand-alone, you
player.left < 0:
self.player.collide(COL_TYPE.WALL, DIRECTION.LEFT, 0)
if self.player.bottom < 0:
self.player.collide(COL_TYPE.WALL, DIRECTION.DOWN, 0)
"""
--
View this message in context:
http://old.nabble.com/Problems-with-coll