Top Down Stealth Game
/game.html?volume=1.0&level=bank_1
or
https://stealth-em-up.jordanoleary.me/game.html?volume=1.0&level=bank_1
./local_server_for_testing.bat
SpriteBatch is a super charged display object container
Setting the CacheAsBitmap flag makes a display object's content (children) be rendered to a texture, and then that texture is drawn. With CacheAsBitmap on, children's rotation (for example) is excluded.
Drag code is updated in CodePractice repo.
You can use different gameLoops for different game states.
LOS
Line of Sight (fog of war)
True Point
is the point that the ray is sent to, but the end of the raycast may go beyond it