Jump to content

Dio

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. The link does not work. Anyway, maybe you could make bar using crop instead of scaling? Something like here with health bar: http://codepen.io/jdnichollsc/pen/oXXRMz
  2. Thanks for confirmation. I went with deriving from Image though.
  3. Hi, Is it possible to create conveyor belt effect with Arcade physics system? Like this example made with box2d, but on Arcade http://phaser.io/examples/v2/box2d/conveyor-belt#gv Of course, conveyor tracks will have to be horizontal.
  4. Hi, I would like to understand which option should I choose for a clickable image: My assumptions are: if I want my "button" to participate in physics, I should go with a Sprite. If my "button" does not involve physics, I can choose either Button or Image. Button from images differs that they have functionality to show different image frames for different states of a button (out, over, up). If I do not want my button to have different states, i should go with Image. Are my assumptions correct? Can you provide more real life scenarios when you have chosen one type of clickable image o
  5. Hi, I am trying to figure out whats the best way to create an inventory item (which could be an image, sprite or a button) with partial semi-transparent overlay. The idea is that user clicks on (enabled) inventory item, and then clicks on game area which puts that item on game area. That inventory item should be disabled for a specific period of time. What I am thinking is adding grey semi-transparent overlay on a button, which grows from bottom to top proportionally by be time elapsed. When time elapses, button is enabled again and overlay is removed. What's the correct way to do that?
×
×
  • Create New...