News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

Raster Bars

Started by kevin, May 15, 2005, 02:30:36 PM

Previous topic - Next topic

kevin

Raster Bars are back

 This picture shows the latest sprite rendering mode in PLayBasic, which is a rotated scan line based colour replacement.  This mode lets you defined a key colour in the sprite, which is then replaced with a user defined colour for each scan line.    Thus simulating the classic Raster Bar effect.

kevin

#1
And here's some rotating raster bar sprites (the same as above actually) with a trial / optional sine distortion added.. single pass :)

kevin

#2
Just threading in the new commands to control the new modes.  

question,  I was thinking that the sprites vertical Raster palette could be supplied in array by the user, so then all the normal array commands etc and be used upon it..

But what to call it..

SpriteColourRemap ThisSprite,Buffer()

SpriteColourLineMap ThisSprite,buffer()


of course the user has to make sure the array is ample size,  other wise it'll get unhappy and ready memory it shouldn't..



  MODEDIT: This stuff is completely obsolette, see Palette Mapping for such effects