A few little effects test programs.

Community Forums/Showcase/A few little effects test programs.

Scott Shaver(Posted 2006) [#1]
EDIT: The locations for this stuff has changed to
http://www.scottshaver2000.com/site/template/template.php?page=examples

I've been playing with a number of different effects and thought I'd share, these are using BlitzMax 2D commands.

http://www.scottshaver2000.com/blitz/demo6/demo6.exe



http://www.scottshaver2000.com/blitz/demo6/plasma.exe



http://www.scottshaver2000.com/blitz/demo6/lines.exe



http://www.scottshaver2000.com/blitz/demo6/lines2.exe







MUCH cooler that the image below shows

http://www.scottshaver2000.com/blitz/demo6/lines3.exe








ImaginaryHuman(Posted 2006) [#2]
Looking good, reminds me of the Amiga days of demo's.


Grey Alien(Posted 2006) [#3]
How did you do the sinewave text one? Split it into thin slices and draw each at a different x coord?


Scott Shaver(Posted 2006) [#4]
Here is the code for the rainbow color sin wave text. Basically I take the font image and create a set of data for each character that consists of the horizontal lines making up each character. In B+ you could just use the raw pixels but doing that in BMax is way too slow.




SillyPutty(Posted 2006) [#5]
Only max2d commands ? How did you do the line3.exe one ? :)


Scott Shaver(Posted 2006) [#6]
Here is the code for the "wicked" scroller




Filax(Posted 2006) [#7]
Many thanks for this code Scott :)


Grey Alien(Posted 2006) [#8]
Thanks. I'll bookmark this.


Neuro(Posted 2006) [#9]
thanks dude


xlsior(Posted 2006) [#10]
Not bad... Quick suggestion for the top demo: It would probably look a *lot* smoother if you would do an alphablend to fade the new characters into existence rather than just drawing them out of nowhere...

It makes it look a lot more choppy than it needs to be.


Scott Shaver(Posted 2006) [#11]
@everyone: you welcome, hope it comes in useful

@xlsior: yeah I tried that but couldn't get to look the way I wanted it. maybe I'll go back and try again. :)


Scott Shaver(Posted 2006) [#12]
Since people seem to like having the code to look at I've added a new section to my site, Examples/Snippets where I have and will continue to post this kind of stuff.

http://www.scottshaver2000.com


slenkar(Posted 2006) [#13]
did you create these with a 32bit graphics depth?
they all crashed for me = thats probably why


Scott Shaver(Posted 2006) [#14]
that's weird, yes one of them is, ithink it's the plasma one. the rest are in windowed mode with no depth setting. The code is available so you should be able to compile them and make them work.


Scott Shaver(Posted 2006) [#15]
here is another one a real time water ripple effect. Code can be found on my site in the examples section. Click or click and drag on the image.

http://www.scottshaver2000.com/blitz/demo6/water.exe




n8r2k(Posted 2006) [#16]
neat, but seems a little fuzzy and somewhat choppy.


Scott Shaver(Posted 2006) [#17]
Hmmm, choppy as in the frame rate isn't smooth? What kind of box are you running and video card?


n8r2k(Posted 2006) [#18]
im not sure what this computer has, it belongs to the school and they barred access to the specs. But its generally pretty fast...

When I wave my mouse accros the screen, there are large chunks of space that dont ripple, and theres a quite large delay between updating the pixels, it might just be because it is running in window mode? i really dont know how max runs at all.