phaser-movement-testing

Simulate Phaser key presses and validate movement and collision blocking.

2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/pmarashian/cursor-agent-skills --skill phaser-movement-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phaser-movement-testing
Source: https://github.com/pmarashian/cursor-agent-skills/tree/main/phaser-movement-testing
Command: npx skills add https://github.com/pmarashian/cursor-agent-skills --skill phaser-movement-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of reliably testing player movement and collision detection in Phaser games, especially when standard browser automation tools fail to interact correctly with Phaser's input system.

Core Features & Use Cases

  • Standardized Movement Patterns: Provides consistent methods for simulating key presses and programmatic movement.
  • Workarounds for Automation Limits: Offers solutions when browser automation's synthetic events are not recognized by Phaser.
  • Collision Verification: Includes patterns for testing if movement is correctly blocked by in-game obstacles.
  • Use Case: When testing a new character controller in a Phaser game, use this Skill to ensure that pressing the arrow keys results in smooth, accurate movement and that the character stops correctly when hitting a wall.

Quick Start

Use the phaser-movement-testing skill to simulate pressing the right arrow key for 500 milliseconds and then releasing it.

Frequently Asked Questions about phaser-movement-testing

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

FAQPage Schema
Why does browser automation not work for testing Phaser movement?

You can test collision detection in Phaser by using standardized patterns that validate movement through open areas and into walls. This Skill provides methods to verify that in-game obstacles correctly block player position updates during corner cases.

How do I simulate key presses to test Phaser game movement?

To simulate key presses for Phaser game movement testing, you can programmatically manipulate key objects directly. This allows you to simulate pressing an arrow key for a specific duration, like 500 milliseconds, and then releasing it to validate movement.

What is the best way to verify player position updates in Phaser games?

The best way to verify player position updates in Phaser games is by using standardized movement patterns that test programmatic simulation. This ensures accurate position tracking when navigating open areas and colliding with obstacles.

Can I use this approach to test corner cases in Phaser collision detection?

Yes, you can test corner cases in Phaser collision detection using these programmatic movement simulation patterns. They validate that character movement is correctly blocked by walls and that position updates behave accurately during edge case interactions.