Skip to content

Instantly share code, notes, and snippets.

@donnaken15
Last active September 6, 2023 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donnaken15/53ad882060ea815ddcbb3144f772e714 to your computer and use it in GitHub Desktop.
Save donnaken15/53ad882060ea815ddcbb3144f772e714 to your computer and use it in GitHub Desktop.
gamemaker md test
draw_set_font(courier)
draw_set_halign(fa_right)
draw_set_valign(fa_bottom)
draw_set_color(c_black)
if fps<room_speed/2{draw_set_color(make_color_rgb(255,8.5*((fps/room_speed)*60),0))}
if fps>=room_speed/2{draw_set_color(make_color_rgb(255-(8.5*(((fps/room_speed)*60)-30)),255,0))}
draw_text(view_wview[0],12,"FPS:"+string(fps)+"/"+string(room_speed))
draw_set_color(c_black)
draw_text(view_wview[0],view_hview[0],"KEY:"+string_format(keyboard_key,5,0)+"
OBJS:"+string_format(instance_count,5,0)+"
MOUSE:"+string_format(mouse_button,5,0)+"
RES: "+string_format(view_wview[0],5,0)+" x "+string_format(view_hview[0],5,0)+"
PTR: "+string_format(mouse_x,5,0)+" ,"+string_format(mouse_y,6,0)+"
VEL: "+string_format(mouse_x-mouse_x_last,5,0)+" ,"+string_format(mouse_y-mouse_y_last,6,0)+"
ACTIVE:"+string_format(active/*-100000*/,11,0)+/*"
HANDLE:"+string_format(window_handle(),11,0)+*/"
BUILDTIME:"+string_format(builddate,20,0)+"
CURTIME:   "+string_replace_all(string_format(current_month,2,0)+"/"+string_format(current_day,2,0)+
"/"+string_format(current_year,4,0)," ","0")+" "+string_replace_all(string_format(current_hour,2,0)+":"+
string_format(current_minute,2,0)+":"+string_format(current_second,2,0)," ","0"))
mouse_x_last = mouse_x
mouse_y_last = mouse_y
draw_set_halign(fa_left)
draw_set_color(c_red)
draw_text(0,view_hview[0],string_copy("/!\ WARNING: LOW FRAMERATE",0,(fps<=room_speed/3)*26))
int main()
@donnaken15
Copy link
Author

RIPOFF!!! >:V

@donnaken15
Copy link
Author

wait

@donnaken15
Copy link
Author

donnaken15 commented Sep 6, 2023

okay only a fifth of it is colored
still a ripoff
l2 gm81 m8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment