xuju.lua 542 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. local Xuju = extend(Animation)
  2. Xuju.scale = .3
  3. Xuju.offsety = 72
  4. Xuju.default = 'spawn'
  5. Xuju.states = {}
  6. Xuju.states.spawn = {
  7. priority = 5,
  8. speed = .75
  9. }
  10. Xuju.states.idle = {
  11. priority = 1,
  12. loop = true,
  13. speed = 1
  14. }
  15. Xuju.states.walk = {
  16. priority = 1,
  17. loop = true,
  18. speed = .73
  19. }
  20. Xuju.states.attack = {
  21. priority = 1,
  22. loop = true,
  23. speed = 1
  24. }
  25. Xuju.states.death = {
  26. priority = 5,
  27. speed = .8
  28. }
  29. Xuju.states.vanish = {
  30. priority = 3,
  31. speed = .5
  32. }
  33. Xuju.states.rend = {
  34. priority = 3,
  35. speed = 1.3
  36. }
  37. return Xuju