0.0.8 • Published 1 year ago
sundrop v0.0.8
SunDrop is a Javascript game engine
SunDrop is based on Phaser.js and Three.js
How to Install:
npm install sundrop
When Installed:
import * as SUN from "sundrop";
const renderer = new SUN.Renderer();
renderer.setColor("black")
document.body.appendChild(renderer.domElement);
function animate() {
renderer.render()
renderer.update()
requestAnimationFrame(animate)
}
animate()