Difference between revisions of "API"

From WowWiki
Jump to navigation Jump to search
(Created page with " =Introduction= The main functions of the API are listed here, the features of the work of the environment are described ==WOWCube Paradigms== WOWCUBE executes 8 copies of...")
 
Line 15: Line 15:
  
 
===Font drawing functions===
 
===Font drawing functions===
 +
 +
 +
Example
 +
new text[4] = ['A', 'p', 'p', '\0'];
 +
abi_CMD_TEXT(text, 90, 160, 4, current_angles[face], 255, 0, 0);

Revision as of 17:09, 25 August 2020


Introduction

The main functions of the API are listed here, the features of the work of the environment are described

WOWCube Paradigms

WOWCUBE executes 8 copies of the byte-code of the script at the same time, providing functions for the interaction of scripts with each other, drawing functions, functions for accessing resources, and other specific functions. Each copy of the script has access to 3 displays. Resource scripts are packed into a package.

Graphic functions

Graphic primitives

Font drawing functions

Example

new text[4] = ['A', 'p', 'p', '\0'];
abi_CMD_TEXT(text, 90, 160, 4, current_angles[face], 255, 0, 0);