Returns a ds_list containing CMYK values of the given color or the value of a specific ...
January 2008
Archive
« December 2007 | January 2008 | February 2008 »
GML Scripts.com
Wednesday, 2 January
date_format(format,datetime)
Returns a string formatted according to the given format string using the given date-ti...
deceleration_distance(speed,friction)
Returns the travel distance before coming to a stop of an object moving at the given sp...
draw_curve(x1,y1,x2,y2,direction,detail)
Draws a curve between two points with the given starting angle.
draw_sprite_hud(sprite,subimg,x,y,xscale,yscale,rot,color,alpha)
Draws a HUD sprite in a certain position relative to the screen regardless of the view ...
draw_sprite_percent(sprite,amount,x,y,restrict)
Selects and draws a subimage of a sprite based on a percentage, useful for health or pr...
draw_text_hud(x,y,string,sep,width,xscale,yscale,rot,c1,c2,c3,c4,alpha)
Draws a HUD string of text in a certain position relative to the screen regardless of t...
draw_text_shadow(x,y,str,tcolor,scolor,intensity,distance,direction)
Draws text with a drop shadow of the given color, intensity, distance, and direction.
ds_list_standard_deviation(id[,sample])
Returns the standard deviation of the elements in a given list.
ds_list_standard_score(id,pos)
Returns the standard score (z-score) of the value at position pos in the given list.
factor_quadratic(b,c)
Returns the factors of any quadratic equation (ax^2+bx+c=0), where a = 1, b and c are i...
instance_closest_approach(inst)
Returns the distance in pixels or time in steps until the calling and given instances a...
joystick_get_button(id)
Returns the number of the button pressed on the given joystick, or zero if no button is...
motion_towards(speed,x,y)
Place in Step Event to move the calling instance towards a point, navigating around sol...
move_follow(object,speed)
Place in Step Event to makes the calling instance move to follow an object or instance ...
normal_detect(x,y,obj [,rad [,res]])
Returns a 2D surface normal for a point on the "surface" of an object.
point_line_distance(x1,y1,x2,y2,x3,y3,segment)
Returns the distance from a given point to a given line.
rc4(str,key)
Returns the given string encrypted/decrypted with the given key using the RC4 algorithm.
rgb_to_cmyk(r,g,b [,channel])
Returns a ds_list containing CMYK values of the given color or the value of a specific ...
string_extract(str,sep,index)
Returns the element at the given index within a given string of elements.
string_parse(str, token, ignore_null)
Returns a ds_list containing all substrings taken from str which were seperated by token.
string_parse_number(str, token, ignore_null)
Returns the number of substrings in str seperating them with token.
string_width_limit(string,width,extension)
Returns the string (including an extension if used) that fits within the given width wh...
string_width_wrap(text,width,char,force)
Returns the given string, word wrapped to the given pixel width, with line break charac...
turn_toward_direction(direction,turnspeed)
Rotates the calling instance toward a desired direction by a given number of degrees.
Thursday, 3 January
string_parse_single(str, token, N, ignore_null)
Returns the Nth substring of str using token as a separator.
Please login to subscribe to this site
« December 2007 | January 2008 | February 2008 »