Ultimate Amiga

Network Boards => AMOS Factory => AMOS Program Submissions => Topic started by: KevG on December 25, 2009, 11:28:24 PM

Title: Multi Layer Parallax Demo + source!
Post by: KevG on December 25, 2009, 11:28:24 PM
Hi folks

A little present for you all.

(http://homepage.ntlworld.com/kevonthenet/amiga/beast.png)


Included in the attached .lha file is the source code as well as the executable. I am working on a better version that supports 32 colours in dual playfield mode by using a few hacks. I will upload it when
it is finished. Thought I would share this version with you guys.

Regards Kev G

p.s. If you want the .adf you can get it here......
homepage.ntlworld.com/kevonthenet/amiga/beast.adf (http://homepage.ntlworld.com/kevonthenet/amiga/beast.adf)

Title: Re: Multi Layer Parallax Demo + source!
Post by: SamuraiCrow on December 26, 2009, 05:00:29 AM
Looking good there KevG!   :)
Title: Re: Multi Layer Parallax Demo + source!
Post by: Lonewolf10 on December 30, 2009, 11:22:59 AM

Yeah, cool demo.

I have been wondering whether it's possible to mask out colour 0 without using duel screens. The idea being that I can use screen 0 to do a rotating grid effect and then screen clone other screens and overlap them (with different colours for the lines on each screen, and with each screen slightly offset).
At the moment I'm just experimenting with different things to put in my own demo... next thing is some copper scrolling (to make you feet like you are travelling forward), but that involves creating my own copperlist from scratch! :)  (the reason being it will have several rainbows on each line, and AMOS' rainbow command doesn't support that, plus I may throw in a mirror effect too!)


Regards,
Lonewolf10

Title: Re: Multi Layer Parallax Demo + source!
Post by: SamuraiCrow on December 30, 2009, 05:14:09 PM
@Lonewolf10

I found the Stars extension on FTP.Funet.fi and it allows multiple color changes on a line in Amos.
Title: Re: Multi Layer Parallax Demo + source!
Post by: KevG on December 30, 2009, 08:14:18 PM
Hi Lonewolf10....

I have managed to get 24 colours in the back ground by creating 3 small screens (64-high, each 8 colours) and positioning them down the screen one after the other. I then open a large screen (320 x200) then call the dual playfiled command with large screen on top with the first small screen I created first. You can actually see all three screens underneath the large one! But!, all the colours are screwed up on the small screens. I know it is working because I use "Print Screen 1, Print Screen 2" etc on each screen and you can clearly see the text underneath the large screen.

I am trying to figure out how the Actions Replay cartridge manages to resize the width of an amiga screen so that I can do the same for the 3 small screens in AMOS. If I can do that, then I can match all the bit-planes up properly and I could have 24 colours on the back playfield.

Still experimenting.......

Title: Re: Multi Layer Parallax Demo + source!
Post by: Lonewolf10 on December 31, 2009, 01:12:44 PM

@ SamuraiCrow

Thanks, I will check out the Stars extension. Anything to make it easier is welcomed :)


@ KevG

Thats a cool tip. I will see what I can do using a similar setup.


Regards,
Lonewolf10