• Welcome to Dark Bit Factory & Gravity.
 

Barrel Scroll full source

Started by Shockwave, December 16, 2009

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Shockwave

This shows how to achieve the classic Amiga barrel scroll effect in Freebasic, the archive includes the music and gfx.
Shockwave ^ Codigos
Challenge Trophies Won:


Shockwave

Hmmm.. What version of FB mate?
Did you compile with -lang deprecated ?
Shockwave ^ Codigos
Challenge Trophies Won:

nzo

Yes, depracated as always.
Latest version (checks) - 0.20.0
Strange?

Shockwave

Shockwave ^ Codigos
Challenge Trophies Won:

Clyde

#5
instead of the rgb line try this:


dim col as uinteger=( pdxfnt.bmp.pal(L*3) shl 16 )or( pdxfnt.bmp.pal(L*3+1) shl 8 )or(pdxfnt.bmp.pal(L*3+2))
if col>0 then FONT_COLOURS(L)=col
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won: