
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
A lightweight Javascript engine framework focused on the following ideas:
To get started, pull the repository and take a look at the samples/
directory, or read the docs. More documentation will be written as the framework matures.
Rather than using an inheritance tree, TANK uses a component-based architecture. In this model, you write lots of small, modular components that can be attached to any object to create custom behaviors quickly. A component's logic can very quite a bit in scope, such as a simple position component that just has x
and y
fields, to a complex renderer that handles drawing and sorting other drawable components.
An Entity is a generic object whose behavior is defined by the collection of components attached to it. It also may contain child entities which receive updates when it does. Most 'things' in your game will be entities, whether it is a barrel on the ground, a trigger zone, or something more abstract like the object that manages the AI of your strategy game.
All Components can listen to Entities for events. For example, each Entity will dispatch the 'childadded' event when a child is added to it. Events can be dispatched immediately, next frame, or after a certain timeout.
FAQs
A lightweight Javascript game engine framework.
The npm package tank-js receives a total of 1 weekly downloads. As such, tank-js popularity was classified as not popular.
We found that tank-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.