added icons, proper menu anim, and renamed files
BIN
Page Assets/calendar.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
Page Assets/info.png
Normal file
After Width: | Height: | Size: 154 B |
BIN
Page Assets/size.png
Normal file
After Width: | Height: | Size: 145 B |
BIN
Page Assets/smile.png
Normal file
After Width: | Height: | Size: 169 B |
|
@ -87,6 +87,8 @@ function updatePlayer()
|
|||
elseif dead == true then
|
||||
if scale > 0.1 then
|
||||
scale -= 0.05
|
||||
else
|
||||
sprRocket:setVisible(false)
|
||||
end
|
||||
end
|
||||
updateExit()
|
||||
|
|
|
@ -7,6 +7,7 @@ assert(imgSaw)
|
|||
assert(imgTarget)
|
||||
|
||||
local blades = {}
|
||||
local spinblades = {}
|
||||
|
||||
function loadBlades(_blades)
|
||||
for i = 1, #_blades,1 do
|
||||
|
@ -44,17 +45,19 @@ function loadSpins(_spins)
|
|||
s.middle:moveTo(s.x,s.y)
|
||||
s.middle:add()
|
||||
|
||||
local sb = {speed=s.speed,arms=s.arms,armlen=s.armlen,blades={},time=0}
|
||||
for i = 1, s.arms, 1 do
|
||||
for p = 1, s.armlen, 1 do
|
||||
local degrees = (360 / s.arms) * i
|
||||
local position = {x=math.sin(math.rad(degrees)) * 20 * p,y=math.cos(math.rad(degrees)) * 20 * p}
|
||||
|
||||
local newSpr = gfx.sprite.new(imgSaw)
|
||||
newSpr:moveTo(s.x + position.x, s.y + position.y)
|
||||
newSpr:setCollideRect(0,0,16,16)
|
||||
newSpr:add()
|
||||
sb.blades[#sb.blades+1] = gfx.sprite.new(imgSaw)
|
||||
sb.blades[#sb.blades]:moveTo(s.x + position.x, s.y + position.y)
|
||||
sb.blades[#sb.blades]:setCollideRect(0,0,16,16)
|
||||
sb.blades[#sb.blades]:add()
|
||||
end
|
||||
end
|
||||
spinblades[#spinblades+1] = sb
|
||||
end
|
||||
end
|
||||
|
||||
|
|
BIN
Source/launcher/card-highlighted/1.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Source/launcher/card-highlighted/2.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Source/launcher/card-highlighted/3.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Source/launcher/card-highlighted/4.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
1
Source/launcher/card-highlighted/animation.txt
Normal file
|
@ -0,0 +1 @@
|
|||
frames = 1x4, 2x4, 3x4, 4x4
|
BIN
Source/launcher/card.ase
Normal file
Before Width: | Height: | Size: 866 B After Width: | Height: | Size: 1.4 KiB |
|
@ -1 +1 @@
|
|||
{"bigrocket":{"x":73.333333,"y":144.79638},"dimensions":{"x":22,"y":17},"rocket":{"x":300,"y":120},"rotators":[{"x":200,"y":200,"arms":4,"armlen":3,"speed":20,"middle":true}],"tiles":[{"t":2,"x":2,"y":1},{"t":2,"x":14,"y":1},{"t":2,"x":14,"y":5},{"t":2,"x":22,"y":5},{"t":2,"x":8,"y":6},{"t":2,"x":2,"y":12},{"t":2,"x":8,"y":12},{"t":2,"x":8,"y":17},{"t":2,"x":22,"y":17},{"t":3,"x":3,"y":1},{"t":3,"x":4,"y":1},{"t":3,"x":5,"y":1},{"t":3,"x":6,"y":1},{"t":3,"x":7,"y":1},{"t":3,"x":8,"y":1},{"t":3,"x":9,"y":1},{"t":3,"x":10,"y":1},{"t":3,"x":11,"y":1},{"t":3,"x":12,"y":1},{"t":3,"x":13,"y":1},{"t":3,"x":15,"y":5},{"t":3,"x":16,"y":5},{"t":3,"x":17,"y":5},{"t":3,"x":18,"y":5},{"t":3,"x":19,"y":5},{"t":3,"x":20,"y":5},{"t":3,"x":21,"y":5},{"t":3,"x":3,"y":12},{"t":3,"x":4,"y":12},{"t":3,"x":5,"y":12},{"t":3,"x":6,"y":12},{"t":3,"x":7,"y":12},{"t":3,"x":9,"y":17},{"t":3,"x":10,"y":17},{"t":3,"x":11,"y":17},{"t":3,"x":12,"y":17},{"t":3,"x":13,"y":17},{"t":3,"x":14,"y":17},{"t":3,"x":15,"y":17},{"t":3,"x":16,"y":17},{"t":3,"x":17,"y":17},{"t":3,"x":18,"y":17},{"t":3,"x":19,"y":17},{"t":3,"x":20,"y":17},{"t":3,"x":21,"y":17},{"t":4,"x":2,"y":2},{"t":4,"x":14,"y":2},{"t":4,"x":2,"y":3},{"t":4,"x":14,"y":3},{"t":4,"x":2,"y":4},{"t":4,"x":14,"y":4},{"t":4,"x":2,"y":5},{"t":4,"x":2,"y":6},{"t":4,"x":22,"y":6},{"t":4,"x":2,"y":7},{"t":4,"x":8,"y":7},{"t":4,"x":22,"y":7},{"t":4,"x":2,"y":8},{"t":4,"x":8,"y":8},{"t":4,"x":22,"y":8},{"t":4,"x":2,"y":9},{"t":4,"x":8,"y":9},{"t":4,"x":22,"y":9},{"t":4,"x":2,"y":10},{"t":4,"x":8,"y":10},{"t":4,"x":22,"y":10},{"t":4,"x":2,"y":11},{"t":4,"x":8,"y":11},{"t":4,"x":22,"y":11},{"t":4,"x":22,"y":12},{"t":4,"x":8,"y":13},{"t":4,"x":22,"y":13},{"t":4,"x":8,"y":14},{"t":4,"x":22,"y":14},{"t":4,"x":8,"y":15},{"t":4,"x":22,"y":15},{"t":4,"x":8,"y":16},{"t":4,"x":22,"y":16}]}
|
||||
{"bigrocket":{"x":73.333333,"y":144.79638},"dimensions":{"x":22,"y":17},"rocket":{"x":300,"y":120},"rotators":[{"x":200,"y":200,"arms":5,"armlen":2,"speed":20,"middle":true}],"tiles":[{"t":2,"x":2,"y":1},{"t":2,"x":14,"y":1},{"t":2,"x":14,"y":5},{"t":2,"x":22,"y":5},{"t":2,"x":8,"y":6},{"t":2,"x":2,"y":12},{"t":2,"x":8,"y":12},{"t":2,"x":8,"y":17},{"t":2,"x":22,"y":17},{"t":3,"x":3,"y":1},{"t":3,"x":4,"y":1},{"t":3,"x":5,"y":1},{"t":3,"x":6,"y":1},{"t":3,"x":7,"y":1},{"t":3,"x":8,"y":1},{"t":3,"x":9,"y":1},{"t":3,"x":10,"y":1},{"t":3,"x":11,"y":1},{"t":3,"x":12,"y":1},{"t":3,"x":13,"y":1},{"t":3,"x":15,"y":5},{"t":3,"x":16,"y":5},{"t":3,"x":17,"y":5},{"t":3,"x":18,"y":5},{"t":3,"x":19,"y":5},{"t":3,"x":20,"y":5},{"t":3,"x":21,"y":5},{"t":3,"x":3,"y":12},{"t":3,"x":4,"y":12},{"t":3,"x":5,"y":12},{"t":3,"x":6,"y":12},{"t":3,"x":7,"y":12},{"t":3,"x":9,"y":17},{"t":3,"x":10,"y":17},{"t":3,"x":11,"y":17},{"t":3,"x":12,"y":17},{"t":3,"x":13,"y":17},{"t":3,"x":14,"y":17},{"t":3,"x":15,"y":17},{"t":3,"x":16,"y":17},{"t":3,"x":17,"y":17},{"t":3,"x":18,"y":17},{"t":3,"x":19,"y":17},{"t":3,"x":20,"y":17},{"t":3,"x":21,"y":17},{"t":4,"x":2,"y":2},{"t":4,"x":14,"y":2},{"t":4,"x":2,"y":3},{"t":4,"x":14,"y":3},{"t":4,"x":2,"y":4},{"t":4,"x":14,"y":4},{"t":4,"x":2,"y":5},{"t":4,"x":2,"y":6},{"t":4,"x":22,"y":6},{"t":4,"x":2,"y":7},{"t":4,"x":8,"y":7},{"t":4,"x":22,"y":7},{"t":4,"x":2,"y":8},{"t":4,"x":8,"y":8},{"t":4,"x":22,"y":8},{"t":4,"x":2,"y":9},{"t":4,"x":8,"y":9},{"t":4,"x":22,"y":9},{"t":4,"x":2,"y":10},{"t":4,"x":8,"y":10},{"t":4,"x":22,"y":10},{"t":4,"x":2,"y":11},{"t":4,"x":8,"y":11},{"t":4,"x":22,"y":11},{"t":4,"x":22,"y":12},{"t":4,"x":8,"y":13},{"t":4,"x":22,"y":13},{"t":4,"x":8,"y":14},{"t":4,"x":22,"y":14},{"t":4,"x":8,"y":15},{"t":4,"x":22,"y":15},{"t":4,"x":8,"y":16},{"t":4,"x":22,"y":16}]}
|