-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This is my vanilla js code
var game = {
var : {},
object : {},
level : {},
state : {},
util : {},
collisionTypes : me.collision.types,
onload : function () {
// Initialize the video.
if (!me.video.init(1080, 2340, {wrapper : "screen", scale : "auto", scaleMethod: "fit" , antiAlias: true, doubleBuffering: false, subpixel: false, transparent: false, powerPreference: 'default'})) {
alert("Your browser does not support HTML5 canvas.");
return;
}
me.audio.init("mp3,ogg");
// me.utils.function.defer(me.plugin.register, this, window.melonjsdebugPlugin.DebugPanelPlugin, "debugPanel");
...
Metadata
Metadata
Assignees
Labels
No labels