Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(6)  |  Derive(0)  |  Import(1)

src/s/p/spacecraft-HEAD/spacecraft/world.py   spacecraft(Download)
    def getReadings(self):
        p = self.player.body.position
        aabb = Box2D.b2AABB(
            lowerBound=p - (self.radius, self.radius),
            upperBound=p + (self.radius, self.radius))

src/b/l/bloodyhell-HEAD/bloodyhell/world/__init__.py   bloodyhell(Download)
from bloodyhell.world.camera import Camera
 
from Box2D import b2AABB
from Box2D import b2World
from Box2D import b2Vec2
        self._root_layer = root_layer
        self._chunks = []
        worldAABB = b2AABB()
        worldAABB.lowerBound = (-1000, -1000)
        worldAABB.upperBound = (1000, 1000)

src/l/i/Little-Python-Ball-Game-HEAD/src/Death.py   Little-Python-Ball-Game(Download)
    def __init__(self):
        worldAABB=box2d.b2AABB()
        worldAABB.lowerBound = (-8, -8)
        worldAABB.upperBound = (30, 30)
 

src/l/i/Little-Python-Ball-Game-HEAD/src/Game.py   Little-Python-Ball-Game(Download)
    def __init__(self):
        State.__init__(self)
        worldAABB=box2d.b2AABB()
        worldAABB.lowerBound = (-50/tile_size, -50/tile_size)
        worldAABB.upperBound = ((screen_size[0]+50)/tile_size, (screen_size[1]+50)/tile_size)