{"id":15284024,"url":"https://github.com/samme/phaser-debug-timer","last_synced_at":"2025-08-16T08:06:06.263Z","repository":{"id":57322832,"uuid":"81370565","full_name":"samme/phaser-debug-timer","owner":"samme","description":"Debug methods for timers and timer events","archived":false,"fork":false,"pushed_at":"2017-03-07T02:51:40.000Z","size":148,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T17:11:44.336Z","etag":null,"topics":["phaser"],"latest_commit_sha":null,"homepage":"https://samme.github.io/phaser-debug-timer/","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samme.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-08T20:03:13.000Z","updated_at":"2024-05-29T11:50:54.000Z","dependencies_parsed_at":"2022-09-10T16:51:55.979Z","dependency_job_id":null,"html_url":"https://github.com/samme/phaser-debug-timer","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/samme/phaser-debug-timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-debug-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-debug-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-debug-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-debug-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samme","download_url":"https://codeload.github.com/samme/phaser-debug-timer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-debug-timer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262678828,"owners_count":23347429,"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":["phaser"],"created_at":"2024-09-30T14:48:40.465Z","updated_at":"2025-06-29T22:34:41.542Z","avatar_url":"https://github.com/samme.png","language":"CoffeeScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"![Screenshot](https://samme.github.io/phaser-debug-timer/screenshot.png)\n\n[Demo](https://samme.github.io/phaser-debug-timer/)\n\nUse ⏱\n---\n\nDefault arguments are shown. The default timer is the master timer, [game.time.events](http://phaser.io/docs/2.6.2/Phaser.Time.html#events).\n\n```javascript\n// Show duration since timer started:\ngame.debug.timerElapsed(timer = this.game.time.events, x, y, label = timer.name)\n\n// Show a timer event's pending interval (uncommon):\n// {width}px === 1s\ngame.debug.timerEvent(event, x, y, width = 100, height = 20, label = event.name)\n\n// Show all pending timer events for a timer:\n// {width}px === 1s\ngame.debug.timerEvents(timer = this.game.time.events, x, y, width = 100, height = 20, label = timer.name)\n\n// Show the next pending timer event:\n// {width}px === 1s\ngame.debug.timerNextEvent(timer = this.game.time.events, x, y, width = 100, height = 20, label = timer.name)\n```\n\nYou may find it helpful to name your timers and events:\n\n```javascript\nvar timer = this.game.time.create();\ntimer.name = 'name';\n\nvar timerEvent = timer.add(/*…*/);\ntimerEvent.name = 'name';\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamme%2Fphaser-debug-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamme%2Fphaser-debug-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamme%2Fphaser-debug-timer/lists"}