question

zunomandeur avatar image
zunomandeur asked

Integration with ImpactJS engine

Hello,

I'm new to Playfab and trying to figure out how to implement it with impactjs. What would be the best practices.

for example how can i make a login request from the game class?

// Create your own game class
MyGame = ig.Game.extend({
    init: function() {
        // initialize your game world, bind some 
        // keys, etc.
        ig.input.bind( ig.KEY.SPACE, 'jump' );
        this.loadLevel( LevelMyGame1 );
    }
});

// Start your game
// 60fps, 320x240 pixels, scaled up by a factor of 2
ig.main('#canvas', MyGame, 60, 320, 240, 2 );
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Sorry, but we're not really able to support SDKs we don't produce. This is a question you'd really need to ask the ImpactJS team. What I can say is that any of our Login... API calls are available for you to use to sign players in on any device. How ImpactJS manages Web API calls and manages data (like our Session Ticket) over time is going to be specific to their engine.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.