{"id":13528708,"url":"https://github.com/nommiin/Timers","last_synced_at":"2025-04-01T14:32:50.432Z","repository":{"id":97815199,"uuid":"258573996","full_name":"nommiin/Timers","owner":"nommiin","description":"An implementation of both setTimeout and setInterval from JS in GameMaker Studio 2.3","archived":false,"fork":false,"pushed_at":"2020-04-24T17:46:21.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-02T15:36:11.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Yacc","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nommiin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-04-24T17:07:15.000Z","updated_at":"2023-01-17T04:29:57.000Z","dependencies_parsed_at":"2024-01-03T04:07:36.620Z","dependency_job_id":"79a890dd-85f3-4faa-99b8-f18cbf2e61ad","html_url":"https://github.com/nommiin/Timers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nommiin%2FTimers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nommiin%2FTimers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nommiin%2FTimers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nommiin%2FTimers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nommiin","download_url":"https://codeload.github.com/nommiin/Timers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246655218,"owners_count":20812601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:00:23.083Z","updated_at":"2025-04-01T14:32:50.033Z","avatar_url":"https://github.com/nommiin.png","language":"Yacc","funding_links":[],"categories":["Timing"],"sub_categories":["Recommendations"],"readme":"# Timers\nAn implementation of both setTimeout and setInterval from JS in GameMaker Studio 2.3\n\n# Usage\n1. Copy `setTimeout`, `setInterval`, and `setManager` into your project\n1. Create an instance of the `setManager` at game start (alternatively, call `__INTERVAL_UPDATE__` and `__TIMEOUT_UPDATE__` every frame)\n2. Create an timeout or interval using `setTimeout`/`setInterval` respectively\n3. Use `clearTimeout`/`clearInterval` to stop them from running\n\n# Extra\n- Callback functions have an `arguments` variable which is an array of arguments that are passed to the callback from the inital `setTimeout`/`setInterval` functions\n- `setTimeout`/`setInterval` return a numerical ID which can be passed into `clearTimeout`/`clearInterval` to stop them from running\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnommiin%2FTimers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnommiin%2FTimers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnommiin%2FTimers/lists"}