Function Progress
List of implemented GM functions (in Windows) as of 2012-02-06. In addition to this list, you should also be able to get the list of implemented functions from LateralGM/ENIGMA by clicking on ENIGMA > Keyword List > Functions, wherein you can also search for specific function names.
Unimplemented functions can be found on the Unimplemented list.
Contents |
Math
arccos
arcsin
arctan
arctan2
cos
sin
tan
degtorad
radtodeg
point_direction
point_distance
lengthdir_x
lengthdir_y
ceil
floor
round
frac
abs
sign
exp
ln
log10
log2
logn
power
sqr
sqrt
random
random_range
irandom
irandom_range
random_get_seed
random_set_seed
randomize
choose
String
string_char_at
string_copy
string_count
string_delete
string_digits
string_format
string_height
string_height_ext
string_insert
string_length
string_letters
string_lettersdigits
string_lower
string_pos
string_repeat
string_replace
string_replace_all
string_upper
string_width
string_width_ext
Instance / Collisions
instance_create
instance_destroy
instance_exists
instance_find
instance_number
instance_place
instance_position
instance_furthest
instance_nearest
distance_to_object
distance_to_point
move_bounce_all
move_bounce_solid
move_contact_all
move_contact_solid
move_outside_all
move_outside_solid
move_random
move_snap
move_towards_point
move_wrap
motion_add
motion_set
place_empty
place_free
place_meeting
place_snapped
position_empty
position_meeting
collision_circle
collision_ellipse
collision_line
collision_point
collision_rectangle
Motion Planning
mp_linear_path
mp_linear_path_object
mp_linear_step
mp_linear_step_object
mp_potential_path
mp_potential_path_object
mp_potential_settings
mp_potential_step
mp_potential_step_object
mp_grid_add_cell
mp_grid_add_instances
mp_grid_add_rectangle
mp_grid_clear_all
mp_grid_clear_cell
mp_grid_clear_rectangle
mp_grid_create
mp_grid_destroy
mp_grid_draw
mp_grid_path
Color
color_get_blue
color_get_green
color_get_hue
color_get_red
color_get_saturation
color_get_value
make_color_hsv
make_color_rgb
merge_color
Popup / Splash Screens
get_color
get_integer
get_string
get_open_filename
get_save_filename
show_error
show_info
show_menu
show_menu_pos
show_message
Highscore
highscore_add
highscore_add_current
highscore_clear
highscore_name
highscore_set_background
highscore_set_border
highscore_set_colors
highscore_set_font
highscore_set_strings
highscore_show
highscore_show_ext
highscore_value
Key / Mouse
keyboard_check
keyboard_check_pressed
keyboard_check_released
keyboard_clear
keyboard_wait
mouse_check_button
mouse_check_button_pressed
mouse_check_button_released
mouse_clear
mouse_wait
Screen
screen_redraw
screen_refresh
screen_save
set_automatic_draw
sleep
Textures
texture_get_height
texture_get_width
texture_preload
texture_set_blending
texture_set_interpolation
texture_set_priority
texture_set_repeat
Window / Display
window_center
window_default
window_get_caption
window_get_color
window_get_fullscreen
window_get_height
window_get_region_scale
window_get_stayontop
window_get_visible
window_get_width
window_get_x
window_get_y
window_mouse_get_x
window_mouse_get_y
window_mouse_set
window_set_caption
window_set_color
window_set_cursor
window_set_fullscreen
window_set_position
window_set_rectangle
window_set_region_scale
window_set_size
window_set_stayontop
window_set_visible
window_view_mouse_get_x
window_view_mouse_get_y
window_view_mouse_set
display_get_height
display_get_width
display_mouse_get_x
display_mouse_get_y
display_mouse_set
Date / Time
date_compare_date
date_compare_datetime
date_compare_time
date_create_date
date_create_datetime
date_create_time
date_current_date
date_current_datetime
date_current_time
date_date_of
date_date_string
date_datetime_string
date_day_span
date_days_in_month
date_days_in_year
date_get_day
date_get_day_of_year
date_get_hour
date_get_hour_of_year
date_get_minute
date_get_minute_of_year
date_get_month
date_get_second
date_get_second_of_year
date_get_week
date_get_weekday
date_get_year
date_hour_span
date_inc_day
date_inc_hour
date_inc_minute
date_inc_month
date_inc_second
date_inc_week
date_inc_year
date_is_today
date_leap_year
date_minute_span
date_month_span
date_second_span
date_time_of
date_time_string
date_valid_date
date_valid_datetime
date_valid_time
date_week_span
date_year_span
DLLs
Miscellaneous
Actions
action_another_room
action_bounce
action_color
action_create_object
action_create_object_motion
action_create_object_random
action_current_room
action_draw_arrow
action_draw_background
action_draw_ellipse
action_draw_ellipse_gradient
action_draw_gradient_hor
action_draw_gradient_vert
action_draw_health
action_draw_life
action_draw_life_images
action_draw_line
action_draw_rectangle
action_draw_score
action_draw_sprite
action_draw_text
action_draw_text_transformed
action_draw_variable
action_end_game
action_end_sound
action_execute_script
action_font
action_fullscreen
action_highscore_clear
action_highscore_show
action_if
action_if_aligned
action_if_collision
action_if_dice
action_if_empty
action_if_health
action_if_life
action_if_mouse
action_if_next_room
action_if_number
action_if_object
action_if_previous_room
action_if_score
action_if_sound
action_if_variable
action_kill_object
action_kill_position
action_linear_step
action_message
action_move
action_move_contact
action_move_point
action_move_random
action_move_start
action_move_to
action_next_room
action_potential_step
action_previous_room
action_restart_game
action_reverse_xdir
action_reverse_ydir
action_set_alarm
action_set_caption
action_set_friction
action_set_gravity
action_set_health
action_set_hspeed
action_set_life
action_set_motion
action_set_score
action_set_vspeed
action_show_info
action_sleep
action_snap
action_sound
action_sprite_set
action_wrap
D3D
settings
d3d_start
d3d_end
d3d_set_culling
d3d_set_depth
d3d_set_fog
d3d_set_hidden
d3d_set_lighting
d3d_set_shading
d3d_set_perspective
d3d_set_projection
d3d_set_projection_ext
d3d_set_projection_ortho
d3d_set_projection_perspective
basic shapes
d3d_draw_block
d3d_draw_cone
d3d_draw_cylinder
d3d_draw_ellipsoid
d3d_draw_floor
d3d_draw_wall
lighting
d3d_light_define_ambient‎
d3d_light_define_direction
d3d_light_define_point
d3d_light_enable
primitives
d3d_primitive_begin
d3d_primitive_begin_texture
d3d_primitive_end
d3d_vertex
d3d_vertex_color
d3d_vertex_texture
d3d_vertex_texture_color
d3d_vertex_normal
d3d_vertex_normal_color
d3d_vertex_normal_texture
d3d_vertex_normal_texture_color
transformations
d3d_transform_set_identity
d3d_transform_add_rotation_x
d3d_transform_add_rotation_y
d3d_transform_add_rotation_z
d3d_transform_add_scaling
d3d_transform_add_translation
d3d_transform_add_rotation_axis
d3d_transform_set_rotation_x
d3d_transform_set_rotation_y
d3d_transform_set_rotation_z
d3d_transform_set_rotation_axis
d3d_transform_set_scaling
d3d_transform_set_translation
d3d_transform_stack_clear
d3d_transform_stack_discard
d3d_transform_stack_empty
d3d_transform_stack_pop
d3d_transform_stack_push
d3d_transform_stack_top
models
d3d_model_create
d3d_model_destroy
d3d_model_clear
d3d_model_save
d3d_model_load
d3d_model_draw
d3d_model_primitive_begin
d3d_model_primitive_end
d3d_model_vertex
d3d_model_vertex_color
d3d_model_vertex_texture
d3d_model_vertex_texture_color
d3d_model_vertex_normal
d3d_model_vertex_normal_color
d3d_model_vertex_normal_texture
d3d_model_vertex_normal_texture_color
d3d_model_block
d3d_model_cylinder
d3d_model_cone
d3d_model_ellipsoid
d3d_model_wall
d3d_model_floor
Drawing
draw basic shapes
draw_arrow
draw_button
draw_circle
draw_circle_color
draw_ellipse
draw_ellipse_color
draw_line
draw_line_color
draw_line_width
draw_line_width_color
draw_point
draw_point_color
draw_rectangle
draw_rectangle_color
draw_roundrect
draw_roundrect_color
draw_triangle
draw_triangle_color
draw text
draw_text
draw_text_color
draw_text_ext
draw_text_ext_color
draw_text_ext_transformed
draw_text_ext_transformed_color
draw_text_transformed
draw_text_transformed_color
draw backgrounds
draw_background
draw_background_ext
draw_background_general
draw_background_part
draw_background_part_ext
draw_background_stretched
draw_background_stretched_ext
draw_background_tiled
draw_background_tiled_ext
draw sprites
draw_sprite
draw_sprite_ext
draw_sprite_general
draw_sprite_part
draw_sprite_part_ext
draw_sprite_stretched
draw_sprite_stretched_ext
draw_sprite_tiled
draw_sprite_tiled_ext
draw_self
draw primitives / vertex
draw_primitive_begin
draw_primitive_begin_texture
draw_primitive_end
draw_vertex
draw_vertex_color
draw_vertex_texture
draw_vertex_texture_color
draw miscellaneous
draw_clear
draw_clear_alpha
draw_get_alpha
draw_get_color
draw_getpixel
draw_healthbar
draw_highscore
draw_set_alpha
draw_set_blend_mode
draw_set_blend_mode_ext
draw_set_circle_precision
draw_set_color
draw_set_font
draw_set_halign
draw_set_valign
Data Structures
ds_grids
ds_grid_add
ds_grid_add_disk
ds_grid_add_grid_region
ds_grid_add_region
ds_grid_clear
ds_grid_copy
ds_grid_create
ds_grid_destroy
ds_grid_get
ds_grid_get_disk_max
ds_grid_get_disk_mean
ds_grid_get_disk_min
ds_grid_get_disk_sum
ds_grid_get_max
ds_grid_get_mean
ds_grid_get_min
ds_grid_get_sum
ds_grid_height
ds_grid_multiply
ds_grid_multiply_disk
ds_grid_multiply_grid_region
ds_grid_multiply_region
ds_grid_resize
ds_grid_set
ds_grid_set_disk
ds_grid_set_grid_region
ds_grid_set_region
ds_grid_shuffle
ds_grid_value_disk_exists
ds_grid_value_disk_x
ds_grid_value_disk_y
ds_grid_value_exists
ds_grid_value_x
ds_grid_value_y
ds_grid_width
ds_lists
ds_list_add
ds_list_clear
ds_list_copy
ds_list_create
ds_list_delete
ds_list_destroy
ds_list_empty
ds_list_find_index
ds_list_find_value
ds_list_insert
ds_list_replace
ds_list_shuffle
ds_list_size
ds_list_sort
ds_maps
ds_map_add
ds_map_clear
ds_map_copy
ds_map_create
ds_map_delete
ds_map_destroy
ds_map_empty
ds_map_exists
ds_map_find_first
ds_map_find_last
ds_map_find_next
ds_map_find_previous
ds_map_find_value
ds_map_replace
ds_map_size
ds_prioritys
ds_priority_add
ds_priority_change_priority
ds_priority_clear
ds_priority_copy
ds_priority_create
ds_priority_delete_max
ds_priority_delete_min
ds_priority_delete_value
ds_priority_destroy
ds_priority_empty
ds_priority_find_max
ds_priority_find_min
ds_priority_find_priority
ds_priority_size
ds_queues
ds_queue_clear
ds_queue_copy
ds_queue_create
ds_queue_dequeue
ds_queue_destroy
ds_queue_empty
ds_queue_enqueue
ds_queue_head
ds_queue_size
ds_queue_tail
ds_stacks
ds_stack_clear
ds_stack_copy
ds_stack_create
ds_stack_destroy
ds_stack_empty
ds_stack_pop
ds_stack_push
ds_stack_size
ds_stack_top
Files
file_attributes
file_copy
file_delete
file_exists
file_find_close
file_find_first
file_find_next
file_rename
directory_create
directory_exists
filename_change_ext
filename_dir
filename_drive
filename_ext
filename_name
filename_path
binary files
file_bin_close
file_bin_open
file_bin_position
file_bin_read_byte
file_bin_rewrite
file_bin_seek
file_bin_size
file_bin_write_byte
text files
file_text_close
file_text_eof
file_text_eoln
file_text_open_append
file_text_open_read
file_text_open_write
file_text_read_real
file_text_read_string
file_text_readln
file_text_write_real
file_text_write_string
file_text_writeln
Resources
backgrounds
background_get_height
background_get_texture
background_get_width
fonts
paths
path_exists
path_get_closed
path_get_kind
path_get_length
path_get_number
path_get_point_speed
path_get_point_x
path_get_point_y
path_get_precision
path_get_speed
path_get_x
path_get_y
draw_path
path_add
path_add_point
path_append
path_assign
path_change_point
path_clear_points
path_delete
path_delete_point
path_duplicate
path_flip
path_insert_point
path_mirror
path_reverse
path_rotate
path_scale
path_set_closed
path_set_kind
path_set_precision
path_shift
rooms
room_exists
room_goto
room_goto_next
room_goto_previous
room_next
room_previous
room_restart
scripts
sounds
sound_add
sound_isplaying
sound_loop
sound_pan
sound_play
sound_stop
sprites
sprite_add
sprite_exists
sprite_get_bbox_bottom
sprite_get_bbox_left
sprite_get_bbox_right
sprite_get_bbox_top
sprite_get_height
sprite_get_number
sprite_get_texture
sprite_get_width
sprite_get_xoffset
sprite_get_yoffset