Banco de Códigos de GML

Banco de Códigos de GML
por Untitled

O que é um banco de códigos?
É uma ferramenta que está sendo desenvolvida pela MMFM. É uma lista onde você poderá consultar todo e qualquer código do game maker.

Quando fica pronto?
Se você olhar a lista... vai ver que ela é enorme. Na verdade são exatamente 21 páginas A4, cada uma dessas linhas terá um post no blog e eles serão linkados aqui.

O que teremos dentro de cada post?
Uma breve descrição, o que ela retorna, o tipo dela, seus argumentos e um exemplo de como podemos utilizá-la!

Como será feita?
A ordem de produção é alfabética.

# A #

abs()
arccos()
arcsin()
arctan()
arctan2()

# B #

background_add()
background_add_alpha()
background_assign()
background_create_color()
background_create_from_screen()
background_create_from_surface()
background_create_gradient()
background_delete()
background_duplicate()
background_exists()
background_get_height()
background_get_name()
background_get_preload()
background_get_smooth()
background_get_texture()
background_get_transparent()
background_get_width()
background_replace()
background_replace_alpha()
background_save()
background_set_alpha_from_background()

# C #


cd_close_door()
cd_init()
cd_length()
cd_number()
cd_open_door()
cd_pause()
cd_paused()
cd_play()
cd_playing()
cd_position()
cd_present()
cd_resume()
cd_set_position()
cd_set_track_position()
cd_stop()
cd_track()
cd_track_length()
cd_track_position()
ceil()
choose()
chr()
clipboard_get_text()
clipboard_has_text()
clipboard_set_text()
collision_circle()
collision_ellipse()
collision_line()
collision_point()
collision_rectangle()
color_get_blue()
color_get_green()
color_get_hue()
color_get_red()
color_get_saturation()
color_get_value()
cos()

# D #

#D# #
d3d_draw_block()
d3d_draw_cone()
d3d_draw_cylinder()
d3d_draw_ellipsoid()
d3d_draw_floor()
d3d_draw_wall()
d3d_end()
d3d_light_define_direction()
d3d_light_define_point()
d3d_light_enable()
d3d_model_block()
d3d_model_clear()
d3d_model_cone()
d3d_model_create()
d3d_model_cylinder()
d3d_model_destroy()
d3d_model_draw()
d3d_model_ellipsoid()
d3d_model_floor()
d3d_model_load()
d3d_model_primitive_begin()
d3d_model_primitive_end()
d3d_model_save()
d3d_model_vertex()
d3d_model_vertex_color()
d3d_model_vertex_normal()
d3d_model_vertex_normal_color()
d3d_model_vertex_normal_texture()
d3d_model_vertex_normal_texture_color()
d3d_model_wall()
d3d_primitive_begin()
d3d_primitive_begin_texture()
d3d_primitive_end()
d3d_set_culling()
d3d_set_depth()
d3d_set_fog()
d3d_set_hidden()
d3d_set_lighting()
d3d_set_perspective()
d3d_set_ jection()
d3d_set_ jection_ext()
d3d_set_ jection_ortho()
d3d_set_ jection_perspective()
d3d_set_shading()
d3d_start()
d3d_transform_add_rotation_axis()
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_set_identity()
d3d_transform_set_rotation_axis()
d3d_transform_set_rotation_x()
d3d_transform_set_rotation_y()
d3d_transform_set_rotation_z()
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() javascript:void(0)
d3d_vertex()
d3d_vertex_color()
d3d_vertex_normal()
d3d_vertex_normal_color()
d3d_vertex_normal_texture()
d3d_vertex_normal_texture_color()
d3d_vertex_texture()
d3d_vertex_texture_color()

# DA #
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()

# DE #
degtorad()

# DI #
directory_create()
directory_exists()
discard_include_file()
display_get_colordepth()
display_get_frequency()
display_get_height()
display_get_width()
display_mouse_get_x()
display_mouse_get_y()
display_mouse_set()
display_reset()
display_set_all()
display_set_colordepth()
display_set_frequency()
display_set_size()
display_test_all()
distance_to_object()
distance_to_point()

