Welcome Guest [Log In] [Register]
Welcome to The Elder Hallows. We hope you enjoy your visit.

You're currently viewing the forums as a guest. If you register, you get to get away from this annoying message! So you might as well do it.

Join our community!


If you're already a member please log in to your account to access all of our features:
- View all forums
- Participate in Contests and Giveaways
- Do Forum stuff

Username:   Password:
Add Reply
GML for Toasty
Topic Started: Jun 25 2009, 09:10 PM (694 Views)
Slagar
Member Avatar
Ancient
[ *  *  *  *  *  *  *  * ]
GML for Dummies Toasty

DON'T TYPE THE /R/ THOSE ARE RETURNS

Quote:
 
show_message(Hello World! I'm going to go play with sharp things and drink my own blood now!)
Quote:
 
alarm[0]=15
Quote:
 
if distance to object<100{
/R/{
/R/show_message(Hello World! I'm going to go play with sharp things and drink my own blood now!)
/R/alarm[0]=15
/R/}
}
Quote:
 
{
var c1,c2;
c1 := merge_color(c_red,c_orange,m1);
c2 := merge_color(c_yellow,c_green,m2);
c3 := merge_color(c_blue,c_purple,m1);
c4 := merge_color(c_silver,c_black,m1);
draw_set_font(fnt_titletxt);
draw_set_halign(fa_center);
draw_set_valign(fa_middle);
draw_text_transformed_color(320,100,'I Like',2*m2,2,0,c1,c2,c3,c4,1);
draw_text_transformed_color(320,240,'Boobies',2*m2,2,0,c1,c2,c3,c4,1);
}


Moar later
Edited by Slagar, Jun 26 2009, 01:02 PM.
No because you're a democrat living in Texas, which is IMPOSSIBLE meaning you do not exist. - AceofSpades
Violence solves everything. Like jigsaw puzzles. I could not find the piece that completed the cloud on the left side, so out of anger I punched my sister. Her earring came off and as I bent down to pick it up so that I could sell it at a pawn shop, I noticed it had landed right on top of the piece I needed. - Fintron
So I tied a noose in my closet, and then my dad came by and was like, "lol Chris why you tioeing nooses in your closet?" -Mafujalate329
Offline Profile Quote Post Goto Top
 
MrToaster
Member Avatar
ళ.ళ
[ *  *  *  *  *  *  *  * ]
First of all, I have those alarms working. Second of all, I've ALREADY TOLD YOU I don't want gay text that pops up in a window. What good games that you can think of do that?? You're the dummy.
"I didn't pull her hair or called her anything, she just looked pissed. So I left." - Drk, 2012

Posted Image
"You know what they say, all Toasters, Toast Toast!" -Hotel Mario
Posted ImagePosted ImagePosted Image
Offline Profile Quote Post Goto Top
 
Slagar
Member Avatar
Ancient
[ *  *  *  *  *  *  *  * ]
It works for me. I use audio files where it doesn't ^_^
No because you're a democrat living in Texas, which is IMPOSSIBLE meaning you do not exist. - AceofSpades
Violence solves everything. Like jigsaw puzzles. I could not find the piece that completed the cloud on the left side, so out of anger I punched my sister. Her earring came off and as I bent down to pick it up so that I could sell it at a pawn shop, I noticed it had landed right on top of the piece I needed. - Fintron
So I tied a noose in my closet, and then my dad came by and was like, "lol Chris why you tioeing nooses in your closet?" -Mafujalate329
Offline Profile Quote Post Goto Top
 
MrToaster
Member Avatar
ళ.ళ
[ *  *  *  *  *  *  *  * ]
I'll figure it out myself >>
"I didn't pull her hair or called her anything, she just looked pissed. So I left." - Drk, 2012

Posted Image
"You know what they say, all Toasters, Toast Toast!" -Hotel Mario
Posted ImagePosted ImagePosted Image
Offline Profile Quote Post Goto Top
 
Slagar
Member Avatar
Ancient
[ *  *  *  *  *  *  *  * ]
Allowing the character to customize their coloration:

In game start event:

Quote:
 
global.col1=get_color("")
global.col2=global.col1
global.col3=get_color("")
global.col4=global.col3


In draw event of affected object:

Quote:
 
draw_sprite_general(sprite_index,-1,0,0,sprite_width,sprite_height,round(x),round(y),image_xscale,image_yscale,image_angle,global.col1,global.col2,global.col3,global.col4,image_alpha);//draw your sprite with the 4 colors DEFINED IN CREATE EVENT
No because you're a democrat living in Texas, which is IMPOSSIBLE meaning you do not exist. - AceofSpades
Violence solves everything. Like jigsaw puzzles. I could not find the piece that completed the cloud on the left side, so out of anger I punched my sister. Her earring came off and as I bent down to pick it up so that I could sell it at a pawn shop, I noticed it had landed right on top of the piece I needed. - Fintron
So I tied a noose in my closet, and then my dad came by and was like, "lol Chris why you tioeing nooses in your closet?" -Mafujalate329
Offline Profile Quote Post Goto Top
 
MrToaster
Member Avatar
ళ.ళ
[ *  *  *  *  *  *  *  * ]
I don't really care about that though =\

Find a way to do slopes.
"I didn't pull her hair or called her anything, she just looked pissed. So I left." - Drk, 2012

Posted Image
"You know what they say, all Toasters, Toast Toast!" -Hotel Mario
Posted ImagePosted ImagePosted Image
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Enjoy forums? Start your own community for free.
Learn More · Register for Free
« Previous Topic · PC · Next Topic »
Add Reply

Nominations
Gallery
Theme created by Tue of Self Concept and ZBTZ.