phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

Results 215 phaser issues
Sort by recently updated
recently updated
newest added

**The problem:** At the moment `Phaser.GameObjects.GameObject.setData()` is typed as follows: ```typescript setData(key: string | object, data?: any): this; ``` This results in situations that might be undesirable and prone to...

🐛 TypeScript Bug

When only empty object layers are added in Tiled, this is an empty object instead of an empty array. https://github.com/photonstorm/phaser/blob/1a086fc57c8faa53885fd1a4e20d617b958d3677/src/tilemaps/Tilemap.js#L260 Suggested solution: ```js this.objects = Array.isArray(mapData.objects) ? mapData.objects : [];...

🗺️ Tilemap

## Version * Patreon name: Matthias Hopf * Phaser Version: 3.55.2 * Operating system: Ubuntu 20.04.4 LTS * Browser: Chrome 102.0.5005.61, Vivaldi 5.2.2623.48 ## Description Opening a RTC video stream...

🎞 Video

This uses generics so that the return type from `closest()` is narrowed to match whatever type you passed in for the targets. I also clarified that the return type always...

It would be nice if there was an event that fired when all currently playing sound have completed playback. There is the COMPLETE event, but it only works if you...

💖 Feature Request
🎵 Audio

## Version * Phaser Version: 3.55.2 * Operating system: macOS Monterey 12.4 ## Description When trying to use the types for events I'm getting errors that the type is `any`,...

🐛 TypeScript Bug

## Version Phaser 3.6 beta ## Description When debug is enabled on a game object input and then the input is subsequently cleared, any debug object is left hanging. ##...

⌨️ Input

## Version * Phaser Version: 3.55.2 (tested with 3.24 too, before the Static & Dynamic layers were merged) * Operating system: W10, MacOs Montery * Browser: Reproduced on Brave, Chrome,...

🎥 Camera

Hey guys. recently I tried to put some button that I use on other scene on second preloading. my project have 2 scene of preloading, first preload before title and...

👩‍💻 Code example needed
⌨️ Input

## Version * Phaser Version: 3.55, 3.60.0-beta * Operating system: Windows, macOS * Browser: Chrome, Firefox * Phaser Rendering Mode: CANVAS ## Description Using `fill` method in `RenderTexture` does not...

🔮 Renderer (Canvas)