Introducing.. SpriteToData 1.0!
[Readme]
SpriteToData.exe
1.0
By Alias4399
SpriteToData is a great little program that you can use to help you with
the creation of sprites!
Instructions for usage:
)Create a sprite of any dimension and save it into any format.
Use a suitable graphics package (eg. Jasc Paint Shop Pro) to convert the sprite
into .ppm format
)Run the program from a command line or batch file (provided) with the following usage:
SpriteToData.exe <infile> <outfile>
where <infile> is your .ppm file (remember to include the extension!)
and <outfile> is your .txt or any other format file you want to save the data to.
Data is saved as follows:
)To be used as a char matrix
)'#' for every solid pixel
)'_' for every blank pixel
)You can use this for an int matrix, just replace (Ctrl+H) every '#' with a '1', etc.
Have fun!
-Alias
[/Readme]
Just like it says!
Grab it in the filesharing!
If you have any problems or questions, comments or queries, feel free to drop 'em.
-Alias
![Photo](https://secure.gravatar.com/avatar/d24da46cd5dcfd4569cf6e35eb1eaef2?s=100&d=https%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png)
Spritetodata [casioc]
Started by
alias4399
, Mar 06 2007 01:16 PM
No replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users