Ja se veuen be el gorro, el gps, el peu, el cacau, la fireball i el imp que eixia 'flipat'

This commit is contained in:
2026-03-15 23:39:21 +01:00
parent 5a2b418e5b
commit 319862df30
6 changed files with 52 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
local arcade_config = require("arcade_config")
o2aX = arcade_config.org2arc_escala
fireball={hab=-1,x=0,y=0,wait=0,flip=false,bb={x=0,y=0,w=4,h=4}}
function fireball.init(_hab,_x,_y,_flip)
@@ -9,9 +12,9 @@ function fireball.init(_hab,_x,_y,_flip)
end
function fireball.draw()
draw.circf(fireball.x,fireball.y,3,16)
draw.circf(fireball.x,fireball.y,2,3)
draw.circf(fireball.x,fireball.y,1,8)
draw.circf(fireball.x*o2aX,fireball.y*o2aX,3*o2aX,16)
draw.circf(fireball.x*o2aX,fireball.y*o2aX,2*o2aX,3)
draw.circf(fireball.x*o2aX,fireball.y*o2aX,1*o2aX,8)
end
function fireball.update()