Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Easy::Actor.create{
- @sheet = Easy::SpriteSheet.new(path_to_sprite_sheet, width_of_a_tile, height_of_a_tile)
- @animations = {
- :standing_side => [0],
- :standing_front => [3],
- :standing_back => [6],
- :running_side => [0, 1, 0, 2],
- :running_front =>[3, 4, 3, 5],
- :running_back => [6, 7, 6, 8]
- }
- }
Add Comment
Please, Sign In to add comment