Archived and no longer maintained! Use a way more power game engine DuckEngine instead.
A simple Javascript game engine.
- 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 the latest release from github.
- Unzip and copy to your project.
- Import Reflex as a module. (Help here)
- Done, Read The Docs.
- Run
npm install @ksplat/reflex
. - Import Reflex as a module. (Help here)
- Done, Read The Docs.
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.
- Make sure your script has the attribute type="module".
- Import all from Reflex.
- Look at the example.
- Make sure you started Reflex.
- Make sure you passed in a valid function.
- If none of this helped, create a bug issue.
-
main
Master branch, production branch, merge to, do not commit
-
features
Features to be merged to main on completion