How to do AGA copperbars in Blitz using display library
Hi,
I know it's very old hat but I'm retro through and through :). Anyone know if it's possible to do the classic bouncing AGA copper bars in Blitz using the display library? Coagulus |
Well, I decided to play with the Displayrainbow command and bars can be done. The code is not the best I'm sure, but it produces AGA bars!
Code:
; AGA copperbars by Coagulus |
(dig out)
I hope you use Newtypes for this kind of stuff nowadays? It looks a little bit Amos-like to me.... |
Haha, I have been known to use them. I'm afraid my code hasn't changed much since the zx spectrum!
|
Quote:
Adding only 4 bytes to your src makes a big speedup: Code:
For a=0 To 31 Code:
DisplayBitMap 0,0 this Code:
For a=1 To 16 Code:
;we try to create bars of 32pixl height: |
AGA Copper Bars by Coagulus
2 Attachment(s)
So, my edits would lead to this:
Code:
; AGA copperbars by Coagulus (EAB) Next, we make it newtype style...maybe;) |
That's cool, far more efficient! :bowdown
|
Hello guys,
what about an OCS/ECS version of the above example? ;) |
1 Attachment(s)
Quote:
Code:
; AGA copperbars by Coagulus (EAB) Code:
CheckAGA=1 |
so noobs like me can learn from the masters :P
thanks! |
All times are GMT +2. The time now is 14:56. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.