selenebun / towerdefense Goto Github PK
View Code? Open in Web Editor NEWSimple tower defense game in p5.js
Home Page: https://rsaihe.github.io/towerdefense/
License: MIT License
Simple tower defense game in p5.js
Home Page: https://rsaihe.github.io/towerdefense/
License: MIT License
The method of calculating distance to the exit currently does not account for the fact that enemies may not take the shortest route due to path tiles forcing them to take a longer way. Because of this, if there are crossovers, towers seem to target the enemy physically closest to the exit rather than the one furthest along on its path.
There seems to be something causing lag spikes to occur every once in a while. It occurs even when no towers or enemies present. Frame rate drops from roughly 60 FPS to as low as 20 or 30 for a few seconds at a time.
Intermittent significant drops in frame rate seem to occur when enemies are moving
Framerate stays at around an average of 30 fps consistently, even when no enemies are active, dropping as low as below 20 fps at times.
Seems to be related somehow to the more zoomed-in map sizes. Haven't noticed this problem on the larger map sizes. So far observed on maps with tile size of at least 36px. Always seems to occur once enemies have already spawned on the map.
If you have a tower tapped on than restart you can then sell the tower making it unfair at the start
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.