1
Your projects / Re: Solarus - ZL project
« on: Today at 12:47:03 am »
I continue creating sprites of 4 colors in a GB style.
Big doors:
dat files are in attachment.
Big doors:
dat files are in attachment.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
"The sprite of a door must define animations "open" and "closed". Animations "opening" and "closing" are option" ...But I don't find out examples of "open" animations. There are only "closed", "opening" and "closing" animations in different projects I checked.
-- acidball:set_default_behavior_on_hero_shield("normal_shield_push")
Error: In on_created: enemies/spiderskull.lua:41: attempt to call method 'set_sprite_damage' (a nil value)
stack traceback:
[C]: in function 'set_sprite_damage'
enemies/spiderskull.lua:41: in function <enemies/spiderskull.lua:29>
and math.random(1, 4) == 1 -- Probability for acidball attack: 25%
by this line:and math.random(1, 2) == 1 -- Probability for acidball attack: 50%
Info: Simulation started
Error: In on_created: enemies/spiderskull.lua:40: attempt to call method 'set_sprite_damage' (a nil value)
stack traceback:
[C]: in function 'set_sprite_damage'
enemies/spiderskull.lua:40: in function <enemies/spiderskull.lua:28>
Error: In timer callback: enemies/spiderskull.lua:227: attempt to call method 'set_default_behavior_on_hero_shield' (a nil value)
stack traceback:
[C]: in function 'set_default_behavior_on_hero_shield'
enemies/spiderskull.lua:227: in function 'throw_acidball'
enemies/spiderskull.lua:99: in function <enemies/spiderskull.lua:92>
Error: In timer callback: enemies/spiderskull.lua:205: attempt to call method 'allow_hurt_enemies' (a nil value)
stack traceback:
[C]: in function 'allow_hurt_enemies'
enemies/spiderskull.lua:205: in function <enemies/spiderskull.lua:204>
Error: In timer callback: enemies/spiderskull.lua:227: attempt to call method 'set_default_behavior_on_hero_shield' (a nil value)
stack traceback:
[C]: in function 'set_default_behavior_on_hero_shield'
enemies/spiderskull.lua:227: in function 'throw_acidball'
enemies/spiderskull.lua:99: in function <enemies/spiderskull.lua:92>
Error: In timer callback: enemies/spiderskull.lua:205: attempt to call method 'allow_hurt_enemies' (a nil value)
stack traceback:
[C]: in function 'allow_hurt_enemies'
enemies/spiderskull.lua:205: in function <enemies/spiderskull.lua:204>
Error: In on_created: enemies/spiderskull.lua:40: attempt to call method 'set_sprite_damage' (a nil value)
stack traceback:
[C]: in function 'set_sprite_damage'
enemies/spiderskull.lua:40: in function <enemies/spiderskull.lua:28>
Info: Simulation finished