01 March 2013, 11:50 | #1 |
Zone Friend
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? |
01 March 2013, 16:45 | #2 |
Registered User
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 |
01 March 2013, 18:21 | #3 | |
Zone Friend
Join Date: Jan 2005
Location: italy
Age: 46
Posts: 244
|
Quote:
ok, thanks for the good advices i will try to think more "creative" no pain , no gain ^_^ |
|
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 |
|
|