English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 01 March 2013, 11:50   #1
Raislin77it
Zone Friend
 
Raislin77it's Avatar
 
Join Date: Jan 2005
Location: italy
Age: 46
Posts: 244
Amiga gfx mode, i need some hints...

i want to program a game for amiga in blitz basic (the ".c" option is too difficult for now)

and i have some questions
(in the past i've created some homebrew for gba,and for morphos with opengl but nothing for the amiga classic, so maybe some questions are noobish)

in my game i have a palette of 140 colors, so 8 bitplanes, but if i want to go for 2 playfields what colors remains?

assuming in the first i use 3 bitplanes(8 colors) i can use only 5 bitplanes for the other playfield?

in this manner i can use only 32+8 colors on an aga display....

or maybe i can mantain the 256 palette for the screen bui i must use only 8 color for the bkg and the rest for the foreground?

if i want to use all the palette colors and mantain 2 playfield i must "merge" 2 differernt playfield on "the fly" and display the result as one bitmap? (it is feasible on a vanilla 1200?)

another question, the sprite palette is extra the bkg palette or they are the same?
Raislin77it is offline  
Old 01 March 2013, 16:45   #2
leathered
Registered User
 
leathered's Avatar
 
Join Date: Oct 2011
Location: UK
Age: 47
Posts: 304
Hi Raislin.
I had the same conundrum a short while back, penning out the various alternatives: 4+4, 2+6, 1+7... Unfortunately it's not quite as flexible as that regarding playfields - it's 4 + 4 I'm afraid, you can't gain extra by limiting yourself, although in theory if you go for less than 4 it should still be faster (?). So it's a maximum of 16(15) colours each. You can however have a different palette for each playfield, and then another for the sprites.
The Amiga is versatile, you can use sprites to form the second 'playfield' (16 cols) and have up to 256 cols for the foreground - 16 of those will be used for the sprites. You can also use the copper to generate a varied palette for the background, a very interesting (and to me very tricky) peice of kit for the real experts.
More bitplanes can slow down your game engine. 7 bitplanes would give you 128 colours, you might have to experiment and make some compromises to get your game up to speed.
Pending a better answer which I pray proves me wrong...
Anyway, I hope you go for it
leathered is offline  
Old 01 March 2013, 18:21   #3
Raislin77it
Zone Friend
 
Raislin77it's Avatar
 
Join Date: Jan 2005
Location: italy
Age: 46
Posts: 244
Quote:
Originally Posted by Lielo View Post
Hi Raislin.
I had the same conundrum a short while back, penning out the various alternatives: 4+4, 2+6, 1+7... Unfortunately it's not quite as flexible as that regarding playfields - it's 4 + 4 I'm afraid, you can't gain extra by limiting yourself, although in theory if you go for less than 4 it should still be faster (?). So it's a maximum of 16(15) colours each. You can however have a different palette for each playfield, and then another for the sprites.
The Amiga is versatile, you can use sprites to form the second 'playfield' (16 cols) and have up to 256 cols for the foreground - 16 of those will be used for the sprites. You can also use the copper to generate a varied palette for the background, a very interesting (and to me very tricky) peice of kit for the real experts.
More bitplanes can slow down your game engine. 7 bitplanes would give you 128 colours, you might have to experiment and make some compromises to get your game up to speed.
Pending a better answer which I pray proves me wrong...
Anyway, I hope you go for it

ok, thanks for the good advices
i will try to think more "creative"

no pain , no gain ^_^
Raislin77it 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
Soldering hints sarek2k support.Hardware 275 12 September 2023 00:36
Hints for an AROS machine jman Amiga scene 4 14 December 2011 20:08
Amiga Games Hints&Tips page Washac Amiga websites reviews 9 08 May 2007 23:00
Hints from within the GUI AmigaBoy request.UAE Wishlist 13 25 April 2007 18:07
I need GVP HD8+ hints utri007 support.Hardware 1 01 March 2007 03:51

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 19:07.

Top

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