Engine: Difference between revisions

From StarLogo Nova Wiki
m (Added category)
No edit summary
 
Line 1: Line 1:
<languages/>
<translate>
The '''Engine''' describes the computer program behind the scenes that [[#Compiling|compiles]] code from the [[#Workspace|workspace]], [[#Running|runs]] your code, and [[#Rendering|renders]] the output to [[Spaceland]]
The '''Engine''' describes the computer program behind the scenes that [[#Compiling|compiles]] code from the [[#Workspace|workspace]], [[#Running|runs]] your code, and [[#Rendering|renders]] the output to [[Spaceland]]


Line 17: Line 20:


[[Category: Technical]]
[[Category: Technical]]
</translate>

Latest revision as of 14:24, 16 March 2023


The Engine describes the computer program behind the scenes that compiles code from the workspace, runs your code, and renders the output to Spaceland

Compiling

Compiling describes taking the block code the user has written and converting it to instructions the computer can understand This step is hidden from the user.

Workspace

The workspace is the place where block code is written.

Running

Your program automatically starts running as soon as it successfully compiles. The engine attempts to run at a specified speed denoted as ticks per second.

Ticks

A tick describes that smallest unit of time for the engine. It describes the complete cycle of taking into account the current information in Spaceland, calculating what needs to change, and finally applying the changes visually.

Rendering

Rendering is the process at the end of each tick that calculates what needs to be displayed onto the screen.