15 April 2021, 12:22 | #1 |
Registered User
Join Date: Mar 2016
Location: Thun / Switzerland
Posts: 57
|
Stardust sw scroller - how is it done
I particularly like the sw scroller on the beginning of this game. Thinking about making a starwars scroller myself. I first wanted to use the 102-zoom trick. Made a quick debug session using winuae and it seems this one is not using it. Also noticed some blitter stuff in fill mode going on.
Any ideas on this? |
15 April 2021, 12:24 | #2 |
Registered User
Join Date: Mar 2016
Location: Thun / Switzerland
Posts: 57
|
Video showing the effect
[ Show youtube player ]
|
15 April 2021, 12:54 | #3 | |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
Quote:
I guess you will need ~6000 pixels for a similar effect. Another method would be to skip lines with the copper to get the Y axis projected, and to scale the text with a feedback zoomer. Or as you said 102 copper zoom and prescaled text |
|
15 April 2021, 13:22 | #4 |
Registered User
Join Date: Mar 2016
Location: Thun / Switzerland
Posts: 57
|
Okay. I just noticed the slow framerate. This makes it a lot easier of course. But who cares as long as it looks good. 102 copper zoom often looks a bit wierd.
|
15 April 2021, 14:27 | #5 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
If there's blitter fill going on, they are probably plotting edge points.
You could create a remap table for each level of scale, and eor your edge points (therefore any plotted on top of another, will cancel them out, in the same way you eor lines in a filled 3D object to blitter fill it) EDIT. That's actually one of the nicest looking Star Wars scrolls I've seend done on A500 |
15 April 2021, 15:34 | #6 |
Registered User
Join Date: Jul 2015
Location: Novi Sad, Serbia
Posts: 1,645
|
Here is explained very nicely:
https://codetapper.com/amiga/sprite-tricks/stardust/ |
15 April 2021, 15:41 | #7 | |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,410
|
Quote:
|
|
15 April 2021, 16:23 | #8 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,918
|
I guess you just need one highres image of the text (which you can create on the fly using a font and ascii text) and then shrink it in many steps. Store the precalc shrunk images (it's 1 bitplane only) and display always the lines from the corresponding shrunk image with the right width in the corresponding screen line. You just need one copper move per line to adjust the bitplane pointer and for the darkening lines in the rear an additional copper move to dim the colour down from the bright yellow.
|
15 April 2021, 16:46 | #9 |
Registered User
Join Date: Mar 2016
Location: Thun / Switzerland
Posts: 57
|
Doesn’t this come to the same memory requirement like as saving the whole effect as animation? This would require several MBs of memory if I unterstand you correctly.
|
15 April 2021, 17:35 | #10 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,918
|
I don't think it would be that much because it is just 1 bitplane. The good thing is that you can create the content of this memory from very little storage space on the disk. You just need the text (a few hundred bytes), a font (probably some KBs) and the code to create the image with the highest resolution and code for creating the shrunk images (perhaps 1 KB). The memory you need for the shrunk images can be freed immediately after you displayed the animation. If the series of shrunk images absolutely doesn't fit in the 512KB, you can calculate new shrunk lines in parallel to displaying the old ones because, after all, you never see more than a few lines of ascii text at the same time. This means you can discard the text lines that have scrolled out of view and use that space for calculating the shrunk images of the new text lines.
|
15 April 2021, 18:30 | #11 | |
Registered User
Join Date: Mar 2016
Location: Thun / Switzerland
Posts: 57
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STARDUST vs SUPER STARDUST - WHICH IS BEST? | ZEUSDAZ | Retrogaming General Discussion | 25 | 11 September 2021 14:54 |
Sine scroller | pmc | Coders. Tutorials | 95 | 02 July 2017 16:40 |
Sine scroller - dycp | blazeb | Coders. Asm / Hardware | 6 | 02 May 2012 10:08 |
Corkscrew scroller | pmc | Coders. Tutorials | 33 | 01 September 2010 12:41 |
Flickering sine scroller | pmc | Coders. Tutorials | 4 | 24 June 2009 09:19 |
|
|