Log In  

Cart #fawasirudi-0 | 2019-06-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Here's a small demo we made for Flashback 2019 held in Sydney. There are some firsts (I think... I hope) like the full screen X/Y distorter (at 60 FPS).


code - kometbomb
gfx - ilkke & animal bro
musix - gruber

P.S. I used my very old code that seem to use someone's matrix math functions and I can't find the thread I borrowed them from so thanks and credits to him/her! They're named like rot_x_m() and lookat_m() etc.

P#65344 2019-06-22 18:20

The fullscreen distorter is indeed impressive.
FYI (see @JWinslow23 post) that poke4 is ~30% faster than memcpy (memset?) for multiple of 4 bytes copy - looks like it can apply here.

function mcpy(dest,src,len)
 --because poke4() is so
 --relatively fast, it actually
 --outperforms memcpy(). the
 --print_big() function abuses
 --this very much.
 for i=0,len-1,4 do
P#65358 2019-06-23 09:19

Oh, wow. Thanks for that. Almost seems to be something to avoid, like the thing when rectfill() was pretty much free.

P#65360 2019-06-23 10:31

could that technique be used for full screen rotation?

P#65371 2019-06-23 19:08

Sure, I have code for that. The texture becomes a bit distorted in the process though.

P#65382 2019-06-24 11:26

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-04-22 13:54 | 0.031s | 2097k | Q:22 (18/35)