cleaning
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user