Jump to content
IGNORED

Sprite library


Bones-69

Recommended Posts

Anyone open to a discussion or interested in the concept of a sprite library for the TI? Any ideas on how such a thing might best work or be implemented?

 

My thoughts are it would be great to have a central resource for sprite designs, sprite animations, multi-coloured sprites etc. Somewhere to perhaps upload designs and hex codes for sharing and general inspiration.

 

 

  • Like 3
Link to comment
Share on other sites

I sort of like the idea. Feels like a demoscene inspiration... I suppose sprite logic is complex enough that some generators' of sprites feel a similar level of possessiveness as do some software authors of thier creations.
Libraries are great!!!

Assembly routines

Sound effects

Character sets

Speech code(LPC)

Graphics(Bitmaps,Sprites)

Subroutines(Calls)

I would welcome all!!!

Link to comment
Share on other sites

Here's some sprites for a top-down shoot 'em' up, the player ship, exhaust, 3 types of player fire, and an explosion.

 

The ship, 1st hex pattern is normal ship, 2nd is banking to the left, 3rd is banking to the right
00010103020507091113274B9CA3DC00000000808040C0201090C8A4728A7600

000101030305070A1212272F3C3300000000008080C0C0603018188C4CAC7C00

00000001010303060C18183132353E00008080C0C0A0E0504848E4F43CCC0000

 

The player fire, 1st one is normal, the others are for power-ups, just change the char pattern when ship coincides with powerup sprite.

0001030303010000000000000000000000008080800000000000000000000000

00081C1C1C080000000000000000000000207070702000000000000000000000

0123737371200000000000000000000000889C9C1C0800000000000000000000

 

The exhaust for the ship, should be placed 16 or just less, pixels behind the ship and have a ticker animate through the 3 charpats.

0001040208010402000100000200000000004000A00020800000008000000000

0000000208000108040002000100000000400000108000A00080004000000000

0000020005000200000200010000000000004000200040800000000000000000

 

The explosion sequence. Can be cycled through on a limited loop?

0000020A14021028000902080A000000000040104428D4284028209010000000

000004281A0034022801065802500400004888D08A102E004054A04AA0548800

