PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Parallax Effect

Hello All,

I was wondering anybody can help me.
Is there a good way to implement parallax scrolling with the surfaces on GapiDraw with minimal processing time?

I tried creating the surfaces in CreateSurfaces, then bltfast them in ProcessNextFrame with x and y coordinates altered, but it doesnt work... Am missing something?

Thank you,
flavia
I'm not sure how you should go about it in gapidraw.

Check the parallax demo Jacco coded some time ago. It features about 9 or so layers whizzing around. Only drawback for you might be that it isn't coded with gapidraw but with overloaded stuff.

go to the download section at:
http://overloaded.pocketmatrix.com

cheers

Rhino