rich Posted February 5, 2014 Share Posted February 5, 2014 I'm really pleased to announce that the long-awaited 1.1.4 is finally out. There is a full write-up about it on my blog here: http://www.photonstorm.com/phaser/phaser-1-1-4-kandor-released-check-out-the-new-features-and-roadmap Thank you to everyone who contributed feedback and testing during development. This is a significant upgrade, so be careful before blindly upgrading from 1.1.3 if your game is well established under that codebase. If you find issues (and I'm sure you will!) please check the Examples first to see if there is a new way of handling things, then post about it on the forum (don't clog up this thread, it will be impossible for us to keep track, create a new one). Or use github issues too. Thanks everyone Lonan, Rudrabhoj Bhati, wichiwichi and 10 others 13 Link to comment Share on other sites More sharing options...
Heru Posted February 5, 2014 Share Posted February 5, 2014 I'm still very new to Phaser (started yesterday), but I think I did the right choice when determining which JS Engine to use to build games.The examples that come with Phaser are really helpful, but the one thing I'm missing (and maybe I'm just blind or something) is a search funtion on http://docs.phaser.io.It is enterily possible that I'm completely blind and it is quite obvious where it is, but I would be more than greatful if you could point me to it. Other than that: Great work! Link to comment Share on other sites More sharing options...
rich Posted February 5, 2014 Author Share Posted February 5, 2014 Nope you're absolutely right, there isn't one I'm afraid For now I would use google and its site flag, like this: sprite site:http://docs.phaser.io Link to comment Share on other sites More sharing options...
OttoRobba Posted February 5, 2014 Share Posted February 5, 2014 Kudos on the release! Was looking forward to it Love the new examples On the subject of documentation, I do think that it could be a tad better. Now, full disclosure, I'm a javascript newbie, so that might be the cause. If it is, disregard my suggestion. I do believe that an API should be as exposed and documented as possible. For reference of what I believe is ideal documentation, take a look at Processing's website. It is, in my humble opinion, the best reference I've seen on programming. Lua reference is pretty good, as is Love2d reference. There is already a wealth of examples for Phaser and they could, coupled with a more exposed API, provide an even better documentation than we have now. The current flow to do something: Ok, I need to add a Sprite for my character. The Phaser.Sprite shows something that is different/more convoluted/not the convention from what I want so let's check Game. game.add refers to GameObjectFactory. GameObjectFactory page shows that one of it's members is sprites. So game.add.sprites would add a sprite. Got it. A more exposed reference would be: Ok, I need to add a Sprite for my character. Let's search for the word sprite... There, found it!game.add.sprite()*clicks it**Views description, example and whatnot.* I am willing to help with the documentation, if there is a want/need to change it. Oh and the processing-like solution above doesn't require a search bar Link to comment Share on other sites More sharing options...
rich Posted February 5, 2014 Author Share Posted February 5, 2014 It's not quite the same thing as Processing though. Phaser is all about the helper functions that just don't exist elsewhere. A search for "Sprite" could bring up many many references all over the place, as it should. What it should do is make you think "Oh and Sprite class" *click* and then somewhere at the top it says "To create a Sprite use game.add.sprite". That's the sort of enhancement it needs imho More text! Link to comment Share on other sites More sharing options...
OttoRobba Posted February 5, 2014 Share Posted February 5, 2014 It's not quite the same thing as Processing though. Phaser is all about the helper functions that just don't exist elsewhere. A search for "Sprite" could bring up many many references all over the place, as it should. What it should do is make you think "Oh and Sprite class" *click* and then somewhere at the top it says "To create a Sprite use game.add.sprite". That's the sort of enhancement it needs imho More text! More text <3 I would love to see the documentation working like that. With Phaser, like Pixi.js, moving away from global variables, we could also have multiple examples per page. More text and inline examples would make for one hell of a great documentation. I'd like to help with that when I'm more comfortable with Phaser Link to comment Share on other sites More sharing options...
rich Posted February 5, 2014 Author Share Posted February 5, 2014 There is a way in jsdoc to link a method description to an external example - which is where all the hundreds of examples could come in to play! Have never actually tried it though. Link to comment Share on other sites More sharing options...
Nokdu Posted February 6, 2014 Share Posted February 6, 2014 the typescript definition files seem to have some errors (trying in vs..) got some optional parameters done wrong (have needed parameters after optional) and.. can't find a definition file for sat.js plus.. a lot of definitions are missing.. maybe i should just ditch typescript Link to comment Share on other sites More sharing options...
Heppell08 Posted February 6, 2014 Share Posted February 6, 2014 Wooooh 1.1.4 release! There's my task for today sorted! Thanks Rich! Get that pixi intergration tweeted phaser in 1.1.5! Genius Rich needs some epic credit for this phaser and forum answers! True dedication! Good work Rich as I ever! Link to comment Share on other sites More sharing options...
DELETE THIS ACC PLS Posted February 6, 2014 Share Posted February 6, 2014 Wish I could code JavaScript ... Amazing! Link to comment Share on other sites More sharing options...
LuckieLordie Posted February 7, 2014 Share Posted February 7, 2014 Congratulations rich! I've just got one or two little questions. In the older versions I used "Sprite.body = null" to remove that sprite from being checked for physics. Is this still a viable way to do that? Similarly does Sprite.autoCull still work as before? I'm using ChipmunkJS as my physics system at the moment so It's pretty important that I cut down the amount of time Phaser is doing physics to as small as possible Looking to maybe move to the new SAT system if time allows! Link to comment Share on other sites More sharing options...
jerome Posted February 7, 2014 Share Posted February 7, 2014 really impressive work !congratulations. Link to comment Share on other sites More sharing options...
kbmonkey Posted February 8, 2014 Share Posted February 8, 2014 Thank you rich and the Photon Storm team, this is great! I find it amazing how you give back to the community like this. Just a few days after discovering Phaser, I catch the 1.1.4 release. So I guess I will be cutting my teeth on this version, and will report any issues on GitHub. I see there is Protracker module support included with this release, making my post in the Audio forum moot Link to comment Share on other sites More sharing options...
rich Posted February 8, 2014 Author Share Posted February 8, 2014 In the older versions I used "Sprite.body = null" to remove that sprite from being checked for physics. Is this still a viable way to do that? Similarly does Sprite.autoCull still work as before? Yes this still works fine And nothing changed with autoCull, so it should still be fine yes. Link to comment Share on other sites More sharing options...
jerome Posted February 9, 2014 Share Posted February 9, 2014 Could someone with the good rights update the cdnjs repo please ?http://cdnjs.com/libraries/phaser/ Link to comment Share on other sites More sharing options...
LuckieLordie Posted February 10, 2014 Share Posted February 10, 2014 Yes this still works fine And nothing changed with autoCull, so it should still be fine yes. Brill thanks for that! Link to comment Share on other sites More sharing options...
jancarlo Posted February 10, 2014 Share Posted February 10, 2014 Hey guys, Great job on the update. Can someone point me to where the API docs are? I'm having a hard time locating it in http://docs.phaser.io/ Best,Jancarlo Link to comment Share on other sites More sharing options...
jerome Posted February 10, 2014 Share Posted February 10, 2014 http://docs.phaser.io/Phaser.html Link to comment Share on other sites More sharing options...
rich Posted February 10, 2014 Author Share Posted February 10, 2014 Just to say that I'm aware of the physics related issues and I'll be posting details soon. srikarg 1 Link to comment Share on other sites More sharing options...
woratana Posted February 11, 2014 Share Posted February 11, 2014 Thank you for your hard work! Link to comment Share on other sites More sharing options...
calebeaires Posted February 11, 2014 Share Posted February 11, 2014 Is there many difference from 1.1.3 version? I have changed the files on this tutorial http://www.photonstorm.com/phaser/tutorial-making-your-first-phaser-game and the game movement get very slow. Link to comment Share on other sites More sharing options...
BunBunBun Posted February 11, 2014 Share Posted February 11, 2014 rich, can you please make phaser.js and phaser.min.js files each time when release a new version? =) so I have some issues with grunt.. Link to comment Share on other sites More sharing options...
rich Posted February 11, 2014 Author Share Posted February 11, 2014 rich, can you please make phaser.js and phaser.min.js files each time when release a new version? =) so I have some issues with grunt.. I always do! Link to comment Share on other sites More sharing options...
jerome Posted February 11, 2014 Share Posted February 11, 2014 here : https://github.com/photonstorm/phaser/tree/master/build Link to comment Share on other sites More sharing options...
hitin Posted February 11, 2014 Share Posted February 11, 2014 Hi people, I am new at this, but I can see its all good. I am now learning and planning to develop games using this amazing framework. However I am facing an issue with getting started. I have windows 7 with IIS running and when I try to run the examples I get following error "Unable to load examples.json data file". I tried it on all 3 browsers I have, Chrome, FireFox and IE10. The version of Phaser is 1.1.4 (Master) Can anyone help me out? Regards,Hitin Link to comment Share on other sites More sharing options...
Recommended Posts