Jump to content

kpowgames

Members
  • Content Count

    2
  • Joined

  • Last visited

1 Follower

About kpowgames

  • Rank
    Newbie
  1. @Rudy, thanks for the reply After some tinkering I managed to achieve what I wanted, using a similar solution to the one you posted. You can test it here: https://dl.dropboxusercontent.com/spa/n21w18yffe5br95/rgb_proto01/rgb_proto01.html Here's the code: https://dl.dropboxusercontent.com/spa/n21w18yffe5br95/rgb_proto01/js/game.js I'm using the Arcade Physics Engine and I'm having some trouble with the collisions between the 3 diamonds... sometimes they overlap and I really didn´t want that to happen. The goal is to have them as solid objects that don´t bounce or overlap when colliding..
  2. Hello everyone, I'm fairly new to Phaser, and I'm just starting to figure things out. I made a simple prototype that uses "game.input.keyboard.createCursorKeys()" to listen and process the keyboard's cursor keys. Basically I have a sprite that moves up, down, left and right depending on input. Now I'm trying to achieve the same using touch events: when I swipe left, the sprite moves left; when I swipe up, the sprite moves up, etc.... but with no success. I've managed to detect swipe using a solution that user @imshag posted in this topic: http://www.html5gamedevs.com/topic/3862-swipe-to-
×
×
  • Create New...