Skip to main content

Controller

Types of Controller

  • According to system requirements, the Septopus Engine supports three types of controllers, whose main functions are as follows:
TypeMain FunctionDeviceCode
FPV ControllerFirst person view controller in a 3D world[PC,Mobile]/control/control_fpv.js
2D Controller2D map controller[PC,Mobile]/control/control_2d.js
Observe Controller3D Content Observer Controller[PC,Mobile]/control/control_observe.js

Program Structure

  • Use a unified controller startup entry Controller.start() so that it can be called directly by the framework.

  • Controller needs to build the running DOM structure to place various required content.