phaserjs / phaser

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.
https://phaser.io
MIT License
37.12k stars 7.1k forks source link

Arcade physics has console logs on circle body overlaps #6420

Closed leha-games closed 1 year ago

leha-games commented 1 year ago

Version

Description

Arcade physics has console logs on circle body overlaps. It spams console including in production

Example Test Code

Additional Information

https://github.com/photonstorm/phaser/blob/v3.60.0-beta.20/src/physics/arcade/World.js#L1560 https://github.com/photonstorm/phaser/blob/v3.60.0-beta.20/src/physics/arcade/World.js#L1605 https://github.com/photonstorm/phaser/blob/v3.60.0-beta.20/src/physics/arcade/World.js#L1613 https://github.com/photonstorm/phaser/blob/v3.60.0-beta.20/src/physics/arcade/World.js#L1622 https://github.com/photonstorm/phaser/blob/v3.60.0-beta.20/src/physics/arcade/World.js#L1638

Maybe more. Thanks

photonstorm commented 1 year ago

Using beta releases in production is a pretty brave move tbh. Logs need to remain until I've resolved the issue they are related to, but your bundler can strip them out if you need (most have options for this, webpack certainly does).