Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --rainbow dash
- if true then
- characters.awesome = {}
- local temp = characters.awesome
- temp.name = "rainbow dash"
- temp.defaultcolors = {}
- temp.pony = true
- temp.smalloffsetX = 6
- temp.smalloffsetY = 17
- temp.smallquadcenterX = 26
- temp.smallquadcenterY = 24
- temp.shrinkquadcenterX = 26
- temp.shrinkquadcenterY = 24
- temp.shrinkoffsetY = 17
- temp.shrinkquadcenterY2 = 24
- temp.growquadcenterY = 12
- temp.growquadcenterY2 = 12
- temp.duckquadcenterY = 24
- temp.duckoffsetY = 17
- temp.bigoffsetX = 6
- temp.bigoffsetY = 5
- temp.bigquadcenterX = 26
- temp.bigquadcenterY = 24
- temp.customscale = 1
- temp.nopointing = true
- --players
- temp.animations = love.graphics.newImage("graphics/player/awesome/animations.png")
- temp.idle = {}
- temp.run = {}
- temp.slide = {}
- temp.jump = {}
- temp.die = {}
- temp.climb = {}
- temp.swim = {}
- temp.grow = {}
- local quadwidth = 53
- local quadheight = 48
- local imgwidth = 2067
- local imgheight = 48
- temp.runframes = 16
- temp.jumpframes = 16
- for i = 1, 5 do
- local add = 0
- temp.idle[i] = love.graphics.newQuad(0, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.run[i] = {}
- for j = 1, temp.runframes do
- temp.run[i][j] = love.graphics.newQuad(j*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- end
- add = add + temp.runframes
- temp.slide[i] = love.graphics.newQuad((add+1)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.jump[i] = {}
- for j = 1, temp.jumpframes do
- temp.jump[i][j] = love.graphics.newQuad((add+1+j)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- end
- add = add + temp.jumpframes
- temp.die[i] = love.graphics.newQuad((add+2)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.climb[i] = {}
- temp.climb[i][1] = love.graphics.newQuad((add+3)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.climb[i][2] = love.graphics.newQuad((add+4)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.swim[i] = {}
- temp.swim[i][1] = love.graphics.newQuad((add+5)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.swim[i][2] = love.graphics.newQuad((add+6)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.grow[i] = love.graphics.newQuad((add+9)*quadwidth, 0, quadwidth, imgheight, imgwidth, imgheight)
- end
- temp.biganimations = love.graphics.newImage("graphics/player/awesome/biganimations.png")
- local quadwidth = 53
- local quadheight = 48
- local imgwidth = 2226
- local imgheight = 48
- temp.bigidle = {}
- temp.bigrun = {}
- temp.bigslide = {}
- temp.bigjump = {}
- temp.bigfire = {}
- temp.bigclimb = {}
- temp.bigswim = {}
- temp.bigduck = {} --hehe duck.
- for i = 1, 5 do
- local add = 0
- temp.bigidle[i] = love.graphics.newQuad(0, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.bigrun[i] = {}
- for j = 1, temp.runframes do
- temp.bigrun[i][j] = love.graphics.newQuad(j*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- end
- add = add + temp.runframes
- temp.bigslide[i] = love.graphics.newQuad((add+1)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.bigjump[i] = {}
- for j = 1, temp.jumpframes do
- temp.bigjump[i][j] = love.graphics.newQuad((add+1+j)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- end
- add = add + temp.jumpframes
- temp.bigfire[i] = love.graphics.newQuad((add+2)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.bigclimb[i] = {}
- temp.bigclimb[i][1] = love.graphics.newQuad((add+3)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.bigclimb[i][2] = love.graphics.newQuad((add+4)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.bigswim[i] = {}
- temp.bigswim[i][1] = love.graphics.newQuad((add+5)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.bigswim[i][2] = love.graphics.newQuad((add+6)*quadwidth, (i-1)*quadheight, quadwidth, quadheight, imgwidth, imgheight)
- temp.bigduck[i] = love.graphics.newQuad((add+9)*quadwidth, 0, quadwidth, imgheight, imgwidth, imgheight)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement