GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
gameapi_example.php File Reference

Variables

 $id = $_GET["id"]
 $filename = "./user_data/temp/tmp" . $id . ".txt"
 $script = file_get_contents($filename)
 $homepage = $_GET["homepage"]
 $new_script = str_replace("@","\n",$script)
 $date = $_GET["date"]
border __pad0__
border radius
background color
margin __pad1__
padding __pad2__
width __pad3__
height __pad4__
</style ><!-- TO CHANGE THE PARAMETERS, YOU SHOULD CHANGE:container width/height(to change what area of the page is reserved for the model) and wd/hd(to change how large the 3d model is) and delta_x and delta_y(to position the model) -->< script > let wd = 800-28
let hd = 600-28
let delta_x =0
let delta_y =0
let container_width =800-28
let container_height =600-28
let enable_debug_border =false

Variable Documentation

◆ $date

$date = $_GET["date"]

◆ $filename

$filename = "./user_data/temp/tmp" . $id . ".txt"

◆ $homepage

$homepage = $_GET["homepage"]

◆ $id

$id = $_GET["id"]

◆ $new_script

$new_script = str_replace("@","\n",$script)

◆ $script

$script = file_get_contents($filename)

◆ __pad0__

border __pad0__

◆ __pad1__

margin __pad1__

◆ __pad2__

padding __pad2__

◆ __pad3__

width __pad3__

◆ __pad4__

height __pad4__

◆ color

background color

◆ container_height

let container_height =600-28

◆ container_width

let container_width =800-28

◆ delta_x

let delta_x =0

◆ delta_y

let delta_y =0

◆ enable_debug_border

let enable_debug_border =false

◆ hd

let hd = 600-28

◆ radius

border radius

◆ wd

</style><!-- TO CHANGE THE PARAMETERS, YOU SHOULD CHANGE: container width/height (to change what area of the page is reserved for the model) and wd/hd (to change how large the 3d model is) and delta_x and delta_y (to position the model) --><script> let wd = 800-28