Advertisement
Guest User

World 3 - Level 6 :: 6 Dimensions :: The Game

a guest
Aug 12th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.83 KB | None | 0 0
  1. { -- world 3, level 6
  2.     {
  3.      type = nil,
  4.      collide = true,
  5.      ball = vec2(WIDTH/2,HEIGHT - 66*heightRatio),
  6.      star = vec2(WIDTH-111*widthRatio,88*heightRatio),
  7.      starStatic = true,
  8.      backgroundNumber = 6,
  9.      playerAnim = Animation({sizex = 66*widthRatio,sizey = 66*heightRatio,
  10.       img = "physicsnotebook:eye_",frameIni = 6, frameNum = 10,pingpong = 1,
  11.       speed = 0.5, speedLim = 1, color = color(255)
  12.      }),
  13.      statstars = {
  14.       seconds = 11, shapes = 0
  15.      },
  16.      elasticRopes = {
  17.           { x=WIDTH/2-166*widthRatio, y = HEIGHT/2 + 166*heightRatio},
  18.           { x=WIDTH/2+166*widthRatio, y = HEIGHT/2 + 166*heightRatio},
  19.           { x=WIDTH/2, y = 333*heightRatio}
  20.      },
  21.      softbodies = {
  22.           {
  23.            inner = "elasticRope", innerIndex = 1, touch = true,
  24.            center=vec2(WIDTH/2,HEIGHT/2 + 166*heightRatio), nSegments=11,
  25.            cats  = {3}, masks = {1,2,3},controlPointRadio = 33*widthRatio,
  26.            radius=600*widthRatio
  27.           }
  28.      },
  29.      disableDraw = true, disableMove = true,
  30.      title = "Toxic waters",
  31.      water = {
  32.          {
  33.          position = vec2(WIDTH/2 - 188*widthRatio, 266*heightRatio),
  34.          sizex    = 150*widthRatio,
  35.          sizey    = 35*heightRatio,
  36.          color    = color(10,242,55,200),
  37.          aabb     = {
  38.             vec2(WIDTH/2 - 111*widthRatio,266*heightRatio),
  39.             vec2(WIDTH/2 - 233*widthRatio,266*heightRatio)
  40.          }
  41.         },{
  42.          position = vec2(WIDTH/2 + 188*widthRatio, 266*heightRatio),
  43.          sizex    = 150*widthRatio,
  44.          sizey    = 35*heightRatio,
  45.          color    = color(10,242,55,200),
  46.          aabb     = {
  47.             vec2(WIDTH/2 + 233*widthRatio,266*heightRatio),
  48.             vec2(WIDTH/2 + 111*widthRatio,266*heightRatio)
  49.          }
  50.         }
  51.      }
  52.     }
  53.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement