AngryMoose

Members
  • Content Count

    3
  • Joined

  • Last visited


Reputation Activity

  1. Like
    AngryMoose got a reaction from theoutlander in Noob questions: UI, Menus and TextureAtlas   
    Hi everyone,
     
    I recently found out about Phaser and I'm in love
     
    Quick questions:
     
    - How do you guys handle a static UI? Sprites/Text inside a group? 
    - I would also like a menu when clicking on an object (think right-click menu). I'd like to move the container to the location of the mouse and "hide" when clicking "outside" that object. Would a sprite be the right way to  go about it? Killing it to hide it?
    - I'm trying to use http://www.kenney.nl/assets UI Asset pack, but I'm not sure how Phaser handles the TextureAtlas XMLs. Any pointers would be appreciated.
     
    Thanks!
  2. Like
    AngryMoose got a reaction from Pooya72 in Doubt createFromObjects   
    "objects" should be the name of your "object layer" in Tiled, found in the JSON:
    { "height":7, "name":"buildings", "objects":[ <--------- { "gid":1, "height":0, "name":"", "properties": {...
  3. Like
    AngryMoose got a reaction from AlexArroyoDuque in Doubt createFromObjects   
    "objects" should be the name of your "object layer" in Tiled, found in the JSON:
    { "height":7, "name":"buildings", "objects":[ <--------- { "gid":1, "height":0, "name":"", "properties": {...
  4. Like
    AngryMoose reacted to codevinsky in [Plugin] Juicy: Simple Effects Plugin based on the "Juice it or Lose It" presentation   
    If you're not familiar with the presentation, it's vital that you go watch it: 
     
    Now that you've done that, this plugin currently allows you to easily implement the following effects:
    Camera Shake Screen Flash Object Trails Over Scaling Mouse Stretch Jelly Effect  
    DEMO
     
    SOURCE
     
    I've made a pull request and I hope rich will merge it into the official repo.