CalvinMT / LITIengine_test

MIT License
0 stars 0 forks source link

How to I get my PNG into a sprite info file #2

Closed Dmartin42 closed 5 years ago

Dmartin42 commented 5 years ago

How did you do this?

CalvinMT commented 5 years ago

You need to create your sprites which can be PNGs. I made mine with a free softawre called paint.net.

Each one of your PNGs contains a row of sprites of same sizes which makes one of the animations of your character. Have look around the sprites folder on the LITIengine's Github.

The sprites.info file (btw, can be called otherwise but need to end with .info) is a file that you need to create. You can edit it with a simple notepad or use, as I recommend, notepad++.

Dmartin42 commented 5 years ago

papaellisimg Is this my Sprite? Or do I need to "cut up" the photo into individual characters?

Like this? or the one above?? tile005 tile006 tile007 tile008 tile009 tile010 tile011 tile000 tile001 tile002 tile003 tile004

CalvinMT commented 5 years ago

No. You only need to cut the rows.