
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
sprunk-engine
Advanced tools
## Description A TypeScript game engine designed to be simple and small (Only 50 kb once minified) but modular, and extensible. It is intended to be used primarily in the browser.
A TypeScript game engine designed to be simple and small (Only 50 kb once minified) but modular, and extensible. It is intended to be used primarily in the browser.
This engine architecture focus on event driven architecture and enforcing a strict separation of concerns between the different components of the engine. Not only for the engine itself but also for the games built on top of it.
npm i sprunk-engine
Go to the empty project and click on the "Fork" button.
Depending on what you want to do, you can check these examples:
You can also check the end-to-end tests of this project, providing small examples of how to use the engine:
The documentation is available in the doc folder. Here are some useful links:
Install packages
npm install
Run vite dev server
npm run dev
npm run test
npm run build
This will generate a dist folder containing the library files.
vite build
This will generate static files in the dist folder.
You can then deploy these files to a any web server.
npm run generate-uml
npm run generate-doc
This will generate a /doc/site/build folder containing the documentation (static website).
├───doc # Documentation
├───src # Source code
│ ├───Core # Core components
│ │ ├───Caching # Cache management system
│ │ ├───DependencyInjection # Dependency injection system
│ │ ├───EventSystem # Event and callback helpers
│ │ ├───Initialisation # Engine initialization
│ │ ├───MathStructures # Math structures (Vector, Quaternion, Transform)
│ │ ├───Tickers # Time management and game loop control
│ │ ├───Utilities # Utility functions (Array, Math, etc.)
│ ├───Extensions # Extensions and modules
│ │ ├───AudioEngine # Audio behaviors
│ │ ├───Debugger # Debugging tools
│ │ ├───InputSystem # Web input system (Gamepads, Keyboard, Mouse)
│ │ ├───PhysicsEngine # 2D polygon physics engine using SAT
│ │ ├───RenderEngine # WebGPU rendering engine
├───test # Unit tests (Vitest)
│ ├───CommonResources # Shared resources (assets) for tests
│ ├───Core # Core component tests
│ ├───ExampleBehaviors # Reusable example behaviors for tests
│ ├───Extensions # Extension tests
│ │ ├───Some Extension # One folder per extension
│ │ │ ├───Assets # Assets used for the specific extension
│ │ │ ├───Mocks # Mocks for the extension
│ │ │ ├───Integration # Integration tests for the extension (html files, etc.)
The classes are written in order to follow the Google TypeScript style guidelines
feature/SPR-XX-NameOfTheFeatureDistributed under the MIT License. See LICENSE.txt for more information.
FAQs
## Description A TypeScript game engine designed to be simple and small (Only 50 kb once minified) but modular, and extensible. It is intended to be used primarily in the browser.
The npm package sprunk-engine receives a total of 2 weekly downloads. As such, sprunk-engine popularity was classified as not popular.
We found that sprunk-engine demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.