Skip to content

Can't load any games #1

@CBGamesdev

Description

@CBGamesdev

Hello,

I've followed the brief instructions on the repository however when I put in my swf's name the game will not load. The loading screen will, but stop before it finishes and no game loads. I put my game title where it says

config = {
"showFPS": false, // show fps display - always false in prod
"debug": true, // disable JS blobind - always false in prod
"title": "TestPlayer", // disable JS blobind - always false in prod
"filename": "example", // filename of game - no extension - must be set for each config
"splash": "assets/todo.jpg", // path to splash-image - with extension
"start": null, // path to start-image - with extension - optional - if present, loader wait for user input to start the game
"width": 900, // width of preloader screen (todo: grab this from splashimage ?)
"height": 540, // height of preloader screen (todo: grab this from splashimage ?)
"x": 0, // x offset of stage (either absolute px value, or string with percentage of window.innerWidth (0-100))
"y": 0, // y offset of stage (either absolute px value, or string with percentage of window.innerHeight (0-100))
"w": "100%", // width of stage (either absolute px value, or string with percentage of window.innerWidth (0-100))
"h": "100%", // height of stage (either absolute px value, or string with percentage of window.innerHeight (0-100))

If you could walk me through this it'd be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions