Home | Customize | Blog | Extras | Log In | Info
Manual | D&D icons | GML Parser | Archive | Iso City
Username: Password:  
About | Features | Directory | Banners | Contact

January 2008

Archive Archive

« December 2007 | January 2008 | February 2008 »

GML Scripts.com


Wednesday, 2 January

color_to_cmyk(color [, channel])
Returns a ds_list containing CMYK values of the given color or the value of a specific ...
date_format(format,datetime)
Returns a string formatted according to the given format string using the given date-ti...
date_get_easter(year)
Returns the GM date-time of Easter for the given year.
deceleration_distance(speed,friction)
Returns the travel distance before coming to a stop of an object moving at the given sp...
directory_copy(dirname,newname,prompt)
Copies all contents of a directory to another location.
draw_curve(x1,y1,x2,y2,direction,detail)
Draws a curve between two points with the given starting angle.
draw_rectangle_inverted(x1,y1,x2,y2)
Inverts the given rectangular area of the screen.
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_cv(id[,sample])
Returns the coefficient of deviation (C.V.) of the given list.
ds_list_dispersion(id)
Returns the dispersion of the given list.
ds_list_geometric_mean(id)
Returns the geometric mean of the values in the given list.
ds_list_max(id)
Returns the maximum value of the given list.
ds_list_min(id)
Returns the minimum value of the given list.
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.
ds_list_variance(id[,sample])
Returns the variance of the given list.
ds_list_vrm(id[,sample])
Returns the variance-to-mean ratio (V.R.M.) of the given list.
exp_dist(x)
Returns a random number from 0 to x with an exponential ditribution.
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...
map_backgrounds(ds_map)
Fills the map with {key=name, val=index} pairs for every background.
map_fonts(ds_map)
Fills the map with {key=name, val=index} pairs for every font.
map_objects(ds_map)
Fills the map with {key=name, val=index} pairs for every object.
map_paths(ds_map)
Fills the map with {key=name, val=index} pairs for every path.
map_rooms(ds_map)
Fills the map with {key=name, val=index} pairs for every room.
map_sounds(ds_map,ex_sound)
Fills the map with {key=name, val=index} pairs for every sound.
map_sprites(ds_map)
Fills the map with {key=name, val=index} pairs for every sprite.
map_timelines(ds_map)
Fills the map with {key=name, val=index} pairs for every timeline.
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 ...
move_to_mouse()
Moves the calling instance to the position of the mouse.
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 ...
rot13(str)
Returns the given text encrypted/decrypted with the rot13 algorithm.
save_screenshot(name,folder)
Saves a automatically numbered screenshot in the working directory.
string_add_spaces(str)
Returns the given string with spaces in between each letter.
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_stagger_case(str,spaces,first)
Returns the given string with the letters in StAgGeReD cAsE.
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...
time_string(format [,sep])
Returns the system time as a string in 12 or 24 hour "HH:MM:SS" format.
turn_toward_direction(direction,turnspeed)
Rotates the calling instance toward a desired direction by a given number of degrees.

Thursday, 3 January

speakable_password(length)
Returns a speakable random password of the given length.
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
Username:

Password:

 
 
Filter by
Your frontpage Your frontpage
All posts All posts
The official news The official news
All the news All the news
All the games All the games


 
« December 2007 | January 2008 | February 2008 »