- Top Stats

Top Posters Top Topic Starters Top Topics
BlushyFace 3
BlushyFace 3
[Requests] Sprite sheets - 590 Views BlushyFace August 05, 2019, 09:58:54 PM
[Guide] How to create and add an... - 521 Views BlushyFace July 27, 2019, 10:03:49 AM
[Request] Looking for a bunch of... - 493 Views BlushyFace August 06, 2019, 11:45:00 AM

Welcome, Guest. Please login or register.
Did you miss your activation email?

November 22, 2019, 09:42:23 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 28
  • Total Topics: 15
  • Online Today: 64
  • Online Ever: 135
  • (November 21, 2019, 12:03:27 PM)
Users Online
Users: 0
Guests: 6
Total: 6

Author Topic: [Guide] How to create and add an avatar  (Read 522 times)

0 Members and 1 Guest are viewing this topic.

BlushyFace

  • Administrator
  • Newbie
  • *****
  • Posts: 28
[Guide] How to create and add an avatar
« 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


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]
« Last Edit: August 03, 2019, 02:27:38 PM by BlushyFace »