Skip to content

Game Maker (GML) library that allows to schedule (delay or repeat) functions, await async events.

License

Notifications You must be signed in to change notification settings

kirillzhosul/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Maker Scheduler

This repository contains "Scheduler" project-package.

"Scheduler" allows you to:

  • Delay / repeat:
    • Delay function calls for given N amount of frames [scheduler(f).after(n)],
    • Repeat function calls for given N amount of frames [scheduler(f).every(n)],
    • Or, all at once (repeat function every N frames, after N frames) [scheduler(f).after(n).every(n)],
  • Await:
    • Call function when HTTP request is completed (function will give you result). [scheduler(f).http_async(http_get(...))]
    • Call function when Steam request is completed (function will give you result). [scheduler(f).steam_async(steam_*(...))]
    • Call function when Buffer is loaden/saved. [scheduler(f).buffer_async(buffer_load_async(...))]
    • Call function when Dialog is completed (function will give you result). [scheduler(f).dialog_async(show_question_async(...))]
    • Call function when Image is loaden. [scheduler(f).sprite_async(sprite_add(...)) OR sprite_add_async(...)]

Read more at Documentation!
About GML async events Official Documentation!