02 April 2020, 04:57 | #1 |
Registered User
Join Date: Jan 2020
Location: Poland
Posts: 181
|
Bitmap Scrolling in Amiga Mode?
Can bitmap scrolling be achieved in Amiga Mode?
Its mostly done by DisplayBitmap command in Blitz mode. I am asking because creating and displaying something in Blitz Mode and Display Library always shifts the whole display to the right. It makes me mad - I can't center it. |
02 April 2020, 10:01 | #2 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,423
|
I am not a Blitz expert, but IIRC the Display Library on Blitz lets you use a custom Copper list. You should be able to use that to center or scroll the screen as you see fit. Perhaps a proper Blitz coder can give you an example, because I sadly don't have any for you.
|
02 April 2020, 10:12 | #3 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,368
|
The shifting to the right is normal unfortunately - you'll see it in a lot of games. Unfortunately, doing scrolling directly on an intuition screen isn't as easy as it is in Blitz mode, where you can simply give the bitmap coordinates you want to display. In Amiga mode, the simplest way might be to use a single borderless window and use the BitmapToWindow command, which lets you set coordinates. But that will be slow since it's copying the screen's data rather than simply displaying another part of it.
You could probably modify the Intuition screen's struct directly to modify the addresses used to build the display. This is what the Blitz scrolling routines do internally, but there are intricacies to take care of there that I'm not entirely familiar with so I can't guide you on that method. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vertical Scrolling by blitting outside the bitmap | Shatterhand | Coders. Blitz Basic | 31 | 05 September 2019 23:52 |
Amiga disk bitmap editor | Galahad/FLT | request.Apps | 9 | 22 November 2017 21:23 |
Looking to convert bitmap - amiga font | leathered | request.Apps | 2 | 02 May 2014 01:11 |
Cool Amiga BITMAP Fonts | thinlega | Amiga scene | 23 | 27 December 2012 20:25 |
6 classic Amiga Bitmap Brother's titles coming to GBA | Burge | Amiga scene | 39 | 25 May 2002 16:37 |
|
|