# DR #
draw_arrow()
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_button()
draw_circle()
draw_circle_color()
draw_clear()
draw_clear_alpha()
draw_ellipse()
draw_ellipse_color()
draw_get_alpha()
draw_get_color()
draw_getpixel()
draw_healthbar()
draw_highscore()
draw_line()
draw_line_color()
draw_line_width()
draw_line_width_color()
draw_path()
draw_point()
draw_point_color()
draw_primitive_begin()
draw_primitive_begin_texture()
draw_primitive_end()
draw_rectangle()
draw_rectangle_color()
draw_roundrect()
draw_roundrect_color()
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()
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_surface()
draw_surface_ext()
draw_surface_general()
draw_surface_part()
draw_surface_part_ext()
draw_surface_stretched()
draw_surface_stretched_ext()
draw_surface_tiled()
draw_surface_tiled_ext()
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_triangle()
draw_triangle_color()
draw_vertex()
draw_vertex_color()
draw_vertex_texture()
draw_vertex_texture_color()

# DS #
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_read()
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_grid_write()
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_read()
ds_list_replace()
ds_list_shuffle()
ds_list_size()
ds_list_sort()
ds_list_write()
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_read()
ds_map_replace()
ds_map_size()
ds_map_write()
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_read()
ds_priority_size()
ds_priority_write()
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_read()
ds_queue_size()
ds_queue_tail()
ds_queue_write()
ds_set_precision()
ds_stack_clear()
ds_stack_copy()
ds_stack_create()
ds_stack_destroy()
ds_stack_empty()
ds_stack_pop()
ds_stack_push()
ds_stack_read()
ds_stack_size()
ds_stack_top()
ds_stack_write()

# E #
effect_clear()
effect_create_above()
effect_create_below()
environment_get_variable()
event_inherited()
event_perform()
event_perform_object()
event_user()
execute_file()
execute_ gram()
execute_shell()
execute_string()
exp()
export_include_file()
export_include_file_location()
external_call()
external_define()
external_free()

# F #
file_attributes()
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()
file_copy()
file_delete()
file_exists()
file_find_close()
file_find_first()
file_find_next()
file_rename()
file_text_close()
file_text_eof()
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()
filename_change_ext()
filename_dir()
filename_drive()
filename_ext()
filename_name()
filename_path()
floor()
font_add()
font_add_sprite()
font_delete()
font_exists()
font_get_bold()
font_get_first()
font_get_fontname()
font_get_italic()
font_get_last()
font_get_name()
font_replace()
font_replace_sprite()
frac()

# G #
game_end()
game_load()
game_restart()
game_save()
get_color()
get_directory()
get_directory_alt()
get_integer()
get_open_filename()
get_save_filename()
get_string()

# H #
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()

# I #
ini_close()
ini_key_delete()
ini_key_exists()
ini_open()
ini_read_real()
ini_read_string()
ini_section_delete()
ini_section_exists()
ini_write_real()
ini_write_string()
instance_activate_all()
instance_activate_object()
instance_activate_region()
instance_change()
instance_copy()
instance_create()
instance_deactivate_all()
instance_deactivate_object()
instance_deactivate_region()
instance_destroy()
instance_exists()
instance_find()
instance_furthest()
instance_nearest()
instance_number()
instance_place()
instance_position()
io_clear()
io_handle()
is_real()
is_string()

# J #
joystick_axes()
joystick_buttons()
joystick_check_button()
joystick_direction()
joystick_exists()
joystick_has_pov()
joystick_name()
joystick_pov()
joystick_rpos()
joystick_upos()
joystick_vpos()
joystick_xpos()
joystick_ypos()
joystick_zpos()

# K #
keyboard_check()
keyboard_check_direct()
keyboard_check_pressed()
keyboard_check_released()
keyboard_clear()
keyboard_get_map()
keyboard_get_numlock()
keyboard_key_press()
keyboard_key_released()
keyboard_set_map()
keyboard_set_numlock()
keyboard_unset_map()
keyboard_wait()

# L #
lengthdir_x()
lengthdir_y()
ln()
load_info()
log10()
log2()
logn()

