YesNoOk
avatar

Help with the Powerbar (Read 1267 times)

Started by GaziraAgain, May 05, 2024, 11:43:29 pm
Share this topic:
Help with the Powerbar
#1  May 05, 2024, 11:43:29 pm
  • ****
    • djjosehisterico@gmail.com
Hello, I would like to know if it is possible to use the px.mid.anim together with the px.front.anim in the powerbars. I would like to use two layers so that in the first one I can use an image without transparency and in the second I will give it an effect. This is the code I use but I can't get it to appear. Thank you so much.


This is how it should look:


[Powerbar]
;Player 1
p1.pos    = 640,360
p1.bg0.anim = 40
p1.bg0.offset = -346,317
p1.bg0.layerno = 1
p1.bg1.anim = 42
p1.bg1.layerno = 1
p1.mid.anim = 42
p1.mid.offset = 0,0
p1.mid.layerno = 1
p1.front.anim = 43
p1.front.offset = 0,-2
p1.front.layerno = 1
p1.front.facing = 1
p1.range.x = -58,-298
p1.counter.offset = -320,238
p1.counter.font = 4,0,0
p1.counter.layerno = 1
p1.levelbars = 0             ;Ikemen feature

;Player 2
p2.pos    = 640,360
p2.bg0.anim = 41
p2.bg0.offset = 345,317
p2.bg0.layerno = 1
p2.bg0.facing = 1
p2.bg1.anim = 42
p2.bg1.layerno = 1
p2.bg1.facing = -1
p2.mid.anim = 42
p2.mid.offset = -1,0
p2.mid.layerno = 1
p2.mid.facing = -1
p2.front.anim = 43
p2.front.offset = -1,-2
p2.front.layerno = 1
p2.front.facing = -1
p2.range.x  = 57,298
p2.counter.offset = 320,238
p2.counter.font = 5,0,0
p2.counter.layerno = 1
p2.levelbars = 0             ;Ikemen feature