Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- name: "ZombieBasic",
- behaviors:
- {
- Transform: {},
- Sprite: {},
- Animator:
- {
- atlasName: "atlas/zombie.atlas",
- regionName: "zombie_caminando"
- animations:
- {
- idle:
- {
- data: [1,2,3,4,5],
- duration: 50
- }
- },
- states:
- {
- leftState:
- {
- animation:"idle",
- action: "self.sprite:flipX(false)"
- },
- rightState:
- {
- animation:"idle"
- action: "self.sprite:flipX(true)"
- }
- }
- },
- ZombieBasicController:
- {
- velocity: 50
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement