Shooting fire

Started by Dragon_noir, May 25, 2015, 12:58:24 AM

Previous topic - Next topic
Ok thanks :D

That part is working now.

Now i'm trying to add an animation but it doesn't work.
I've defined the animation in tunic1, but nothing happens

i've also added those lines of code to the file :


  local tunic = hero:get_tunic_sprite_id()
  hero:set_tunic_sprite_id(tunic)
  hero:set_animation("ice_rod")