PhaserEditor2D Posted April 1, 2015 Author Share Posted April 1, 2015 Hi, Phaser Chains for Eclipse was approved and published in the Eclipse Marketplace: https://marketplace.eclipse.org/content/phaser-chains So now if you type "phaser" on the marketplace client, you will find it: Pooya72 1 Link to comment Share on other sites More sharing options...
rsadwick Posted April 2, 2015 Share Posted April 2, 2015 Nice work - showing your love for Phaser! I second the notion for looking into what you can do for intelliJ IDEA (jetbrains) IDEs. But nevertheless, this is handy for everyone. Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted April 2, 2015 Author Share Posted April 2, 2015 Hi @rsadwick let's see if I can deliver it to IDEA this weekend, I did Eclipse first because I have many years of experience with Eclipse plugins but I can reuse must of the code for IDEA. Link to comment Share on other sites More sharing options...
mafcho Posted April 3, 2015 Share Posted April 3, 2015 This is fantastic. Great contribution!! PhaserEditor2D 1 Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted April 3, 2015 Author Share Posted April 3, 2015 Here we go... PhaserChains IntelliJ IDEA plugin is done This is the plugin's page in the JetBrains plugin registry: https://plugins.jetbrains.com/plugin/7737 However I cannot see it in the IDE settings, I don't know if it has to be approved or something (I have no previous experience with IDEA, any help is welcome). Anyway, you can install it very easy from this ZIP file: https://bitbucket.org/boniatillo/phaserchains/downloads/IntelliJ_IDEA_com.boniatillo.phaserchains_1.0.0.zip To open the Phaser Chains tool window go to the main menu Tool > Phaser Chains or type CTRL+SHIFT+IAs usual, double click on a chain to open the JSDoc, and double click on an example to see the code on the default browser of your OS. The code and instructions are here: https://bitbucket.org/boniatillo/phaserchains And this is the screenshot: Link to comment Share on other sites More sharing options...
Berzee Posted April 3, 2015 Share Posted April 3, 2015 Just installed the Brackets plugin...including the example snippets was a great idea!I think this compares rather favorably with my old practice, which was to type the function into the Chrome debugger and read it there. =P PhaserEditor2D 1 Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted April 6, 2015 Author Share Posted April 6, 2015 Phaser Chains was approved in the JetBrains registry, now you can install the extension through the Settings > Plugins dialog: Link to comment Share on other sites More sharing options...
fariazz Posted April 9, 2015 Share Posted April 9, 2015 This is awesome! PhaserEditor2D 1 Link to comment Share on other sites More sharing options...
Pooya72 Posted April 9, 2015 Share Posted April 9, 2015 Brackets plugin works great PhaserEditor2D 1 Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted April 12, 2015 Author Share Posted April 12, 2015 Hi, if you are using Eclipse to develop phaser games, also take a look to this: http://www.html5gamedevs.com/topic/13794-phaser-code-completion-for-eclipse/ Link to comment Share on other sites More sharing options...
Pooya72 Posted April 15, 2015 Share Posted April 15, 2015 Thanks @Raicuparta! New fuatures... Together with the Phaser API and docs, the tool shows the matching lines of the official Phaser examples. It is very nice because in this way the new developer gets in a first glance how to use that API. For example, if you are looking for:animations.addyou will find the API of theAnimationManager.add(...)method, but also you will see, in the examples panel, a demonstration of how to use them:bot.animations.add('run');s.animations.add('spin', [0,1,2,3]);s.animations.add('spin', [0,1,2,3]);But you will not find only examples of the API, else you can discover "new" API, or the API need for a specific purpose. Let's say you want to know when a key is down, but you are not very familiar with the API, then you can find for:key*downYou will see, in the API panel, some methods like:Phaser.Key.onDown : Phaser.Signal;Phaser.GameObjectFactory.button(x, y, key, callback, callbackContext, overFrame, outFrame, downFrame, upFrame, group) : Phaser.Button;Phaser.GameObjectCreator.button(x, y, key, callback, callbackContext, overFrame, outFrame, downFrame, upFrame) : Phaser.Button;Phaser.Key.processKeyDown(event.) : void;Phaser.Key.timeDown : number;Phaser.Key.isDown : boolean;It gives you an idea of how to listen for a key down, but in the example panel you will discover the path to that method, or not the path, else the different paths:if (game.input.keyboard.isDown(Keys.LEFT))spaceKey.onDown.add(togglePause, this);if (upKey.isDown)At the same time, at the end of each matching line of the examples, you get a link to the complete example in the official github repo, so you can see the API you are looking for in a context. Because now there are more panels, you can play with the "layout" button, it has 3 different layouts. Ah, I missed to say, just now I implemented an "updating website" message. The website uses the application cache, so if this is not your first time, you should wait a bit and then refresh, to get the last changes. Next time it will advice you automatically. Thanks,@boniatillo_comHi ariana please add content of this post as a tutorial to your website and extensions, that could be very useful, for example i was not aware of usage of * , but this is awesome and im really happy about this feature PhaserEditor2D 1 Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted April 15, 2015 Author Share Posted April 15, 2015 Hi ariana please add content of this post as a tutorial to your website and extensions, that could be very useful, for example i was not aware of usage of * , but this is awesome and im really happy about this feature Hi @Pooya72, thanks for the suggestion, I will do it this weekend. Pooya72 1 Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted April 22, 2015 Author Share Posted April 22, 2015 If you are an Eclipse developer, maybe you will like this too ;-) OptiPNG for Eclipse Link to comment Share on other sites More sharing options...
jasonb Posted June 17, 2015 Share Posted June 17, 2015 This is a really great tool, and thank you for it!!! Are you going to continue updating it for Phaser 3? or does it just self update itself? PhaserEditor2D 1 Link to comment Share on other sites More sharing options...
starrynight Posted July 3, 2015 Share Posted July 3, 2015 This is absolutely awesome. And thank you for releasing the source too. In fact, I just signed up on this forum to say KUDOS! to you PhaserChains is very very helpful for me as I am just starting out in Phaser. The help system is indeed superior to the static docs as an API reference and guide, plus the discovery of new APIs is also wonderful, just like you mentioned in an earlier post in this thread. Thanks! PhaserEditor2D 1 Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted August 3, 2015 Author Share Posted August 3, 2015 Thanks jasnob... yes, I should updated it manually. Actually I should do it in these days to update to the new 2.4.2 version. This is a really great tool, and thank you for it!!! Are you going to continue updating it for Phaser 3? or does it just self update itself? Link to comment Share on other sites More sharing options...
Skeptron Posted August 4, 2015 Share Posted August 4, 2015 Do you plan on releasing an Atom plugin? That would be awesome =) Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted August 4, 2015 Author Share Posted August 4, 2015 Is the first time I hear about Atom.. let me check it. Do you plan on releasing an Atom plugin? That would be awesome =) Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted September 9, 2015 Author Share Posted September 9, 2015 Hi all, Phaser Chains was updated to support Phaser v2.4.3 I did some work to read the Phaser API directly from the Phaser source code and not from the JSON files generated by jsdoc (they are outdated in the phaser repo), so next Phaser releases will be easier to include in Chains. If there is any issue, you are welcome to write it here. ThanksArian P.S. Phaser Chains uses the Offline Cache of your browser, so you have to wait it to be updated, in any case you can try refreshing your browser. You can know if it was updated if you look for the "game.load.video" method ;-) Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted September 9, 2015 Author Share Posted September 9, 2015 I missed to say that the Brackets plugin is just a frame of the online website, so it will get the last changes too. The Eclipse plugin will be deprecated since now you can enjoy Phaser Editor, where Chains is included and up to date. The IntelliJ plugin will be updated in the near future, with the same code base of Phaser Editor. Pooya72 1 Link to comment Share on other sites More sharing options...
Recommended Posts