689404D42804A170001244B11425C07870248A268852AA54805044222A002A90

 

 

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Jetpack guy!

 

 

 
100 CALL CLEAR :: CALL SCREEN(6):: CALL MAGNIFY(3)
110 FOR I=1 TO 5 :: READ A$,A :: CALL CHAR(92+I*4,A$):: CALL SPRITE(#I,92+I*4,A,100,100):: NEXT I
120 FOR I=3 TO 16 :: CALL COLOR(#5,I):: CALL SOUND(-500,400,25,-5,25):: NEXT I :: GOTO 120
1000 DATA 000E1B111312141414130E0D01010101F0C0F0F804028A8AFA8AFC50505028F8,2
1010 DATA 0000000000010303030000000000000000000000F8742454040000A0A0000000,8
1020 DATA 0000000000000000000000000000000000300000008850200070000000000000,16
1030 DATA 0000040E0C0C0808080C01000000000000000000000000000004000000A0D000,7
1040 DATA 0000000000000000000000000C0C0C0400000000000000000000000000000000,2
 
Link to comment
Share on other sites

Here's the Jetpac game entire graphics pattern library:

 

 

Jetpac graphic patterns:

- Pilot flying facing left:
	Top: (4 characters)
		000003000F0E0E07000316167807033F0000C0E068E8E8CC0CD45C545CB4BC78 
	Bottom: boosting up(4 characters)
		3F300070F0000000000000000000000028547C00143844360810000000000000
	Bottom: boosting left 1 (4 characters)
		3F300070F0000000000000000000000028547C00548828500528000000000000
	Bottom: boosting left 2 (4 characters)
		3F300070F0000000000000000000000028547C006C200C210410000000000000
	Bottom: boosting left 3 (4 characters)
		3F300070F0000000000000000000000028547C005A4812250801000000000000
	Bottom: not boosting (4 characters)
		3F300070F0000000000000000000000028547C00000000000000000000000000
	
- Pilot flying facing right:
	Top: (4 characters)
		0000030716171733302B3A2A3A2D3D1E0000C000F07070E000C068681EE0C0FC
	Bottom: boosting up (4 characters)
		142A3E00281C226C1008000000000000FC0C000E0F0000000000000000000000
	Bottom: boosting right 1 (4 characters)
		142A3E002A11140AA014000000000000FC0C000E0F0000000000000000000000
	Bottom: boosting right 2 (4 characters)
		142A3E00360430842008000000000000FC0C000E0F0000000000000000000000
	Bottom: boosting right 3 (4 characters)
		142A3E005A1248A41080000000000000FC0C000E0F0000000000000000000000
	Bottom: not boosting (4 characters)
		142A3E00000000000000000000000000FC0C000E0F0000000000000000000000
		
- Pilot standing facing left:
	Top antenna to front: (4 characters)
		000003000F0E0E0700031616780703070000C0E068E8E8CC0CD45C545CB47CF8
	Top antenna swinging: (4 characters)
		000003000F0E0E0700031616780703070000C0E064E4E8CC0CD45C545CB47CF8
	Top antenna to back: (4 characters)
		000003000F0E0E0700031616780703070000C0E064E4E4CC0CD45C545CB47CF8
	Bottom: (4 characters)
		070707030003070F0000000000000000A8547C00000000000000000000000000
		
- Pilot standing facing right:
	Top antenna to front: (4 characters)
		0000030716171733302B3A2A3A2D3E1F0000C000F07070E000C068681EE0C0E0
	Top antenna swinging: (4 characters)
		0000030726271733302B3A2A3A2D3E1F0000C000F07070E000C068681EE0C0E0
	Top antenna to back: (4 characters)
		0000030726272733302B3A2A3A2D3E1F0000C000F07070E000C068681EE0C0E0
	Bottom: (4 characters)
		152A3E00000000000000000000000000E0E0E0C000C0E0F00000000000000000
		
- Pilot walking left:
	Bottom: short step (4 characters)
		0707070B050C1D3F0000000000000000A8547C8080C0C0C00000000000000000
	Bottom: long step (4 characters)
		07070F1B193070F00000000000000000A8547C80C0B070E00000000000000000
		
- Pilot walking right:
	Bottom: short step (4 characters)
		152A3E01010303030000000000000000E0E0E0D0A030B8FC0000000000000000
	Bottom: long step (4 characters)
		152A3E01030D0E070000000000000000E0E0F0D8980C0E0F0000000000000000
		
- Fuel tank: (4 characters)
	18FFFF8ABA8ABAB8FFFF18000000000018FFFF8BBB9BBB89FFFF180000000000
	
- U1 top: (4 characters)
	010102020505090809090909090909098080C0C0E0E0F010F0F0F0F0F0505050
- U1 middle: (4 characters)
	09090909090919192929595989B9B9B910F0F0B030B018F8FCF4F6F6F1F7F7F7
- U1 bottom: (4 characters)
	B9B9B9B9F9A9A9AFF4F5555289B9B8B8F7F7F7F7FFF5F5F52FEFEACA91971717
	
- U2 top: (4 characters)
	000000000101030404070C0C0F0F0B0B387CF2F2F2F2F2F2F2F2FAFAFAFAFAFA
- U2 middle: (4 characters)
	0B0B0D0B0B0B0B0D0B0B0B0B0F0F0C0B5A5A525616F6F616D6167616F6F67C76
- U2 bottom: (4 characters)
	0D0B1B37375757D7D7D7D7D7DFC08080767676767EFE9CA22E214F4F4F4F4F4F
	
- U3 top: (4 characters)
	01010101010205080909091E1325254B808080808040E010F0F0F008F8FCFCFE
- U3 middle: (4 characters)
	7FD9D9A6A6FF8B8B8A8A8A8A8A8BFFD9FE9B9B6565FFFFFFD1DDD1DD11FFFF9B	
- U3 bottom: (4 characters)
	D9A6A67F454545457F285C5C829E9E9E986565FEFEFEFEFEFE142E2E414F4F4F
	
- U4 top: (4 characters)
	01010303030705050D09091B151913158080C0C0C0E0A0A0B090909888888888
- U4 middle: (4 characters)
	1911191D1F1F1F0F8F8F8F979797BBBB888898B8F8F8F8F0F1F1F1E9E9E9DDDD	
- U4 bottom: (4 characters)
	BBFBABABAB8BFBF3F2E5E5C8C9898980DDDFD7DFD5D1DDCF4FE7E713F3F1F101

- Platform left: (1 character)
	2F7FFFDDFB7B7121
- Platform middle: (1 character)
	BDFFFFF7EBDDAD04	
- Platform right: (1 character)
	4CFEFF3EFFFE9C08
	
- Player life: (1 character)
	18243C7E5A3C3C66
	
- Explosion 1 left: (4 characters)
	0F3B676F3FDD7B7EFFFFFFFC6B0F07010E9CD3EFEFFEFFF97EBE7FFFFEFEF8F0
- Explosion 1 right: (4 characters)
	C0E0F8C4BEFFDFBF5EE478FCF8F0860000000000000000000000000000000000
	
- Explosion 2 left: (4 characters)
	000007091E171F0F1F1F1F0E0000000000001FBFFFDFEFEFD7BF7FFEE67C0000
- Explosion 2 right: (4 characters)
	000080C0D8BCECFCF8C0E0C00000000000000000000000000000000000000000
	
- Explosion 3 left: (4 characters)
	0000000000010303030301000000000000000E332FFFDFACEFDFDE0C00000000
- Explosion 3 right: (4 characters)
	000000B0F8F870C0C0C000000000000000000000000000000000000000000000
	
- Rocket flame 1: (4 characters)
	2F7F5EB72E578A3753240B1002040000FCF4ECFDF4ED5A6AB462589040884000
- Rocket flame 2: (4 characters)
	BF122D5B2A154E1209001200000200007AF42ED4A9D218C8A400402000008000
	
- Gold bar: (4 characters)
	00000000000000000F1F3F20404080FF0000000000000000F8ECDE3F1F1E0EFC
	
- Radioactive: (4 characters)
	00000000000F10244E6F20604123100F0000000000F80412397B8283C1E204F8
	
- Triangle: (4 characters)
	0000000304050F0B1010207098BFF87000000080C0C0E0A01010081C26EE3E1C
	
- Diamond: (4 characters)
	00000000030F1F2F4728381F0F07030100000000E0F0F8F4E2141CF8F0E0C080
	
- Blob: (4 characters)
	000000000000000F3860C3C7CFFF7F3F00000000000000F03C7EFFFFFFFFFEFC
	
- Alien level 1-1: (4 characters)
	00000801255B27EF932751020200000000001078F4C29DE3F9E38EECF8000000
- Alien level 1-2: (4 characters)
	00000004014D165BC31725020400000000009070E49A3F8FE3DFA68C78000000
	
- Alien level 2-1: (4 characters)
	000A160F4F3F79F636F93F5F6B1A12000044E8F4FDFE9F6E6C9FFEFFEA944000
- Alien level 2-2: (4 characters)
	00121A6B5F3FF936F6793F4F0F160A00004094EAFFFE9F6C6E9FFEFDF4E84400
	
- Alien level 3-1: (4 characters)
	071F3F7971E3E7E7FFFFFF7F7F3F1F07E0F8FCFEFEFFFFFFFFFFFFFEFEFCF8E0
- Alien level 3-2: (4 characters)
	00071F397163E7E7FFFF7F7F3F1F070000E0F8FCFEFEFFFFFFFFFEFEFCF8E000
	
- Alien level 4: (4 characters)
	00000000781ECFFFFBC71F0000000000000000000000F0ECDF80F00000000000
	
- Alien level 5: (4 characters)
	0000000001070D3F7FD97F3F000000000000000080E0B0FCFE9BFEFC00000000
	
- Alien level 6: (4 characters)
	0003040507047B94B5F47B04070405030080C0C0C040BC52565EBC40C040C080
	
- Alien level 7: (4 characters)
	00101E3F61C0FFCACAFFC0613F1E1000000000C0F83FFFC0C0FF3FF8C0000000
	
- Alien level 8: (4 characters)
	00060F19192F4648DFDFFF7F3F130C000060F09898F46E9EFFFFFFFEFCC83000
	
- Spectrum font: (129 characters # 48-127)
	003C464A52623C000018280808083E00003C42023C407E00003C420C02423C00                            
	00081828487E0800007E407C02423C00003C407C42423C00007E020408101000                            
	003C423C42423C00003C42423E023C0000000010000010000000100000101020                            
	00000408100804000000003E003E00000000100804081000003C420408000800                            
	003C4A565E403C00003C42427E424200007C427C42427C00003C424040423C00                            
	0078444242447800007E407C40407E00007E407C40404000003C42404E423C00                            
	0042427E42424200003E080808083E000002020242423C000044487048444200                            
	0040404040407E000042665A42424200004262524A464200003C424242423C00                            
	007C42427C404000003C4242524A3C00007C42427C444200003C403C02423C00                            
	00FE1010101010000042424242423C00004242424224180000424242425A2400                            
	00422418182442000082442810101000007E040810207E00000E080808080E00                            
	00004020100804000070101010107000001038541010100000000000000000FF                            
	001C227820207E00000038043C443C000020203C22223C0000001C2020201C00                            
	0004043C44443C000000384478403C00000C10181010100000003C44443C0438                            
	0040407844444400001000301010380000040004040424180020283030282400                            
	0010101010100C00000068545454540000007844444444000000384444443800                            
	000078444478404000003C44443C040600001C20202020000000384038047800                            
	0010381010100C00000044444444380000004444282810000000445454542800                            
	000044281028440000004444443C043800007C0810207C00000E083008080E00                            
	00080808080808000070100C1010700000142800000000003C4299A1A199423C

- HI: (2 characters)
	0042427E42424200003E080808083E00

- Numbers: (10 characters)
	003C464A52623C000018280808083E00003C42023C407E00003C420C02423C00
	00081828487E0800007E407C02423C00003C407C42423C00007E020408101000
	003C423C42423C00003C42423E023C00
	
- Laser fire 1: (4 characters)
	00000000000000000000FF000000000000000000000000000000FF0000000000
	
- Laser fire 2: (4 characters)
	000000000000000000007E0000000000000000000000000000007E0000000000
	
- Laser fire 3: (4 characters)
	00000000000000000000F3000000000000000000000000000000CF0000000000

 

 

Link to comment
Share on other sites

Jetpack guy!

100 CALL CLEAR :: CALL SCREEN(6):: CALL MAGNIFY(3)
110 FOR I=1 TO 5 :: READ A$,A :: CALL CHAR(92+I*4,A$):: CALL SPRITE(#I,92+I*4,A,100,100):: NEXT I
120 FOR I=3 TO 16 :: CALL COLOR(#5,I):: CALL SOUND(-500,400,25,-5,25):: NEXT I :: GOTO 120
1000 DATA 000E1B111312141414130E0D01010101F0C0F0F804028A8AFA8AFC50505028F8,2
1010 DATA 0000000000010303030000000000000000000000F8742454040000A0A0000000,8
1020 DATA 0000000000000000000000000000000000300000008850200070000000000000,16
1030 DATA 0000040E0C0C0808080C01000000000000000000000000000004000000A0D000,7
1040 DATA 0000000000000000000000000C0C0C0400000000000000000000000000000000,2

 

Nice one. Not what I expected. I went on to delete the irritating sound and saw a loop changing a color. What was that ? Then I saw that you set up 5 sprites. Turned off Flicker in Classic99 and saw the colorful exhaust.

 

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...