Changeset 563:a68951a9fe40


Ignore:
Timestamp:
Sep 7, 2013, 8:26:53 PM (7 years ago)
Author:
David Sharpe <decoydavid@…>
Branch:
default
Children:
564:7d8a44ef06b8, 584:6d2f6fcd914d
Message:

More Cargo bay.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/levels/cargo_bay

    r561 r563  
    33game_objects:
    44- args:
    5   - [10, 1200]
     5  - [470, 1265]
    66  - hangar
    77  - [2350, 1450]
     
    99  classname: Door
    1010- args:
    11   - [60, 1250]
     11  - [530, 1309]
    1212  - 'To HANGAR'
    1313  classname: Note
     
    5050- args:
    5151  - [337, 1643]
    52   classname: Box
     52  classname: SokoBox
    5353- args:
    5454  - [607, 1643]
    55   classname: Box
     55  classname: SokoBox
    5656- args:
    5757  - [607, 1913]
    58   classname: Box
     58  classname: SokoBox
    5959- args:
    6060  - [607, 2093]
    61   classname: Box
     61  classname: SokoBox
    6262- args:
    6363  - [789, 2003]
    64   classname: Box
     64  classname: SokoBox
    6565- args:
    6666  - [789, 1913]
    67   classname: Box
     67  classname: SokoBox
    6868- args:
    6969  - [438, 980]
     
    9999- args:
    100100  - [1345, 1309]
    101   - 'To CREW QUARTERS'
     101  - 'To CREW QUARTERS: sealed due to box placement exclusion and drainage pipe complex blockages.'
     102  classname: Note
     103- args:
     104  - [800, 2200]
     105  - 'This place always reminds me of something... Oh, I must buy milk.'
    102106  classname: Note
    103107lines: []
  • nagslang/game_object.py

    r560 r563  
    362362class SokoBox(GameObject):
    363363    def __init__(self, space, position):
    364         body = make_body(1, pymunk.inf, position)
     364        body = make_body(1, pymunk.inf, position, 0.2)
    365365        self.shape = pymunk.Poly(
    366366            body, [(-40, -40), (40, -40), (40, 40), (-40, 40)])
    367367        self.shape.friction = 0.5
    368368        self.shape.collision_type = COLLISION_TYPE_FURNITURE
    369         super(Box, self).__init__(
     369        super(SokoBox, self).__init__(
    370370            SingleShapePhysicser(space, self.shape),
    371371            render.ImageRenderer(
Note: See TracChangeset for help on using the changeset viewer.