Ultimate Amiga

Please login or register.

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

Author Topic: No progress with scrolling! :(  (Read 15693 times)

0 Members and 1 Guest are viewing this topic.

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: No progress with scrolling! :(
« Reply #15 on: July 05, 2016, 08:27:55 PM »

When you do get your AMOS/AMCAF setup sorted, i found a perfect Scrollign example for you to look at on this disk:

http://www.ultimateamiga.co.uk/index.php?action=tpmod;dl=item367

Open the folder "chapter 5" and run ContinuousScroll.amos

...  if correctly modified, you could probably merge it with the tutorial program I made to get the result you are after.
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: No progress with scrolling! :(
« Reply #16 on: July 05, 2016, 09:33:21 PM »

i should say, i do have a slight "hidden agenda" to getting this to work, in that I love Streets of Rage, and would love to look into adapting my (unfnished) Horace Boxing game to work in a similar style!

Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

ColdWarTom

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 4
  • Generic Amiga User
Re: No progress with scrolling! :(
« Reply #17 on: July 20, 2020, 01:49:10 PM »

I’ve made a project with a screen that is two tiles wider than the viewable area and I’m get block put blocking the bulk of the screen and bliting a new set of tiles into the invisible column on either side of the screen as needed depending which direction you’re going and it’s almost smooth. I was going to ask for help optimizing this by either just bliting the entire screen (when the level map entry for that tile wasn’t blank) or by finding a way to just speed things up. But I haven’t gotten it to run as smoothly as just scrolling the screen. So is the prevailing wisdom suggesting that I widen the screen, blit more tiles and just scroll the screen instead? Im still wrapping my head around repositioning the screen to match the position of the tiles without making it obvious that I’m doing it. So I’m not there yet. What would you suggest?
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: No progress with scrolling! :(
« Reply #18 on: July 20, 2020, 01:55:23 PM »

Did you read post #2 carefully?
Logged

ColdWarTom

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 4
  • Generic Amiga User
Re: No progress with scrolling! :(
« Reply #19 on: July 20, 2020, 04:04:52 PM »

Yeah. I guess I’m just confirming that this is the best method. I read it a few times and then saved it into my todo list. I’m using this as my starting recipe.

My screen scrolling is tied to how close the main bob is to each side of the screen. When I offset back to wrap the screen, it sounds like I’m offsetting the main bob the same amount at the same time?
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: No progress with scrolling! :(
« Reply #20 on: July 20, 2020, 04:51:53 PM »

Because this method never fully redraws the screen, you have to redraw and undraw the bobs using double buffering.  The bob command automates this process but doing synchronization manually often allows more bobs onscreen.
Logged

ColdWarTom

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 4
  • Generic Amiga User
Re: No progress with scrolling! :(
« Reply #21 on: July 20, 2020, 06:28:43 PM »

I’ve been pasting my icons and it’s fast but it crawls when I double buffer. How else can I populate the level? Am I double buffering wrong? I feel like I’m mixing a few methods. What’s the order of operations for a fast double buffer?

Double Buffer
Autoback 1
Blit screen
Blit bobs
Screen Swap...

Sorry. I’m not in front of my Amiga. Can anyone offer a simple snippet like the one above?

I need to review the manual but I’ve noticed that it doesn’t give examples of a few things.
Logged

selur

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
Re: No progress with scrolling! :(
« Reply #22 on: September 08, 2020, 01:26:49 AM »

SCREEN SWAP is used only in Autoback 0

Autoback 1 and Autoback 2  - not allowed Screen Swap, because it is automated mode
Logged

DarkN3mo

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 22
  • Generic Amiga User
Re: No progress with scrolling! :(
« Reply #23 on: July 02, 2024, 03:00:58 AM »

hello, intersting, but drive not work :

Download - https://drive.google.com/uc?export=download&id=0B4zq7rE1m0e4Z0t0WW9ObDVuQk0

I
Logged
Pages: 1 [2]   Go Up
 

TinyPortal 2.2.2 © 2005-2022