Changeset 76

Show
Ignore:
Timestamp:
12/03/07 18:49:10 (1 year ago)
Author:
clayasaurus
Message:

added player movement to the world

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/tilemap.d

    r75 r76  
    167167 
    168168            // setup the bounds of the level  
    169             walls[0] = new Box(Size(pixWidth,30), 100000); 
     169            walls[0] = new Box(Size(pixWidth,30), float.max); 
    170170            walls[0].translation.set(pixWidth/2-width/2*tileDefault.getSize.w, 0 - 6-height/2*tileDefault.getSize.h); 
    171171            addChild(walls[0]); 
    172172             
    173             walls[1] = new Box(Size(pixWidth,30), 100000); 
     173            walls[1] = new Box(Size(pixWidth,30), float.max); 
    174174            walls[1].translation.set(pixWidth/2-width/2*tileDefault.getSize.w, pixHeight + 6-height/2*tileDefault.getSize.h); 
    175175            addChild(walls[1]); 
    176176             
    177             walls[2] = new Box(Size(30,pixHeight), 100000); 
     177            walls[2] = new Box(Size(30,pixHeight), float.max); 
    178178            walls[2].translation.set(0 - 6-width/2*tileDefault.getSize.w, pixHeight/2-height/2*tileDefault.getSize.h); 
    179179            addChild(walls[2]); 
    180180             
    181             walls[3] = new Box(Size(30,pixHeight), 100000); 
     181            walls[3] = new Box(Size(30,pixHeight), float.max); 
    182182            walls[3].translation.set(pixWidth + 6-width/2*tileDefault.getSize.w, pixHeight/2-height/2*tileDefault.getSize.h); 
    183183            addChild(walls[3]);