Leaderboard


Popular Content

Showing content with the highest reputation on 10/27/14 in all areas

  1. 1 point
    Akis

    Multi-Style text

    Allo! For a specific project, I needed to create a lot of multi-style text. And to be honest, it's just painful to do it manually every time. So I decided to create an object to do it for me, because I don't want to do it manually anymore This one calculates the position of each group of text automatically and will save me a lot of dev time now. I called it "MultiStyleText" and the source code is available on github if you want: https://github.com/tleunen/pixi-multistyle-text I'm pretty sure there are a few bugs in there, especially with styles using different font-size. But this is a start I've released it as 0.1.0 because I'm not sure yet of the way to create it, with the 2 "styles" object. Feel free to suggest improvements on that! I put an example using the same that Mat created for Pixi.Text and here is the result: Let me know what you think.
  2. 1 point
    rich

    Phaser 2.1.3 "Ravinda" is Released

    Hi all, We're pleased to announce the immediate availability of Phaser v2.1.3 "Ravinda". Usually we wouldn't have released this version quite so soon after 2.1.2 but we worked hard with Goodboy Digital to tie it in so we released at exactly the same time as Pixi v2.0.0. Pixi v2 is a huge update - many months of hard work and refactoring. You can read about it in Mats blog post. Phaser 2.1.3 uses Pixi v2 fully through-out and we thankfully did it without breaking any Phaser APIs in the process There are also a bunch of new Phaser updates and enhancements as well which you can check on github. You'll also find the new Phaser JSON format documentation in this release. More details here. So all in all, a worthy upgrade We're going to switch to Phaser 2.2 development now, which will look at tackling some of the roadmap features such as parallel states. Cheers, Rich
  3. 1 point
    doyouknowyou

    External link using CocoonJS

    Just found out the answer! For those of you that want to know... Make sure to include the Cocoon API found here: https://github.com/ludei/cocoonjs-plugins Then... function rate(){ if (navigator.userAgent.match( /iPad/i ) || navigator.userAgent.match( /iPhone/i ) || navigator.userAgent.match( /iPod/i )){ Cocoon.App.openURL('http://www.apple.com'); } else if (navigator.userAgent.match( /Android/i) ){ Cocoon.App.openURL('http://www.google.com'); }}
  4. 1 point
    Temechon

    Documentation!

    And I can say the new documentation will be MUCH more beautiful than the current one
  5. 1 point
    spencerTL

    Accelerometer and lock orientation

    This is the GitHub link to the Phaser template directory: https://github.com/photonstorm/phaser/tree/master/resources/Project%20Templates
  6. 1 point
    Yes! That was it! Thanks clark!! BTW This also solved another issue I had with button clickareas when the animation, running from within an iframe, was on fullscreen
  7. 1 point
    casarock

    Accelerometer and lock orientation

    Hi, there are some WebAPIs which could help. First Screen Orientation Lock: https://developer.mozilla.org/en-US/docs/Web/API/Screen.lockOrientation It's experimental but available at some Browsers/Devices. You could check the aspect ratio, too. Take a look at Richs mobile Template. Second: There is a WebAPI for Device Orientation and Device Motion. But support is limited, too: https://developer.mozilla.org/en-US/docs/Web/API/Detecting_device_orientation I've used Device Orientation and some other APIs for a #altctrl Jam entry this year: http://www.altctrlgamejam.com/games/541d471864ff4f2c5a10cc8e The video shows, it works perfect on a FirefoxOS device. Everything is implemented with Phaser. Sources here: https://github.com/appsbu-de/ambilander Maybe this helps a bit.
  8. 1 point
    SolarJS

    Tracking & Protection of your games

    Because I put a lot of effort in it and build my own engine which can run even fast 2,5D arcade games on mobile at 60fps using simple canvas rendering. As far as I see it, it's a one of a kind thing out there. And I want to protect this advantage. Sorry, I must have written it wrong. I meant track your games using tracking modules. Some kind of alternative to Flurry for HTML5. I want to track mainly on servers I do not control. EDIT: Since I answered only your unedited post, here is the follow up: Your link does not provide an answer I was looking for (see explanation above).
  9. 1 point
    I had this problem to ! and after a day searching on the examples multi touch one give me the answer ( too late to read your answaer Rich :C ) if (game.input.pointer1.isDown)That should do it