feat: add Tails and Amy

Fix #7
This commit is contained in:
Kazhnuz 2020-08-02 21:32:45 +02:00
parent 65cde3c42b
commit b2fe9e62cd
19 changed files with 349 additions and 1 deletions

View file

@ -0,0 +1,17 @@
local actions = {}
actions.aerial = {}
function actions.aerial.start(n, actor)
end
function actions.aerial.update(dt, actor)
end
function actions.aerial.onGround(actor)
end
return actions

View file

@ -0,0 +1,17 @@
return {
name = "Amy",
fullname = "Amy Rose",
class = "power",
speed = 3,
jump = 3,
turns = 2,
move = 4,
startlevel = 50,
isUnlockedAtStart = true,
canGoSuper = true,
canBreakCraft = false,
icon = 3,
}

View file

@ -0,0 +1,8 @@
return {
haveShoes = true,
haveMechs = false,
haveGlove = true,
haveHammer= false,
accessories_number = 3,
chao_number = 1,
}

View file

@ -0,0 +1,3 @@
return {
}

View file

@ -0,0 +1,116 @@
return {
metadata = {
height = 64,
width = 64,
ox = 32,
oy = 32,
defaultAnim = "idle"
},
animations = {
["idle"] = {
startAt = 1,
endAt = 8,
loop = 1,
speed = 10,
pauseAtEnd = false,
},
["walk"] = {
startAt = 9,
endAt = 17,
loop = 10,
speed = -1,
pauseAtEnd = false,
},
["jump"] = {
startAt = 18,
endAt = 21,
loop = 21,
speed = 10,
pauseAtEnd = true,
},
["fall"] = {
startAt = 22,
endAt = 24,
loop = 26,
speed = 10,
pauseAtEnd = true,
},
["hit1start"] = {
startAt = 29,
endAt = 32,
loop = 32,
speed = 25,
pauseAtEnd = true,
},
["hit1end"] = {
startAt = 33,
endAt = 34,
loop = 34,
speed = 25,
pauseAtEnd = true,
},
["hit2start"] = {
startAt = 35,
endAt = 37,
loop = 37,
speed = 25,
pauseAtEnd = true,
},
["hit2end"] = {
startAt = 38,
endAt = 39,
loop = 39,
speed = 25,
pauseAtEnd = true,
},
["hit3start"] = {
startAt = 40,
endAt = 44,
loop = 44,
speed = 25,
pauseAtEnd = true,
},
["hit3end"] = {
startAt = 45,
endAt = 46,
loop = 46,
speed = 25,
pauseAtEnd = true,
},
["spindash"] = {
startAt = 46,
endAt = 48,
loop = 37,
speed = 25,
pauseAtEnd = false,
},
["spindash_full"] = {
startAt = 41,
endAt = 44,
loop = 41,
speed = 25,
pauseAtEnd = false,
},
["spin"] = {
startAt = 45,
endAt = 48,
loop = 45,
speed = 25,
pauseAtEnd = false,
},
["spinjump"] = {
startAt = 49,
endAt = 54,
loop = 51,
speed = 25,
pauseAtEnd = false,
},
["spinjump_nucurl"] = {
startAt = 51,
endAt = 54,
loop = 51,
speed = 25,
pauseAtEnd = false,
},
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View file

@ -0,0 +1,13 @@
local CONST = require "datas.stats"
return {
hpmax = CONST.RANK_A, --
ppmax = CONST.RANK_C, --
attack = CONST.RANK_A, --
defense = CONST.RANK_B, --
technic = CONST.RANK_C, -- How much items & wisps will be powerfull for this character.
power = CONST.RANK_B, --
mind = CONST.RANK_C, -- Magic defense.
speed = CONST.RANK_B, -- Où le personnage se trouve dans le tour.
}

View file

@ -1 +1 @@
return {"sonic"}
return {"sonic", "tails", "amy"}

View file

@ -0,0 +1,17 @@
local actions = {}
actions.aerial = {}
function actions.aerial.start(n, actor)
end
function actions.aerial.update(dt, actor)
end
function actions.aerial.onGround(actor)
end
return actions

View file

@ -0,0 +1,17 @@
return {
name = "Tails",
fullname = "Miles \"Tails\" Prower",
class = "technic",
speed = 2,
jump = 5,
turns = 2,
move = 3,
startlevel = 50,
isUnlockedAtStart = true,
canGoSuper = true,
canBreakCraft = false,
icon = 2,
}

View file

@ -0,0 +1,8 @@
return {
haveShoes = true,
haveMechs = false,
haveGlove = true,
haveHammer= false,
accessories_number = 3,
chao_number = 1,
}

View file

@ -0,0 +1,3 @@
return {
}

View file

@ -0,0 +1,116 @@
return {
metadata = {
height = 64,
width = 64,
ox = 32,
oy = 32,
defaultAnim = "idle"
},
animations = {
["idle"] = {
startAt = 1,
endAt = 8,
loop = 1,
speed = 10,
pauseAtEnd = false,
},
["walk"] = {
startAt = 9,
endAt = 17,
loop = 10,
speed = -1,
pauseAtEnd = false,
},
["jump"] = {
startAt = 18,
endAt = 21,
loop = 21,
speed = 10,
pauseAtEnd = true,
},
["fall"] = {
startAt = 22,
endAt = 26,
loop = 26,
speed = 10,
pauseAtEnd = true,
},
["hit1start"] = {
startAt = 27,
endAt = 30,
loop = 30,
speed = 25,
pauseAtEnd = true,
},
["hit1end"] = {
startAt = 31,
endAt = 32,
loop = 32,
speed = 25,
pauseAtEnd = true,
},
["hit2start"] = {
startAt = 33,
endAt = 37,
loop = 37,
speed = 25,
pauseAtEnd = true,
},
["hit2end"] = {
startAt = 38,
endAt = 38,
loop = 38,
speed = 25,
pauseAtEnd = true,
},
["hit3start"] = {
startAt = 42,
endAt = 46,
loop = 46,
speed = 25,
pauseAtEnd = true,
},
["hit3end"] = {
startAt = 46,
endAt = 48,
loop = 48,
speed = 25,
pauseAtEnd = true,
},
["spindash"] = {
startAt = 46,
endAt = 48,
loop = 37,
speed = 25,
pauseAtEnd = false,
},
["spindash_full"] = {
startAt = 41,
endAt = 44,
loop = 41,
speed = 25,
pauseAtEnd = false,
},
["spin"] = {
startAt = 45,
endAt = 48,
loop = 45,
speed = 25,
pauseAtEnd = false,
},
["spinjump"] = {
startAt = 49,
endAt = 54,
loop = 51,
speed = 25,
pauseAtEnd = false,
},
["spinjump_nucurl"] = {
startAt = 51,
endAt = 54,
loop = 51,
speed = 25,
pauseAtEnd = false,
},
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View file

@ -0,0 +1,13 @@
local CONST = require "datas.stats"
return {
hpmax = CONST.RANK_C, --
ppmax = CONST.RANK_A, --
attack = CONST.RANK_D, --
defense = CONST.RANK_C, --
technic = CONST.RANK_S, -- How much items & wisps will be powerfull for this character.
power = CONST.RANK_C, --
mind = CONST.RANK_A, -- Magic defense.
speed = CONST.RANK_B, -- Où le personnage se trouve dans le tour.
}