I have created an animated SPRITE demo and working on displaying certain characters found in the image.
I am not sure how many images across is allowed for the maximum, but I have an image of 56 x 1 @ 16 x 16. I will add that as a download.
Here's my source file.
Rem Project: Animated Sprites Demo
Rem Created: Thursday, May 19, 2011
Rem ***** Main Source File *****
a$ = "images\"
SET DISPLAY MODE 1024, 768, 32
CLS
CREATE ANIMATED SPRITE 1, "alphanumerics.png", 56, 1, 0
FOR i = 1 to 23
CLONE SPRITE 1, i + 1
NEXT i
RESTORE _DisplayData
FOR i = 1 to 24
READ a
SPRITE i , (i - 1) * 16, 32, a
NEXT i
REMSTART
00 - 09 = 0 - 9 10 - 35 = A - Z
36 = ! 37 = ? 38 = . 39 = *
40 = - 41 = + 42 = /
43 = ( or [
44 = ) or ]
45 = = 46 = < 47 = > 48 = &
49 = $ 50 = @ 51 = " 52 = '
53 = _ 54 = RUB 55 = END
REMEND
DO
LOOP
END
_DisplayData:
DATA 10, 27, 34, 30, 38, 21, 18, 22, 18, 29
DATA 21, 14, 28, 28, 50, 34, 10, 17, 24, 24
DATA 38, 12, 24, 22
It keeps giving me a
Failed to 'CFileBuilder::AddPCKToEXE' and quits, leaving an EXE file and a PCK file in the project folder.
I've shut down the IDE and restarted it, even rebuilt the keywords, and it still screws up. Even in Debug Mode, it gives me Runtime Error 300 [Illegal Sprite Command] Line 10.