Documentación

Home

GameClasses

Classes

GameScene

Inherits from object

The scene active to display and interact

Methods

Nombre Descripción Parámetros Valor de retorno
update Method to display every frame
Nombre Descripción
inputs inputs elements
time time elapsed between frames
detect_colisions Detect every impact in scene
Nombre Descripción
add_entity DEPRECATED
Nombre Descripción
entity new entity for the scene
spawn_entity Spawns an entity on a designed position of the scene
Nombre Descripción
entity new entity
position position
name name of the new entity
set_GPU
Nombre Descripción
gpu new gpu comunicating object
toGPU Sends the scene data to the gpu object
Nombre Descripción
gpuApi
render Renders the scene
Nombre Descripción
set_camera
Nombre Descripción
entity New camera