time-and-timers

Manage timers and time-based events in Phaser 4 game scenes.

Updated May 16, 2026
One-click install
npx skills add https://github.com/ckyeon/claude-code-settings --skill time-and-timers-ckyeon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: time-and-timers
Source: https://github.com/ckyeon/claude-code-settings/tree/main/project-templates/phaser/.claude/skills/time-and-timers
Command: npx skills add https://github.com/ckyeon/claude-code-settings --skill time-and-timers-ckyeon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires phaser, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive toolkit for managing timers and time-based events in Phaser 4, solving the challenge of integrating and managing time control within game development workflows.

Core Features & Use Cases

  • Timer Management: Handles one-shot, repeating, and infinite loop timers.
  • Event Sequencing: Organizes and sequences actions with the Timeline plugin.
  • Time Scaling: Controls the speed of timers with adjustable time scale values.
  • Use Case: When creating a game that requires precise timing for player actions, enemy spawns, or cutscene transitions, this Skill can manage all timing-related aspects efficiently.

Quick Start

Use the time-and-timers skill to create a one-shot delayed call in a scene's create method, e.g., this.time.delayedCall(1000, () => { console.log('One second later'); });.

Frequently Asked Questions about time-and-timers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage timers and time-based events in Phaser 4?

To manage timers in Phaser 4, use the built-in Clock and TimerEvent functionalities to schedule one-shot, repeating, or infinite loop delayed calls within your game scenes.

What is the best way to sequence time-based actions in a Phaser game?

The best way to sequence time-based actions in a Phaser game is using the Timeline plugin, which organizes and triggers synchronized actions like cutscene transitions and enemy spawns efficiently.

Can I adjust the speed of timers in Phaser 4?

Yes, you can adjust the speed of timers in Phaser 4 by applying adjustable time scale values, allowing you to control the synchronization and pacing of time-based game elements.

Does the time-and-timers skill require any specific dependencies for event scheduling?

Yes, the time-and-timers skill requires the Phaser library as a dependency to integrate time management and event scheduling functionalities into your game development scenes.

How do I create a one-shot delayed call in a Phaser scene?

To create a one-shot delayed call in a Phaser scene, use the create method with this.time.delayedCall, passing the milliseconds and callback function to trigger the time-based event.