feat: draw a real shadow
This commit is contained in:
parent
f636d0c6d3
commit
a7def096df
2 changed files with 6 additions and 2 deletions
|
@ -8,7 +8,11 @@ end
|
|||
|
||||
function Parent:draw()
|
||||
Parent.super.draw(self)
|
||||
self:drawMainHitbox()
|
||||
--self:drawMainHitbox()
|
||||
end
|
||||
|
||||
function Parent:drawShadow(x, y)
|
||||
self.assets.images["shadow"]:draw(x-4, y+8)
|
||||
end
|
||||
|
||||
return Parent
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
["textures"] = {
|
||||
|
||||
{"shadow", "assets/sprites/shadow.png"}
|
||||
},
|
||||
["sprites"] = {
|
||||
{"sonic", "assets/sprites/characters/sonic"},
|
||||
|
|
Loading…
Reference in a new issue