Omnimaga > BatLib

BatLib Demo Programs

(1/16) > >>

Xeda112358:
This topic is here to showcase projects using the BatLib library. Now that BatLib is stable, I have made a useful program: A spriteset/fontset editor.

  BatLib does not use pictures to store sprites like some other libraries. This makes sprite display faster and if you don't need a whole pictures worth of data, more memory friendly. Plus, you can use pretty much any data type you want to store sprite data.
  Because of this, I made the command GetSprite (35) so that the user could copy a sprite from the graph screen in the correct format to be used for other commands. I decided to take this one step further by making this program.

This program makes it easy for you to edit individual sprites in a sprite set or fontset. It includes simple routines to change pixel states as well as clearing, inverting, copying, and pasting sprites. The program also allows for some customization for the layout of the editor.

I hope this is useful!

Oh, P.S.- Str9 is the cursive fontset :D

yunhua98:
Nice!  but could you get rid of the Axes?  Anyway, it looks like Correlation's got competition!  ;)

Xeda112358:
Ah, I don't do any ClrDraw or AxesOff because of the Copy/Paste function. I was using this program to copy back and forth between two sprite sets, so I needed to preserve the copied image.

DJ Omnimaga:
Nice :D I should check the code at some point. :)

Xeda112358:
This is a little demo program I made to show off the progress of ReCode. It is a remake of an old BASIC program I made... 'cept faster :D

You will need at least BatLib v4.00.92.43 to run the program. As a note, the 92 is the number of commands in BatLib and the 43 is the number of commands in ReCode :D

EDIT: v2.01 now lets you press clear to exit.

Navigation

[0] Message Index

[#] Next page

Go to full version