• Content count

  • Joined

  • Last visited

About AdamRyanGameDev

  • Rank
    Advanced Member
  1. Collision detection on angled areas...

    I am having some problems with a game where players enter safe and danger zones... some of these areas have sprites that are angled (rotated) but appear to fire collision when the 'character' sprite collides with their total X Y rectangle space (ie minXpoint to maxXpoint, minYpoint to maxYpoint)[imagine an angled rectangle pushing out its boundaries by its 4 corners] would this be right? Or am I having other issues? TO counter act i guess I will have to create n number of collision boxes (sides parallel to X-Y axe) overlapping along angleX.
  2. How to Create a Loading Scene in Phaser3

    Thanks! ha ha you should mention it plays audio... scared the pants off me! Anyways off to have a look.
  3. Getting Started with Phaser 3

    Check out this video in phaser news And this tutorial from Good luck and enjoy!
  4. How to Create a Loading Scene in Phaser3

    I am wondering how to create a title/loading scene, ideally with.... A % downloaded progress bar B that also if possible preloads all assets for all scenes if possible? Any ideas/examples?
  5. Feedback on Mobile Performance

    Good news: My modest mini games' attempts haven't provoked any problems so far on mobile... Design issue: How do others handle the physical world problems... namely movement across a desktop screen will appear faster than movement across a smaller screen (even though obviously they are traversing the same %value of the game screen)? How do you more experienced guys handle outputting to large and small screens?
  6. How to order 2 functions with the same input

    Thanks Rich! I will have to be careful because I normally use a modular code base divide into small reusable functions that generate my code server side (so order of event handlers is not always guaranteed...)
  7. How to order 2 functions with the same input

    I have stared in the face of madness with this little problem, converting some old games from a different engine I used phases to space out calls, but I hadn-t realised this wouldn-t work with the underlying js... eg I had a function with pointerdown that reset which sprite was selected input.on('pointerdown', function... following calling that function I LATER call a second function on pointerdown which relied on getting a possible new sprite selection (but the two functions couldnt be merged for technical purposes) input.on('pointerdown', function It didnt work well, it seemed the code was a click 'behind' , I tore my hair out, I drank coffee until i started itching all over, then i realised this was mitigated by a double click... ah ha! I simply made the second function pointerup. input.on('pointerdown', function... input.on('pointerup', function... Ok it isnt essential for me right now, but I would like to know how i could guarantee that two event driven functions are called in a certain order, is it possible? I appreciate this was probably javascript ignorance!
  8. setInteractive() on a whole group

    As always thank you Rich!
  9. setInteractive() on a whole group

    I would like to make a group interactive. The following did not work groupOfZombies.setInteractive(); Then just to add the resulting code to discover which sprite was clicked needs to me access the sprite-key, i have been looking for it but I can't seem to find it (mainly because most code functions using 'this') spriteCat2.setInteractive(); spriteCat2.on('pointerdown', function () { var thisSpriteName = this.key; console.log(thisSpriteName); }); any help would be appreciated!
  10. Ok, maybe my inexperience with developing games in html is at fault here, the warning is a general Browser Versus Js warning, not phaser3 related. If anyone in the future is interested one link to start looking at could be on StackO Ciao!
  11. I have been getting this warning in my console.log, but I am not exactly sure how to interpret it... does it mean I am overloading the 'load' handler (btw, what-s that?). Is it a serious warning or just a FYI warning?
  12. Best way to learn Phaser 3?

    And the labs with working examples to phaser3Fiddle with....
  13. Kristal Quest

    Yeah! I got to the platformer part!
  14. Feedback on Mobile Performance

    After seeing this recent post I just wanted to ask how others are fairing with mobile browser performance. Also wondered if Phaser3DevTeam would benefit from hearing good and bad news from a variety of devices/browsers/OS's, because it is particularly difficult to test on multiple scenarios....
  15. Kristal Quest

    Just to say didnt play on my phone Samsung Galaxy J5 (2016) Android 6.0.1 Would load images but no interaction