by

Game Config File

This is a config file example to pass into the Phaser.Game. It is a barebones Phaser3 configuration object
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/4243678/Game-Config-File?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
var config = { type: graphics_mode, width: game_width, height: game_height, parent: 'div-tag-name', scene: [nameOfScene] };
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus