English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 25 December 2015, 15:26   #1
nirvan75
Registered User
 
nirvan75's Avatar
 
Join Date: Dec 2015
Location: italy
Posts: 13
Attached sprites

Hi,

can someone help me to better understand the concept of "attached sprites"?
What I understood is that a sprite can have 4 colors (including transparency) and if I want to have a 16 color sprite the only way is to use 2 sprites attached, identical in size.

But what is not clear to me is how do I create the sprite starting from the IFF, before I convert it to raw file (probably I will use PicCon for conversion from IFF to RAW and finally include the raw in ASM-ONE code).
For example: Do i have to draw my sprite with 16 colors, save it to IFF and then PicCon will create 2 attached sprite (in a raw file) for me or else?

The target is not for AGA Amigas, but older models.

Maybe if you could attach a very simple example file, it would be the best!
Thanks
nirvan75 is offline  
Old 25 December 2015, 20:42   #2
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
It can convert from IFF to any output format you want, including hardware compatible format with control-words included for you. Open Settings->Image Format and select Sprite format and check Attached, other format options are in the Project menu.
Leffmann is offline  
Old 25 December 2015, 21:28   #3
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
you need to put the first two bitplanes in one sprite and the next two bitplanes in the other..
hooverphonique is offline  
Old 27 December 2015, 11:42   #4
nirvan75
Registered User
 
nirvan75's Avatar
 
Join Date: Dec 2015
Location: italy
Posts: 13
Thank you.

I successfully converted from IFF to asm .s and used the datas in my code. Next step I will try to add two more sprites in order to obtain a 32 pixel wide sprite (16 color).
nirvan75 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reuse sprite, attached and unattached phx Coders. Asm / Hardware 8 03 August 2015 12:58
Amiga Coverdisks - How were they attached? bill-rhit Nostalgia & memories 23 13 February 2013 17:08
Identify attached module absence request.Modules 7 12 August 2012 23:45
WinUAE 2.4.1 does not boot with attached HD anymore Jasmin68k support.WinUAE 9 18 June 2012 09:31
hd wont boot with df0 attached terexuk support.Hardware 5 30 March 2011 07:48

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:18.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06644 seconds with 15 queries