Jump to content

Brad P. Taylor

Members
  • Content Count

    14
  • Joined

  • Last visited

About Brad P. Taylor

  • Rank
    Member

Contact Methods

  • Twitter
    @lardratboy
  1. I agree with @ZoomBox having the rocks collide with the platforms would be nice. But please keep some sort of unexpected death from above that is not affected by the platforms to keep players from just sitting and hiding under platforms
  2. Anyone got a bit of code for Phaser (or PIXI.Text) that does text wrapping to fit inside simple geometry or better yet arbitrary masks?
  3. Nice job, looking forward to your next update. I could have sworn I got hit when there was no asteroid near me however after another few plays it didn't happen again so I must have been distracted and just hit one
  4. Hello Everyone, I was in need of some temporary art for a project and it dawned on me hey Flickr's API has the ability to search on tags and licenses... lightbulb moment - hey wouldn't it be great if I could just ask Flickr for an image with a set of tags and get sprite back (or a list of related images you can find the gist here http://goo.gl/lYJ9FX oh yeah you need to have a flickr api key and there are limits to the number of images you can pull down an hour, so it probably makes sense to implement some sort of local caching system. (or you could just copy them from your browser ca
  5. @PadreMontoya I have a partial solution, I'm still working out the kinks on transforms and clipping masks. Anyway what I did was create a invisible sprite which has a drag handler and a hitarea the size of the clipped scrolling area that forwards movement/timing info to the zinga scroller really any scroller would work but theirs was simple to integrate. The drag helper sprite and calls into the zynga scroller is in this gist, the full code relies on a couple other files so it isn't a finished solution for you but might help some. http://goo.gl/MsS8Ah https://github.com/zynga/scroller
  6. I wrote a Phaser.Group based Scale9 (written in TypeScript). It supports size snapping, simple texture stretching or tiling for the stretchy parts, http://goo.gl/qogf2t Known issues, when rotating and using alpha to fade there are cases where the texture sampling leaves a very small gap, however if you don't need fading I think this might work for you. -bpt
  7. Hello Everyone, This is a question, possible answer and a feature request all rolled into one. First the question: For my UI I need a way to set a specific sprite (or set of sprites) to be the only ones with active inputHandlers, Basically setCapture/releaseCapture... I spent a fair amount of time looking over the input system and didn't see this feature? My 'answer' http://goo.gl/3aUk2y This code adds setCapture, releaseCapture and getCapture to the Phaser.Input class. setCapture takes a single inputHandler or an array of them and will push the currently active notion of intera
  8. Hi All, While working on the ui for my project I needed to disable input for sprites that were clipped to a smaller scrolling view (think scrolling list), I peeked around the Input and InputHandler code and didn't see an way to restrict the input for the child from a parent (or grandparent)? Anyway I cobbled together a way to clip input for decedents. The code can be found in a small gist here http://goo.gl/LTfFOy It's pretty simple it modifies the prototype for InputHandler, by adding an ancestor search after any truthy result returned by the original checkPointerDown or CheckPointerOv
  9. Enigma Virtual Box, might be what you are looking for I haven't used this for a shipping product (yet) nor have I tried it with node-webkit.exe, however my experiments with it for bundling dll's and files into a single .exe works surprisingly well. Their $$$ products are also very interesting sounding as well however online publishers usually have their own wrappers but for selling something yourself it might be good? oops almost forgot the url ( http://enigmaprotector.com/en/aboutvb.html )
  10. ivanix,maybe you can start with a github gist? I'm very new to the whole putting code online for anyone to see/use. Setting up a repository for a single file module also seemed like overkill to me so I put off posting any code until recently when I discovered gists. I had no idea they were so easy to setup and use. https://help.github.com/articles/creating-gists -bpt
  11. I don't know of a list but it sure would be nice to have a jsperf.com/caniuse.com hybrid for Phaser/PIXI features.
  12. Hello Anybody, I just encountered a problem when preloading json, with IE9. I tracked the problem down the Phaser.Loader.jsonLoadComplete handler is using this._xhr.responseText instead of this._ajax.responseText when window.XDomainRequest is used. I checked the master/dev and parallel-loader branches there doesn't seem to be fix in place yet, is this a bug or am I missing something else here? Regards, Brad
  13. Hello everyone, I just recently started using Phaser and I am very impressed with it (and PIXI.js too) amazing work everyone! I started rolling my own Prefab style factory which naturally lead me to thinking about automatically nesting prefabs and in general creating layouts and scenes in json files etc. What started out as a couple dozen lines rapidly exploded into a few hundred... Then I saw that a new version of Phaser was released so naturally I upgraded to 2.0.6 and breezed over the what's new and bingo an asset pack loading system spontaneously appears and the mention of scene creati
×
×
  • Create New...