English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 19 September 2017, 15:43   #1
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Palette problems

Hi folks,

Sorry, not sure if this falls under coding but it's driving me nuts.

I've started my Double Dragon port in Amos. It's working fine and I now have a movable and animated character with set screen boundaries etc.

The problem is the palettes for the background and sprite just will not match match up.

I don't get it, I remapped both the current sprites and the background to the same palette in PPaint then saved in the correct format, but in when I run the program in Amos the sprite's colour is all messed up. If I use "Get Sprite palette" then the background gets messed up.

This isn't the first time I've attempted a game and the palette is always one of the first things to do. Usually remapping in PPaint does the trick, but it's just not working this time and I don't know what to do.

I'm dying to get back into the code editor, but I've spent about six hours trying to get this damn palette problem fixed and I've pretty much got no-where.

Honestly don't know what to do next, so any help would be great, thanks!
Brick Nash is offline  
Old 19 September 2017, 19:58   #2
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,516
ok,when you say messed up you mean colors got changed or got repositioned? In the first case remember that while dpaint (especially AGA) uses 00-ff for RGB scale, the old OCS/ECS use only 0-f , therefore there might be some shift; in the second case i remember sprites using the second half of a 32 color palette, but hope someone more knowledgeable will jump and explain better.
saimon69 is offline  
Old 19 September 2017, 22:23   #3
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Thanks for the reply. The colour order all seems to be the same in the palettes in PPaint and the outcome is identical whether it's AGA, OCS or ECS.

I did a short video to illustrate the problem. As you can see the bob is almost transparent.

[ Show youtube player ]

Last edited by Brick Nash; 19 September 2017 at 22:31.
Brick Nash is offline  
Old 19 September 2017, 23:05   #4
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
Sprites can only use colours 16–32.
idrougge is offline  
Old 20 September 2017, 07:39   #5
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Bingo! That was it. I rearranged the palette so that the bob's colours came first and it's fine now.

That's one to write down in the notebook for future reference. Thanks all. Great help as always!
Brick Nash 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
[feature] palette Asle project.Maptapper 2 06 July 2013 02:14
Standard Palette Brakus Coders. General 3 04 May 2009 07:08
All icons with same palette???? Rochabian support.Apps 6 11 January 2007 18:30
How To Get Palette From Screenshot?? method project.Sprites 4 18 December 2006 18:32
Palette Problems Locash support.WinUAE 13 21 October 2003 16:10

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 10:29.

Top

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