Search the Community

Showing results for tags 'instant'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi all, I'd like to upload my game Instant Games, however I've been having a hard time applying Facebook's code to Phaser; I end up with a black every time. Let's say I have the following code: var game = new Phaser.Game(500, 500, Phaser.AUTO, null, {preload: preload, create: create, update: update}); var sprite; function preload(){ game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; game.load.image('sprite', 'img/character.png'); } function create(){ game.add.sprite(0,0,'sprite'); } function update(){ } How should I modify it to make it compatible with Instant Games? I'd really appreciate it if anyone can help me with this as I'm new to Phaser.