Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Spot Lights (PlayBasic)

Author
Message
Kevin Picone
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 1st Feb 2006 20:00 Edited at: 31st Mar 2011 05:00
Here's a bit of a spot light effect. The effect is drawing a full screen tile map to one FX image, then drawing some inverted (sort of) gouraud triangles to a second image. The pair are then merged during the blit image process. It's certainly a bit of a huge mouthful for my trusty duron 800mhz, but should be more than viable on faster machines. This one's an MMX only effect.

The effect is running full screen here, you could selectively limit it to only blit the 'visible region' with a bit of clever coding

Kevin Picone
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 1st Feb 2006 20:02 Edited at: 31st Mar 2011 05:01
And here's an alpha particle effect blended with the same blit routine. It makes the particles sort of morph into each other. Very cool when running..

Login to post a reply

Server time is: 2026-06-12 23:24:00
Your offset time is: 2026-06-12 23:24:00