# M #
make_color_hsv()
make_color_rgb()
max()
MCI_command()
mean()
median()
merge_color()
message_alpha()
message_background()
message_button()
message_button_font()
message_caption()
message_input_color()
message_input_font()
message_mouse_color()
message_position()
message_size()
message_text_font()
min()
motion_add()
motion_set()
mouse_check_button()
mouse_check_button_pressed()
mouse_check_button_released()
mouse_clear()
mouse_wait()
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()
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()
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()
mplay_connect_status()
mplay_data_mode()
mplay_data_read()
mplay_data_write()
mplay_end()
mplay_init_ipx()
mplay_init_modem()
mplay_init_serial()
mplay_init_tcpip()
mplay_ipaddress()
mplay_message_clear()
mplay_message_count()
mplay_message_id()
mplay_message_name()
mplay_message_player()
mplay_message_receive()
mplay_message_send()
mplay_message_send_guaranteed()
mplay_message_value()
mplay_player_find()
mplay_player_id()
mplay_player_name()
mplay_session_create()
mplay_session_end()
mplay_session_find()
mplay_session_join()
mplay_session_mode()
mplay_session_name()
mplay_session_status()

# N #

# O #
object_add()
object_delete()
object_event_add()
object_event_clear()
object_exists()
object_get_depth()
object_get_mask()
object_get_name()
object_get_parent()
object_get_persistent()
object_get_solid()
object_get_sprite()
object_get_visible()
object_is_ancestor()
object_set_depth()
object_set_mask()
object_set_parent()
object_set_persistent()
object_set_solid()
object_set_sprite()
object_set_visible()
ord()

# P #
parameter_count()
parameter_string()
part_attractor_clear()
part_attractor_create()
part_attractor_destroy()
part_attractor_destroy_all()
part_attractor_exists()
part_attractor_force()
part_attractor_position()
part_changer_clear()
part_changer_create()
part_changer_destroy()
part_changer_destroy_all()
part_changer_exists()
part_changer_kind()
part_changer_region()
part_changer_types()
part_deflector_clear()
part_deflector_create()
part_deflector_destroy()
part_deflector_destroy_all()
part_deflector_exists()
part_deflector_friction()
part_deflector_kind()
part_deflector_region()
part_destroyer_clear()
part_destroyer_create()
part_destroyer_destroy()
part_destroyer_destroy_all()
part_destroyer_exists()
part_destroyer_region()
part_emitter_burst()
part_emitter_clear()
part_emitter_create()
part_emitter_destroy()
part_emitter_destroy_all()
part_emitter_exists()
part_emitter_region()
part_emitter_stream()
part_particles_clear()
part_particles_count()
part_particles_create()
part_particles_create_color()
part_system_automatic_draw()
part_system_automatic_update()
part_system_clear()
part_system_create()
part_system_depth()
part_system_destroy()
part_system_draw_order()
part_system_drawit()
part_system_exists()
part_system_position()
part_system_update()
part_type_alpha1()
part_type_alpha2()
part_type_alpha3()
part_type_blend()
part_type_clear()
part_type_color_hsv()
part_type_color_mix()
part_type_color_rgb()
part_type_color1()
part_type_color2()
part_type_color3()
part_type_create()
part_type_death()
part_type_destroy()
part_type_direction()
part_type_exists()
part_type_gravity()
part_type_life()
part_type_orientation()
part_type_scale()
part_type_shape()
part_type_size()
part_type_speed()
part_type_sprite()
part_type_step()
path_add()
path_add_point()
path_append()
path_assign()
path_change_point()
path_clear_points()
path_delete()
path_delete_point()
path_duplicate()
path_end()
path_exists()
path_flip()
path_get_closed()
path_get_kind()
path_get_length()
path_get_name()
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()
path_insert_point()
path_mirror()
path_reverse()
path_rotate()
path_scale()
path_set_closed()
path_set_kind()
path_set_precision()
path_shift()
path_start()
place_empty()
place_free()
place_meeting()
place_snapped()
point_direction() Calculate the angle from one point to another.
point_distance() Calculate the distance between two points.
position_change()
position_destroy()
position_empty()
position_free()
position_meeting()
power()

# Q #

# R #
radtodeg()
random()
real()
room_set_background()
room_set_background_color()
room_set_caption()
room_set_code()
room_set_height()
room_set_persistent()
room_set_width().
round()

# S #
screen_redraw()
screen_refresh()
set_automatic_draw()
sign()
sin()
sqr()
sqrt()
string()
string_char_at()
string_copy()
string_count()
string_delete()
string_digits()
string_format()
string_insert()
string_letters()
string_letters_digits()
string_lower()
string_pos()
string_repeat()
string_replace()
string_replace_all()
string_upper()

# T #
tan()
tile_add()
tile_delete()
tile_exists()
tile_get_x()

# U #
# V #
# W #
# X #
# Y #
# Z #