PDA

View Full Version : how do you make an effect like this?



giggleguy
November 25th, 2004, 04:14 AM
I have a source code for a game which I got just because of an effect at the very start of it, I have copied the effect and put it into a different file but I would like to know how to change it from saying "FLECKO.NET" to "THE PSYCHOCREW" could anybody help?

Chiser99
November 26th, 2004, 12:49 PM
To use the same code, and give the same effect all you have to do is change the text array contained on the actions layer. Where ever you place a 1, a square appears, and use 0's where you dont want squares.

for example 'the' =



text=new Array(
1,1,1,0,1,0,1,0,1,1,1,0,
0,1,0,0,1,0,1,0,1,0,0,0,
0,1,0,0,1,1,1,0,1,1,0,0,
0,1,0,0,1,0,1,0,1,0,0,0,
0,1,0,0,1,0,1,0,1,1,1,0
);


however you also need to note the two variables width, and height which are assigned to mc.px on the fleckopx layer. these should represent the width of each line in your array, and height should be how many lines you have.

hope this helps...