Blushyface.com | Super Blushy Wars | A Super Robot Taisen inspired fan game

BlushyFace.com => Blushy avatars => Community projects => Resources => Topic started by: BlushyFace on July 27, 2019, 10:03:49 AM

Title: [Guide] How to create and add an avatar
Post by: BlushyFace on July 27, 2019, 10:03:49 AM
For avatar to be usable they need to meet the following requirements:
Avatar sprite sheets can be any size but recommended is 16px / 32px / 64px per frame and the sprite sheet file must be named the same as the definition file that contains the specifics of each action. If there are various alternate variations for that sprite sheet you can specify that in "variations=".

Example when creating a new avatar called "BlushyFace"

blushyface.png
(https://i.imgur.com/OHtX5Et.png)

Definition file  blushyface.txt
name=BlushyFace
imagefile=blushyface
variations=
defaultaction=walk

[idle]
startX=64
startY=64
sizeX=64
sizeY=64
frames=1
speedmin=0
speedmax=0 
scale=1
[/idle]

[walk]
startX=64
startY=128
sizeX=64
sizeY=64
frames=8
speedmin=1
speedmax=2 
scale=0.75
enabled=false
[/walk]

[run]
startX=64
startY=192
sizeX=64
sizeY=64
frames=5
speedmin=2 
speedmax=3
scale=0.75
enabled=true
[/run]

[sit]
startX=64
startY=256
sizeX=64
sizeY=64
frames=4
speedmin=0 
speedmax=0
scale=1
enabled=false
[/sit]