@ksplat/reflex
v1.4.0
Published
A simple javascript game engine.
Downloads
5
Readme
Reflex
A simple Javascript game engine.
Features
- Rigid Bodies.
- Basic rigid body physics.
- RigidBody custom event listener.
- StaticLights.
- Background loader with methods.
- Attaching different shapes to one main object.
- Sound player with event listeners and custom events.
- Proximity sounds.
- Different shapes such as rect, roundrect, circle, and sprite (img)
- Entity Management.
- Particles with images or colors and preset animations such as explosion and smoke.
- Text and Button UI.
- Basic Shadow.
- Great performance.
- Future Plans such as dynamic lighting.
- Often updates/patches.
- And way more. Look at the docs!
Download
Github
- Download the latest release from github.
- Unzip and copy to your project.
- Import Reflex as a module. (Help here)
- Done, Read The Docs.
NPM
- Run
npm install @ksplat/reflex
. - Import Reflex as a module. (Help here)
- Done, Read The Docs.
CDN Module
Development
- Import Reflex as a module. (Help here)
- Change the from to the CDN link.
- Done, Read The Docs.
Production
- Import Reflex as a module. (Help here)
- Change the from to the CDN link.
- Done, Read The Docs.
Docs
Help
Importing
- Make sure your script has the attribute type="module".
- Import all from Reflex.
- Look at the example.
Loop not starting
- Make sure you started Reflex.
- Make sure you passed in a valid function.
- If none of this helped, create a bug issue.
Branches
main
Master branch, production branch, merge to, do not commit
features
Features to be merged to main on completion