- cleaned unused files
- bugfix for kupo body ai
  it wouldnt flip itself to the player in range
- actually adjusted arrow speed
- tileset improved
This commit is contained in:
lustlion
2021-10-25 03:18:32 +02:00
parent b8b2525975
commit 531555a1d0
83 changed files with 55 additions and 14 deletions

View File

@@ -1 +1 @@
[[1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,21,4,4,4,4,4,4,4,4,4,4,4,4,31,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,8,5,5,5,5,5,5,5,5,9,30,31,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,8,20,0,0,41,0,41,0,41,0,23,18,18,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,17,17,17],[1,1,1,1,8,20,0,0,0,41,0,41,0,53,0,0,0,0,0,0,0,0,0,0,10,17,17,6,4,4,4,4,4,4,4,4,22,1,1,1],[1,1,1,8,20,0,0,0,0,54,0,41,0,0,0,0,0,0,0,0,0,10,17,6,22,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,3,0,0,0,0,0,0,0,53,0,0,0,0,0,0,0,0,0,23,18,19,9,1,1,1,1,1,1,1,1,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]

View File

@@ -41,6 +41,7 @@ function Kupo:Smart()
self.sprite_flip.x = 1
else
angle = angle + math.rad(180)
self.sprite_flip.x = -1
end
-- fix so it can rotate from 0 to 360
@@ -80,7 +81,7 @@ function Kupo:Smart()
if self.bow_aim_frame > self.bow_aim_frames then
self.bow_aim_frame = self.bow_aim_frame - self.bow_aim_frames
self.bow_frame = self.bow_frame + 1
Arrow:New(self.pos.x,self.pos.y,self.bow_rotation,30)
Arrow:New(self.pos.x,self.pos.y,self.bow_rotation,15)
end
else
self.bow_frame = self.bow_frame + 1

View File

@@ -56,17 +56,17 @@ return {
},
{
id = 12,
type = "empty",
type = "whole",
depth = "foreground"
},
{
id = 13,
type = "empty",
type = "whole",
depth = "foreground"
},
{
id = 14,
type = "empty",
type = "whole",
depth = "foreground"
},
{
@@ -121,12 +121,12 @@ return {
},
{
id = 25,
type = "empty",
type = "whole",
depth = "foreground"
},
{
id = 26,
type = "empty",
type = "whole",
depth = "foreground"
},
{
@@ -191,7 +191,7 @@ return {
},
{
id = 39,
type = "empty",
type = "whole",
depth = "foreground"
},
{
@@ -241,22 +241,22 @@ return {
},
{
id = 49,
type = "empty",
type = "whole",
depth = "foreground"
},
{
id = 50,
type = "empty",
type = "whole",
depth = "foreground"
},
{
id = 51,
type = "empty",
type = "whole",
depth = "foreground"
},
{
id = 52,
type = "empty",
type = "whole",
depth = "foreground"
},
{
@@ -275,15 +275,55 @@ return {
depth = "foreground"
},
{
id = 40,
id = 56,
type = "empty",
depth = "foreground"
},
{
id = 40,
id = 57,
type = "empty",
depth = "foreground"
},
{
id = 58,
type = "empty",
depth = "foreground"
},
{
id = 59,
type = "empty",
depth = "foreground"
},
{
id = 60,
type = "empty",
depth = "foreground"
},
{
id = 61,
type = "empty",
depth = "foreground"
},
{
id = 62,
type = "empty",
depth = "foreground"
},
{
id = 63,
type = "empty",
depth = "foreground"
},
{
id = 64,
type = "empty",
depth = "foreground"
},
{
id = 65,
type = "whole",
depth = "foreground"
},
{
id = 119,
type = "whole",