Jump to content


jordan leffl

Member Since 10 Oct 2006
Offline Last Active Jan 23 2013 08:10 AM

Posts I've Made

In Topic: Capslock detection

13 January 2011 - 02:31 AM

The more sensible way to do it instead of pressing a user's keys unnecessarily is to use a dll like LED Dll, which you can then use LED_get(1) to find if caps lock is on or off. Simulating a keystroke is a bad practice because it can also lead to unnecessary consequences on the user's end.

In Topic: How Do I Save Game?

15 March 2010 - 02:44 AM

Please, don't post a question like this in "Advanced Users", this is clearly a Novice question, and even a question that could be easily solved with two seconds looking into the manual for the word "Save".

And make an attempt to spell correctly.

In Topic: Boss Help

15 March 2010 - 01:13 AM

Hey. On Yo Yo Games I'm Dhoy The Silent Ninja, so I know everything about it. He should be working fine, I've tested it numerous times. What specifically isn't working?


Ugh, Atom, can you please not quote the entire first post for no reason at all?

And Jorbs3210, I don't think people will go through every bit of your code to find a problem that we don't even know, try and solo out the chunk of code for moving, and then we can ask questions from there.

In Topic: Drawing Doubts

07 March 2010 - 02:55 AM

Hey, I made a drawring script a while ago, it seems good for what you need:

draw_set_color(argument3)
draw_primitive_begin(pr_trianglestrip)
for(j=0; j<argument0; j+=1){
	draw_vertex(argument4+lengthdir_x(argument1,j*10),argument5+lengthdir_y(argument1,j*10))
	draw_vertex(argument4+lengthdir_x(argument1,(j+1)*10),argument5+lengthdir_y(argument1,(j+1)*10))
	draw_vertex(argument4+lengthdir_x(argument1+argument2,(j+1)*10),argument5+lengthdir_y(argument1+argument2,(j+1)*10))
	draw_vertex(argument4+lengthdir_x(argument1+argument2,j*10),argument5+lengthdir_y(argument1+argument2,j*10))
	draw_vertex(argument4+lengthdir_x(argument1,j*10),argument5+lengthdir_y(argument1,j*10))
}
draw_primitive_end();
draw_set_color(0)

Usage: drawring(35,100,10,c_red,x,y);

The first argument is how much ring (36 = 360 degrees, 18 = 180 degrees, etc).
Second argument is how far away from the point to draw.
Third argument is how thick.
Fourth argument is the color.
Fifth and sixth arguments are the point to draw it from.

In Topic: Draw Something

04 March 2010 - 06:01 AM

Use this and it should work:

draw_sprite_ext(sprite_index,image_index,x,y,image_xscale,imag
e_yscale,image_angle,image_blend,image_alpha);