#
# File for defining sprite sheets automatically
#
# Sprites can have states that are handled internally by the object
# Structure of this file is:
#
# - Sprite file name
#
# - Number of states
#
# Then for each state
# Number of frames
# Speed of change (can be 0, then there is by default change)
# Coordinates one frame per line
#
#
# Lines starting with '#' are comments
data/sprite.bmp
3
#Staying still
4
200
0.4 .45 0.14 0.06
0.475 .525 0.14 0.06
0.55 .6 0.14 0.06
0.63 .68 0.14 0.06
0.4 .45 0.22 0.14
0.475 .525 0.22 0.14
0.55 .6 0.22 0.14
0.63 .68 0.22 0.14
#Moving
5
1000
0 .12 0 .15
0 .12 0 .15
0 .12 0 .15
0 .12 0 .15
0 .12 0 .15
#Jumping
1
1000
0 .12 0 .15
Partager