Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdoleary/stealth_em_up
Top Down Stealth Game
https://github.com/jdoleary/stealth_em_up
Last synced: 28 days ago
JSON representation
Top Down Stealth Game
- Host: GitHub
- URL: https://github.com/jdoleary/stealth_em_up
- Owner: jdoleary
- Created: 2014-06-10T14:22:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-11-15T00:11:40.000Z (about 4 years ago)
- Last Synced: 2024-10-31T13:12:42.581Z (3 months ago)
- Language: JavaScript
- Homepage: stealth-em-up.vercel.app
- Size: 27.1 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Stealth_em_up
=============## Live Url
/game.html?volume=1.0&level=bank_1or
https://stealth-em-up.jordanoleary.me/game.html?volume=1.0&level=bank_1
## How to run
./local_server_for_testing.bat## Todo
- raycasting problem is due to the offset, but the offset is necessary to properly sort the points## Optimize:
* Anything that doesn't need to have its objective x and y calculated independently should be a part of a parent sprite. Then the sprite's xy is calculated and all the children aren't.
* Increase the usuable size of maps by turning off .visible for cells not in view?## Notes:
* 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.## Terms:
- `LOS` Line of Sight (fog of war)
- The starburst is what is used to calculate the LOS shade
- `True Point` is the point that the ray is sent to, but the end of the raycast may go beyond it