# Just a stupid testlevel with some comments. #comments are ignored ## meta information (just comments right now) #Author Martin Renold #Copyright public domain ## level-specific game setup (not yet possible, planned) #MaxPlayers 2 # size of the visible area #ScreenSize 256 256 # size of the living area #FieldFreeze 256 256 # size of the area hold in memory #FieldSize 512 512 # level-dependent maxcps not yet possible (see --help instead) #maxcps 120 # ok now the possible part ;-) firstPersonMovement false # sea sickness viewportForce 32 viewportFriction 8 calculateInvisible false ### mass types DefaultMass: Mass growRounds 200 bufferMass 900 expFlattening 0 oldFlattening 1 borderColorHeight 18.0 GrowingWallMass: DefaultMass vivid2 2 growRounds 1000 baseColor 200 170 200 speed 80 isWall 1 decreaseSpeed 1 PlayerMass: DefaultMass vivid 0 growRounds 1200 energy 200 flatteningMovement 1 # not yet supported: Mass #maxEnergy 1000 Player0: PlayerMass player 0 basecolor 255 0 0 Player1: PlayerMass player 1 baseColor 0 255 0 ### Level # declare individual masses ChildTest: DefaultMass expFlattening 1 vivid2 1 baseColor 90 90 200 speed 256 velocity 256 # player grows because growRounds is reset on each # transformation, while keeping the mass PlayerPhaseA: Player0 oldFlattening 1 expFlattening 0 growRounds 1000 childTime -180 childInside true childTakesMassFromParent true childDistance 255 childRandomDistance false childRandomDirection true childSetHeading true childClass GrowingWallMass ChildTest ChildTest transformAt age transformArgument 80 transformClass PlayerPhaseB PlayerPhaseB: Player0 oldFlattening 0 expFlattening 1 maxBorderHeight 4.0 minBorderHeight 3.0 vivid2 1 transformAt age transformArgument 200 transformClass PlayerPhaseA baseColor 185 145 111 # body :Player0 30 30 transformAt age transformArgument 300 transformClass PlayerPhaseA BancircleCenter: DefaultMass baseColor 255 0 0 playerFood 1 childCount 32 childTime 8 childInside false childDistance 30 childClass GrowingWallMass slowHeadingAdd false headingAdd 2 # more bodies :BancircleCenter 100 0 :BancircleCenter 50 100 :GrowingWallMass -20 20 baseColor 255 0 0 :GrowingWallMass 00 20 baseColor 0 255 0 :GrowingWallMass 20 20 baseColor 0 0 255 Escaper: GrowingWallMass isWall 0 decreaseSpeed 0 flatteningMovement 1 vivid2 1 heading 192 # upwards speed 256 velocity 256 :GrowingWallMass 20 0 :GrowingWallMass 17 9 :GrowingWallMass 14 13 :Escaper 10 16 heading 192 :Escaper 6 19 heading 192 :Escaper -8 18 heading 192 :GrowingWallMass -12 15 :GrowingWallMass -16 11 :GrowingWallMass -18 7 :GrowingWallMass -19 2 :GrowingWallMass -18 -7 :GrowingWallMass -16 -11 :GrowingWallMass -12 -15 :Escaper -8 -18 heading 64 :Escaper -3 -19 heading 64 :Escaper 10 -16 heading 64