English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 02 January 2022, 04:41   #1
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 675
How to reset the palette in my AMOS

Hey guys,

I have already finished the engine in my game. However, I am doing modification to the code so I can be able to compile it as a standalone executable file. When I did that...the colors of the wall and other items is black...like faded away. When I play with the palette I set it as $0, $FF, $FF, $FF now they are all white instead of it's original color yellow. So everything that shares that palette is white now..or all green or all yellow. How do I reset the palette to normal where colors of wall is yellow like original, colors of players or cards or other items are all original from their correct color palette that is loaded from the sprite.abk instead of overwriting it with the palette command? If I remove the palette command then the walls are black instead of yellow and other sprites that share it also become black. The palette of the game is not working. I want it to get the correct palette from the screen and sprite.abk that it loads from...how do I fix this?

Much appreciate it. If you guys can help me, then tomorrow I can work on compiling the game and hopefully be able to release it by the end of day or early Monday in aminet.
xboxown is offline  
Old 02 January 2022, 05:14   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Did you do Set Sprite Palette or Set Icon Palette?
Samurai_Crow is offline  
Old 02 January 2022, 06:11   #3
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 675
I did this
load "blablablah.abk"
get sprite palette

that is about it. Is that wrong?
xboxown is offline  
Old 02 January 2022, 15:12   #4
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
That is right for sprite palette entries. For the rest, try get icon palette first and then get sprite palette. Sprites only use palette entries above 17 but the normal colors don't.
Samurai_Crow 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
[Wip] Amos Professional X : Bring AGA to Amos Pro! freddix Coders. AMOS 53 22 July 2023 09:53
Amiga 1200 problem with soft reset (and hard reset) joora support.Hardware 6 21 July 2020 10:53
AMOS Files from Writing RPG's in AMOS supercruiser request.Other 0 21 April 2020 13:03
f/s Amiga Amos Programming books / Disks / Easy Amos & other Books *mega collection!* fitzsteve MarketPlace 4 23 May 2012 04:35
Where's the amos.library on the 3-disk AMOS set? andreas support.Apps 0 15 November 2001 16:04

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 12:59.

Top

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