Jump to content

Search the Community

Showing results for tags 'P2 Ray Casting'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 1 result

  1. Hello, I'm trying to implement ray casting in a top down shooter to have almost very fast bullet speeds. After searching the the forum, I found this example but it has left me with some questions. Is there any way to determine if a Line intersects with a sprite or do I need create lines around each object that can be shot by the player or by enemies? My other idea for a solution to this problem is to loop through each point on ray and determine if there are any sprites at that location. Is there a method that is equivalent to getSpriteAt(x,y) or something like that? Thanks in advance.
  • Create New...