Jump to content

Phaser 2.4.0 "Katar" Released


rich
 Share

Recommended Posts

post-1-0-27604700-1437580886.png

 

Phaser 2.4 is now live :)

 

http://phaser.io/news/2015/07/phaser24-released

 

Thank you to everyone who helped test the Release Candidates - you all found a number of great bugs that were squashed as a result.

 

There will definitely be a 2.4.1 release! I won't wait as long as I did between 2.3 and 2.4 for the next release, and we'll focus mainly on bug fixes and finishing off implementation of certain new classes (like Create).

 

Please give me a day or two to update the site with the new docs and examples, I want to tidy them all up before pushing live.

 

Cheers,

 

Rich

Link to comment
Share on other sites

Damn, hoped I would find this during my testing of the RC, but all mouse inputs doesn't work in Safari 8.0 (haven't tested earlier versions of Safari).

 

This includes:

  • spr.events.onInputDown.add(state_construction.partClicked, this);
  • game.input.activePointer.isDown
  • Even button click callbacks

I have tested on Chrome on the same machine, and things works as they used to pre-2.4.0

 

I am using the newest as per this reply, 2.4.0a, release of Phaser and upgraded from 2.3.0 where it worked in Safari.

Link to comment
Share on other sites

Hi, :)

on 2.4.0  and 2.4.1

game.cache.removeImage("imageKey"); is not working for me at all, (mac: chrome and FF) getting:

TypeError: PIXI.BaseTextureCache[key] is undefined

 

if I do a game.cache.checkImageKey("imageKey") or game.cache.checkKey(Phaser.Cache.IMAGE, "imageKey") it does output true, but if I console.log(game.cache) I don't see it on the item on _cache.image, however it does show (and can be removed) after another image has been cached.

 

I read the cache had been re-written somewhere, is there a new way of removing from cache that maybe I'm missing?

 

cheers

Link to comment
Share on other sites

Is loading a bitmapFont from a manifest file broken?

 

In Phaser 2.3 I was using this example and it worked fine, now it's not in 2.4:

https://github.com/photonstorm/phaser/blob/master/resources/Asset%20Pack%20JSON%20Format/assetPack.json#L122

 

Currently I'm getting the warning and error:

(warning) Phaser.Cache.getBitmapFont: Key "eightbit-32" not found in Cache.
(error) phaser.js:40821 Uncaught TypeError: Cannot read property 'font' of null

 

I saw this in the changelog:

 

  • LoaderParser.bitmapFont, xmlBitmapFont and jsonBitmapFont all now return the font data rather than write it to the now deprecated PIXI.BitmapText.fonts global array.

I'm assuming it's related to that, but I'm not sure what changes to make for it to work.

Link to comment
Share on other sites

Thank you, I was looking for someone's opinion based on the new Phaser's performance.

 

I think before releasing a new version there should be, except unit testing, a performance testing with simple benchmarks that show something like:

Phaser 2.3 -> Bunny Benchmark: 53FPS @ 20k bunnies

Phaser 2.4 -> Bunny Benchmark 56FPS @20k bunnies

 

Also some benchmarks for load times would be awesome :D

Link to comment
Share on other sites

I've been having a go with Phaser 2.4 and using videos, works fine on desktops and ios but I've noticed the video doesn't load on my android device.

 

Any example of how are you working with the videos in this new version? I had done tests with an older version of Phaser http://phaser.azurewebsites.net/videos/

 

But the videos do not work well on mobile => http://www.html5gamedevs.com/topic/6851-play-video-file/#entry74792

 

PD: Sorry for my bad english haha

 

Regards, Nicholls

Link to comment
Share on other sites

Thank you so much Rich for supporting the Creature Animation Tool! I hope it will be a very useful addition to anybody wanting to use Phaser to do high quality mesh and bone animation :)

 

An example:

http://www.kestrelmoon.com/creature/demo_raptor.html

 

Cheers!

 

Any example of this in http://phaser.io/examples/ or http://codepen.io/?

 

Regards, Nicholls  ^_^ 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...