[A89] more TI-GCC


[Prev][Next][Index][Thread]

[A89] more TI-GCC




This one is just a thought...

NOTE: please excuse the lame ASCII drawings in this post... if this offends
your eye(s), visit http://www.wallart.com/ or some other art place...

A nice feature in TI-GCC would to include a sprite editor or make a special
type "Sprite Files".  This would go below all of the other file types in the
left pane.

IE:
C Tic Tac Toe
+-Header Files
| +-checkroutine
+-C Files
| +-ttt
+-Assembler Files
| +-check
+-Object Files
| +-map
+-Sprite Files
  +-bigX
  +-bigO
  +-smallX
  +-smallO

When clicking on bigX for instance, it would bring up a sprite editor where
you can choose the sprite name (label), it's format (2,4,8 gray), size, and
anything special needed.

IE:
        ___________
label: [bigX_______]

format:  bpp = bits per pixel
 x 1 bpp = black/white
 o 2 bpp = 4 grayscale
 o 3 bpp = 7/8 grayscale
        ____   ____
size:  [8___]x[8___]

PreSprite code:    mainly for Doors libraries
+------------------------------------------------------+-+
|dc.w 8                                                |^|
|dc.w 1                                                |-|
|                                                      |v|
+------------------------------------------------------+-+

Sprite:
[X][X][ ][ ][ ][ ][X][X]
[ ][X][X][ ][ ][X][X][ ]
[ ][ ][X][X][X][X][ ][ ]
[ ][ ][ ][X][X][ ][ ][ ]
[ ][ ][ ][X][X][ ][ ][ ]
[ ][ ][X][X][X][X][ ][ ]
[ ][X][X][ ][ ][X][X][ ]
[X][X][ ][ ][ ][ ][X][X]

MidSprite code:
(if greyscale is chosen, will put the following code inbetween planes)
+------------------------------------------------------+-+
|                                                      |^|
|                                                      |-|
|                                                      |v|
+------------------------------------------------------+-+

PostSprite code:
+------------------------------------------------------+-+
|                                                      |^|
|                                                      |-|
|                                                      |v|
+------------------------------------------------------+-+

Again, this is just an idea...  It would be a really helpful tool to me, and
I'd be willing to bet that a lot of other programmers might use this feature
also.

-Miles Raymond      EML: m_rayman@bigfoot.com
AIM: kilier2        ICQ: 13217756       IRC: Killer2
WWW: http://www.bigfoot.com/~m_rayman