enpu

Panda 2 development

Recommended Posts

Hi,

Already replied to your email, but will answer here also shortly.

I have been pretty busy with other projects, but yes i'm still working on Panda always when i got free time, or when there is project where i can use Panda.

Share this post


Link to post
Share on other sites

New changes.

Asset loading functions:

game.addAsset
game.removeAsset
game.removeAllAssets

(Sorry for going back and forth with these ones)

New loader graphics with percentage and error messages. Can be customized with attributes:

game.Loader.minTime (minimum time to show the loader)
game.Loader.showLogo
game.Loader.showBar
game.Loader.showText

Cleaned Scene functions.

before:
game.createScene('Main', {
    init: function() {
        this.addTween(...);
        this.addTimer(...);
    }
});

after:
game.createScene('Main', {
    init: function() {
        game.Tween.add(...);
        game.Timer.add(...);
    }
});

Added Sprite tinting:

sprite.tint = ’#ff0000’;
sprite.tintAlpha = 0.5;

new SystemText class to render native canvas text without bitmap fonts.

var text = new game.SystemText('hello');
text.addTo(this.stage);

 

Share this post


Link to post
Share on other sites

Hi @enpu

In the previous version I had to create my own class of a loader.

Is this no longer the case / are the loader attributes set in the config file now?

*** EDIT ***

Just tested this and it looks like the loader is build in now - awesome :)

Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.