Axelay scroll proof of concept

Announce (tech) demos or games releases

Moderator: Mask of Destiny

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Axelay scroll proof of concept

Post by Shiru »

Just made this small demo (video) that shows Axelay-like scrolling to prove the fact that SNES does not use Mode 7 to do this to some people who had doubts about my explaination how this actually works. No source code is provided because it is really crude (in C), made in no time just to get something working, and because I'm pretty sure everyone here know how to implement this anyway. Maybe the demo could be handy to someone in similar situation, or just as a confirmation that there is no problem to implement this on SMD.
Last edited by Shiru on Sat Feb 25, 2012 1:51 pm, edited 1 time in total.
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

The effect is very smooth, and on both planes ! Well done :)
djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch »

nice!
sega16
Very interested
Posts: 251
Joined: Sat Jan 29, 2011 3:16 pm
Location: U.S.A.

Post by sega16 »

Genesis does what Nintendo does
Nice work and I assume it is just an hblank raster
Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru »

Yes, technically it is very simple - vertical scroll position modified every scanline using hblank interrupt and a precalculate table of offsets to create 'perspective' (i.e. just scroll_y+table[scanline]).
sega16
Very interested
Posts: 251
Joined: Sat Jan 29, 2011 3:16 pm
Location: U.S.A.

Post by sega16 »

That is what I assumed it was I relay think this could be used for something cool.
HardWareMan
Very interested
Posts: 753
Joined: Sat Dec 15, 2007 7:49 am

Post by HardWareMan »

Same effect on "Blue Sky" logo in "Vectorman" and sky in "High Seas Havoc" title screen. Nothing special. :3
ob1
Very interested
Posts: 468
Joined: Wed Dec 06, 2006 9:01 am
Location: Aix-en-Provence, France

Post by ob1 »

Great.
Even though you say the effect is easily achieved, the fact is : you get what the game, graphically, was about. And that is good.

Kudos to you.
ammianus
Very interested
Posts: 124
Joined: Sun Jan 29, 2012 2:10 pm
Location: North America
Contact:

Post by ammianus »

Interesting effect
Fonzie
Genny lover
Posts: 323
Joined: Tue Aug 29, 2006 11:17 am
Contact:

Post by Fonzie »

Quite cool :)
One thing however, do you get any CPU time left during VACTIVE? That was always the issue I got with making rasters. And a shooter need a lot of collide computations, life is unfair!
Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru »

I honestly don't know. I'm sure that there still could be enough time for game logic if it is all done properly, i.e. interrupt handler not in C etc. SNES is much slower, but manages to run the game well enough, I don't think SMD will be less capable in this case.
tomaitheous
Very interested
Posts: 256
Joined: Tue Sep 11, 2007 9:10 pm

Post by tomaitheous »

Heh. Chris Covell made an Axelay demo too, a few years back. You can see it in the video here:
http://www.youtube.com/watch?v=f-YSnIDsz5U
(starting at 9:50)
Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru »

Funny thing that even the announcement in the video states that it is Mode7, although it isn't.
andlabs
Very interested
Posts: 62
Joined: Sat Aug 08, 2009 4:44 pm

Post by andlabs »

I'm guessing more people will recognize it by calling it "mode 7" even though it's not what it actually is. I've been on your side of the fence too :/
Oerg866
Very interested
Posts: 211
Joined: Sat Apr 19, 2008 10:58 am
Location: Frankfurt, Germany
Contact:

Post by Oerg866 »

I tried something like this before as the concept behind it is quite interesting.

I am figuring out the math right now to make an universal scaling thing that scales a image to x lines using HBLANK routines :)
Post Reply