https://github.com/kirillzhosul/scheduler
Game Maker (GML) library that allows to schedule (delay or repeat) functions, await async events.
https://github.com/kirillzhosul/scheduler
async gamemaker-studio-2 gml library package scheduler
Last synced: 5 months ago
JSON representation
Game Maker (GML) library that allows to schedule (delay or repeat) functions, await async events.
- Host: GitHub
- URL: https://github.com/kirillzhosul/scheduler
- Owner: kirillzhosul
- License: mit
- Created: 2022-01-20T13:18:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T18:25:59.000Z (over 4 years ago)
- Last Synced: 2025-02-05T12:24:41.989Z (over 1 year ago)
- Topics: async, gamemaker-studio-2, gml, library, package, scheduler
- Language: Game Maker Language
- Homepage: https://kirillzhosul.github.io/scheduler/
- Size: 65.4 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 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](src/Scheduler/notes/SCHEDULER_DOCUMENTATION/SCHEDULER_DOCUMENTATION.txt)! \
About GML async events [Official Documentation](https://docs2.yoyogames.com/source/_build/2_interface/1_editors/events/async_events.html)!