25 December 2015, 15:26 | #1 |
Registered User
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 |
25 December 2015, 20:42 | #2 |
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.
|
25 December 2015, 21:28 | #3 |
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..
|
27 December 2015, 11:42 | #4 |
Registered User
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). |
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 |
|
|