jjwallace

Members
  • Content count

    118
  • Joined

  • Last visited

About jjwallace

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://jjwallace.info
  • Twitter
    jjaywallace
  • Skype
    jjaywallace

Profile Information

  • Location
    Manhattan NYC

Recent Profile Visitors

1,869 profile views
  1. get the ratio of width vs height and then multiply that
  2. How do I fade out and switch states?

    You might want to use this: (see documentation) fadeTo(duration, volume) Fades the volume of this Sound from its current value to the given volume over the duration specified. At the end of the fade Sound.onFadeComplete is dispatched with this Sound object as the first parameter, and the final volume (volume) as the second parameter.
  3. VirtualJoystick

    Sounds like a scoping issue, have you tried removing game and just using 'this'
  4. Are you referring to concept creation or final product?
  5. Question about file paths

    Yeah, get an extension for use with development. I use this one, https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn?hl=en
  6. Question about file paths

    Its because your scripts will be running in index so you will be 'assets/image.png'. Doesn't matter where the js files, just matters where the canvas is located and in this case its located on index.html
  7. Detect circle collision inside shape

    is this for a user interface? I only use my own physics so I am not sure if P2 has that function, perhaps there is a way.
  8. Mobile Issues

    Ive never had good luck with these things on mobile, they only work in webGL so canvas will not display them at all. Scaling is weird with them too
  9. looped rotation tween or updating the angle?

    The way you did it is how I would do it, it's as lightweight as it gets to my knowledge. Here is tween code in phaser: https://github.com/photonstorm/phaser/search?utf8=✓&q=tween&type=
  10. Move Patron Badge

    Like shown below
  11. Destroy does not remove prototype

    Very interesting, that is kinda what i have now without the onDestroy. I wish there was a way to completely obliterate it though.
  12. Destroy does not remove prototype

    So what i found is that after my fish is eaten (alive=false) he falls to the bottom and off the screen (active=false) so i found even after deleteing the sprite the object is being push farther and farther along the Y. This causes the drawable area or something larger and larger and so i was able to stop the prototype from making these calculations. I still wana destroy it if i can. I tried setting it to null but it hates that.
  13. Phaser on Linux & Rasberry Pi

    Why not use a android mini PC? Yes you can also run it on a raspberry pie! Here in NYC we have a club that builds games and cabinets a lot for their shows.
  14. Real Uglify JS with Grunt

    Alex_h, moving options outside target worked! thanks