-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the map scene where you encountered the boss the first time.
Unfortunately, the boss battle sprite isn't ready yet, so you'll actually encounter a slime instead in the meanwhile. The event will trigger again and again, as it is WIP.
- Loading branch information
Yohann Ferreira
committed
Sep 24, 2012
1 parent
dfb4ce4
commit ff93013
Showing
7 changed files
with
246 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,35 @@ | |||
-- Sprite animation file descriptor | |||
-- This file will describe the frames used to load the sprite animations | |||
|
|||
-- This files is following a special format compared to other animation scripts. | |||
|
|||
local ANIM_SOUTH = hoa_map.MapMode.ANIM_SOUTH; | |||
local ANIM_NORTH = hoa_map.MapMode.ANIM_NORTH; | |||
local ANIM_WEST = hoa_map.MapMode.ANIM_WEST; | |||
local ANIM_EAST = hoa_map.MapMode.ANIM_EAST; | |||
|
|||
|
|||
sprite_animation = { | |||
|
|||
-- The file to load the frames from | |||
image_filename = "img/sprites/map/enemies/wolf_spritesheet.png", | |||
-- The number of rows and columns of images, will be used to compute | |||
-- the images width and height, and also the frames number (row x col) | |||
rows = 6, | |||
columns = 11, | |||
-- The frames duration in milliseconds | |||
frames = { | |||
[ANIM_SOUTH] = { | |||
[0] = { id = 22, duration = 150 } | |||
}, | |||
[ANIM_NORTH] = { | |||
[0] = { id = 33, duration = 150 } | |||
}, | |||
[ANIM_WEST] = { | |||
[0] = { id = 17, duration = 150 } | |||
}, | |||
[ANIM_EAST] = { | |||
[0] = { id = 8, duration = 150 } | |||
} | |||
} | |||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.