Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Dual playfield Routine in Amos Pro  (Read 3793 times)

0 Members and 1 Guest are viewing this topic.

Amiten

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 128
  • Amos Coder Since 1990
    • Amiten Software
Dual playfield Routine in Amos Pro
« on: November 09, 2013, 10:39:06 AM »

Hello friends,

One thing I´d never make or understand clear its move 2 screens by the dual playfield command in Amos  :-[

so please some one can learn me what I do wrong...

First I take 2 - 8 colours Screens with same palette

I try to scrolling the 2 images with Amal then very bad move not smooth :(

well I think better you download my attach File with the example and see what I Get.

its a trip I think I do rigth the code but something missing....

thanks and wait for your help.
Logged
AMIGA is a Style of Life

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Dual playfield Routine in Amos Pro
« Reply #1 on: November 10, 2013, 02:00:22 PM »

At another thread there is an attachment that contains a fixed AMOS.library that fixes the dual-playfield bug.  Read that thread if you're having trouble scrolling things (see link above).

Also, if you're looking for an example of how to do parallax scrolling, a good example is here.  (Luckily this example doesn't get hit by the bug since the front playfield has all even coordinates.)
Logged

Amiten

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 128
  • Amos Coder Since 1990
    • Amiten Software
Re: Dual playfield Routine in Amos Pro
« Reply #2 on: November 11, 2013, 04:36:39 PM »

Thanks Samuraicrow Very Good now about the issues , I still cant understand rigth the way of the Colours 0 to 7 for screen 0 and 7 to 14 to the screen 1.... but now I can continue playing with the playfield.

other cuestion the maximun Screen I can open in Amos is 1020 pixel heigth (X Side) is any way to for example open a Screen with 2000 or 3000 pixel (X side)??

Thanks Again!  here is the new code of my parallax demo now much better :)

Logged
AMIGA is a Style of Life

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Dual playfield Routine in Amos Pro
« Reply #3 on: November 12, 2013, 12:36:58 PM »

The second screen uses colors 8 to 15 with 8 being transparent.

The 1024 pixel limitation in the X coordinate is a hard-coded limitation in the original chipset and Kickstart 1.3.  That will have to wait until the next version of AmosPro is completed since AGA and ECS support won't be added until then.
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022