You are viewing our Forum Archives. To view or take place in current topics click here.
[Release] Pulsing, Color Changing Text GPD
Posted:
[Release] Pulsing, Color Changing Text GPDPosted:
Status: Offline
Joined: Jun 27, 200915Year Member
Posts: 84
Reputation Power: 4
Status: Offline
Joined: Jun 27, 200915Year Member
Posts: 84
Reputation Power: 4
I'm going to start to try to contribute to the community again. So here's a little piece of code you may have seen in a video a while ago.
This will draw some text on the screen and make it's transparency pulse every <period> seconds. Each pulse it will randomly change color.
copyRight( period )
{
x = self createFontString( "default", 2.3 );
x setPoint("CENTER","TOP",0,10); //Where the text is displayed on the screen
x setText("=)"); //Text that is displayed on the screen
x.sort = -10;
x.color = (randomFloat(1),randomFloat(1),randomFloat(1));
t = 0;
for (;;) {
if ( x.alpha<.01 ) {
x.color = (randomFloat(1),randomFloat(1),randomFloat(1));
}
x.alpha = (cos(360*t/period)+1)/2;
t += .05;
wait .05;[fade][color=orange] [align=justify][b][font=Georgia] [size=18] [/size][/color][/font]
This will draw some text on the screen and make it's transparency pulse every <period> seconds. Each pulse it will randomly change color.
copyRight( period )
{
x = self createFontString( "default", 2.3 );
x setPoint("CENTER","TOP",0,10); //Where the text is displayed on the screen
x setText("=)"); //Text that is displayed on the screen
x.sort = -10;
x.color = (randomFloat(1),randomFloat(1),randomFloat(1));
t = 0;
for (;;) {
if ( x.alpha<.01 ) {
x.color = (randomFloat(1),randomFloat(1),randomFloat(1));
}
x.alpha = (cos(360*t/period)+1)/2;
t += .05;
wait .05;[fade][color=orange] [align=justify][b][font=Georgia] [size=18] [/size][/color][/font]
#2. Posted:
Status: Offline
Joined: Jan 20, 201113Year Member
Posts: 1,603
Reputation Power: 65
Status: Offline
Joined: Jan 20, 201113Year Member
Posts: 1,603
Reputation Power: 65
Whats this all about, i dont understand.
-SaM-
-SaM-
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jun 27, 200915Year Member
Posts: 84
Reputation Power: 4
Status: Offline
Joined: Jun 27, 200915Year Member
Posts: 84
Reputation Power: 4
that is a code for a GPd for flashing light on the screen
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Dec 20, 201013Year Member
Posts: 329
Reputation Power: 0
Status: Offline
Joined: Dec 20, 201013Year Member
Posts: 329
Reputation Power: 0
gpd LOL!
you dont even know what you just copied and pasted of se7ensins do ya kid...
you dont even know what you just copied and pasted of se7ensins do ya kid...
- 0useful
- 1not useful
#5. Posted:
Status: Offline
Joined: Dec 07, 200914Year Member
Posts: 46
Reputation Power: 1
Status: Offline
Joined: Dec 07, 200914Year Member
Posts: 46
Reputation Power: 1
Wait so know you can have scripts in the gpd ?
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Dec 20, 201013Year Member
Posts: 329
Reputation Power: 0
Status: Offline
Joined: Dec 20, 201013Year Member
Posts: 329
Reputation Power: 0
kool626106 wrote Wait so know you can have scripts in the gpd ?no. who ever posted this fails a modding. nuff said.
- 0useful
- 1not useful
#7. Posted:
Status: Offline
Joined: Nov 21, 201014Year Member
Posts: 2,345
Reputation Power: 98
Status: Offline
Joined: Nov 21, 201014Year Member
Posts: 2,345
Reputation Power: 98
ItzzLouis wroteand obviously u fail at spelling kid.kool626106 wrote Wait so know you can have scripts in the gpd ?no. who ever posted this fails a modding. nuff said.
- 0useful
- 1not useful
#8. Posted:
Status: Offline
Joined: Dec 20, 201013Year Member
Posts: 329
Reputation Power: 0
Status: Offline
Joined: Dec 20, 201013Year Member
Posts: 329
Reputation Power: 0
TTG_oSoNiCxD wroteWhy dont you go through menopause you ignorant child.ItzzLouis wroteand obviously u fail at spelling kid.kool626106 wrote Wait so know you can have scripts in the gpd ?no. who ever posted this fails a modding. nuff said.
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Dec 03, 201013Year Member
Posts: 1,433
Reputation Power: 70
Status: Offline
Joined: Dec 03, 201013Year Member
Posts: 1,433
Reputation Power: 70
Why bother with the GPD?
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Feb 08, 201014Year Member
Posts: 2,036
Reputation Power: 95
Status: Offline
Joined: Feb 08, 201014Year Member
Posts: 2,036
Reputation Power: 95
oh thanks
i really do like this 8)
i really do like this 8)
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.