Realtime fadeouts in your games.
Community Forums/Showcase/Realtime fadeouts in your games.
| ||
This is a bit of code I've had lying about for ages that I've finally fashioned into something useful for the Blitz community. http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=simon__s11302003023418&comments=no Some nice fullscreen fadeouts that you can run at the same time as your main code. This allows for some fairly stylish transitions between screens and adds a bit of polish to the overall look. It's meant for B+ but B2D/3D users could rem out the lockedpixels stuff and use the rest. Oh and does anyone have a graphics card that does rgb as 5,5,5 in 16 bits, I've yet to write code that works with that and would like to test it. Enjoy. |
| ||
Useful stuff - thanks for sharing! |
| ||
Cool! |
| ||
Great Job ! i use it now :) ! i really love the image pixelate ! and the image bounce :) remember amiga and Scala Multimedia :) |
| ||
Great work Simon, well done! |
| ||
Alrighty, I'm ressurecting this topic from the grave to just to say I've added a bit more to the functionality of the fades. You can now use it on images of any size, and call as many fades at a time as you like. Combined with masks you can create all kinds of interesting appearing/dissapearing effects for characters on screen, and some very flashy menu screens. Should be useful to someone, and feel free to add a fade to it if you feel you can outdo some of the effects in there. I'm sure there are plenty of ideas I haven't thought of. I've also added B2D/B3D versions for those without Blitz+ Have fun. |
| ||
Filax, I am still using Scala! After all these years (it's on PC now of course!) IPete2. |
| ||
Thats very useful, thanks for sharing. |
| ||
You might find this interesting: http://www.blitzbasic.com/codearcs/codearcs.php?code=184 It uses dissolve 'gradient maps' to make any dissolve you like. It also compacts the resulting .DIS dissolve file very efficiently (I'm still pleased with how small they got). Only downside is that I never made a version that works with any resolution (never had the need or time), so its stuck at 640x480 or 800x600 (depending on which version you have). |
| ||
Or this http://www.blitzbasic.com/codearcs/codearcs.php?code=744 I guess it's the same idea, didn't check MasterBeaker's code. |
| ||
Hey both very cool. I'd more or less finished the fade program (it does what I need) but I'm pretty tempted to adapt some of Koriolis' code and stick it in (Giving credit where credit's due, and with permission of course). Thanks for that, good ideas and good coding in there. |
| ||
Permission granted, credit appreciated :) |