• Content count

  • Joined

  • Last visited

About jjwallace

  • Rank
    Advanced Member

Contact Methods

  • Website URL
  • Twitter
  • Skype

Profile Information

  • Location
    Manhattan NYC

Recent Profile Visitors

2,118 profile views
  1. jjwallace

    Generic platformer + ES6 / Webpack 4 boilerplate

    You rock! Gonna play with this thing today.
  2. get the ratio of width vs height and then multiply that
  3. jjwallace

    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.
  4. jjwallace


    Sounds like a scoping issue, have you tried removing game and just using 'this'
  5. Are you referring to concept creation or final product?
  6. jjwallace

    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
  7. jjwallace

    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
  8. jjwallace

    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.
  9. jjwallace

    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
  10. jjwallace

    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=
  11. jjwallace

    Move Patron Badge

    Like shown below
  12. jjwallace

    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.
  13. jjwallace

    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.
  14. jjwallace

    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.
  15. jjwallace

    Real Uglify JS with Grunt

    Alex_h, moving options outside target worked! thanks