Working, Bugged

Kohaku's picture

Roulette bet calculator/simulator

3
Average: 3 (1 vote)
// places a bet on either red or black
// and doubles your original bet if you
// lose and repeats until you get your
// money back.
 
set display mode 320, 240, 32
backdrop on
Kohaku's picture

Seamless heightmap generator

5
Average: 5 (1 vote)
A newly generated and smoothed heightmap.
sync on
sync rate 60
backdrop on
autocam off
set camera range 10, 10000
 
position camera 300,300, 0
xrotate camera 45
move camera -500
 
global displayData : displayData = 1
Kohaku's picture

Set, get, save and load variables

5
Average: 5 (1 vote)
`setup
global datcnt
dim datname(datcnt) as string
dim datentry(datcnt) as string
 
`example
set_dat("hi", "greeting")
set_dat("bye", "not greeting")
 
print get_dat("hi")
Kohaku's picture

Simple scipting

5
Average: 5 (1 vote)
//standard setup code
sync on
sync rate 30
 
 
//prepare the code holding array
dim code$(10)
 
 
//stick our code in an array
code$(1) = "print"
code$(2) = "hello!"
 
code$(3) = "print"
Kohaku's picture

Cel shaded style lines

0
No votes yet
sync on
sync rate 30
 
make object cube 1, 10
make object cube 2, -11
color object 2, 0
set object ambience 2, 0
 
move camera -50
 
do
   turn object right 1, 2
   turn object right 2, 2

Syndicate content