I am tring to display the time on the screen using GML only ..I am not sure where to write the codes.
could anyone help ?
Thanks.
Posted 29 July 2012 - 10:32 AM
Posted 29 July 2012 - 10:48 AM
Posted 29 July 2012 - 11:05 AM
initialize are your time variables in the create event
start_time = date_current_time();
end_time = start_time;
elapsed_time = end_time - start_time;
update all your time variables in the step event
end_time = date_current_time();
elapsed_time = end_time - start_time;
draw all your time variables in the draw event
draw_text( someX, someY, "Elapsed Time: " + string( elapsed_time ) ):
Posted 29 July 2012 - 11:22 AM
0 members, 0 guests, 0 anonymous users