Code archives/Graphics/Particle Text

This code has been declared by its author to be Public Domain code.

Download source code

Particle Text by TWH2008
Uses code from these (all included in codeboxes below):

'Particle Arrays by bradford6 http://www.blitzbasic.com/codearcs/codearcs.php?code=1572
'Vectorfont by Mark Incitti -- check the Tempest sample
'SplitString function by Perturbatio http://www.blitzbasic.com/codearcs/codearcs.php?code=1890
' Besenham's LineDraw routine (integer math only) by ImaginaryHuman
' http://www.blitzbasic.com/codearcs/codearcs.php?code=1465


Still needs a bit of work ;)

The particles are not spread over the vectortexts lines properly. ->You have to increase the particle count to write a longer string.

.. and the vectortext shouldn't get its size and string from the TParticleControl

Copy paste from these codeboxes or check the 2. post in this thread for a .ZIP

codewiki.no/forum

'Ive split the program into 4 files:
'particle_text.bmx
'tiniparser.bmx
'vectorfont.bmx
'tparticlelinedraw.bmx
It also reads settings from "tweakme.ini" - check the last codebox.

particle_text.bmx



tiniparser.bmx




'vectorfont.bmx



'tparticlelinedraw.bmx


tweakme.ini
[codebox]The code is above as codeboxes only work in the description[/codebox]

Comments

xlsior2008
Nice!

Here's the download link mentioned in that other thread:

http://www.codewiki.no/forum/download/file.php?id=22&sid=0889a35ccb98b61dd559b81f36d4636d


Nate the Great2008
hmm... very cool!

this looks like a great effect for a title screen or menues or something... I dont have blitz max but I could still write my own version in b3d hopefully


Code Archives Forum