Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

166 B
Raw Blame
import { defineComponent } from 'esengine';

export const Rotator = defineComponent('Rotator', {
    speed: 90,
    baseY: 0,
    bobSpeed: 2,
    bobAmount: 30,
});