OK!
Well, I just startes some DBP programming/coding in school... And well, our teacher didn't teach us anything.. except what a loop, if and statement.. and maybe the most basic things are...
We currently have to make a two level game, that has 20 facts incorporated into it.. My idea was to print a fact on the screen everyone time you ran into an object, in this case... a fruit...
I'll post this, if it helps..
NumberOfFruits = 35
FruitColor = 0
for t = 1 to NumberOfFruits
if FruitColor = 0
r = 255 : g = 0
endif
if FruitColor = 1
r = 255 : g = 255
endif
if FruitColor = 2
r = 0 : g = 255
endif
if FruitColor = 3
r = 255 : g = 125
endif
FruitColor = FruitColor + 1
if FruitColor = 4 then FruitColor = 0
make object sphere t + NumberOfFruits ,50
color object t + NumberOfFruits , rgb(r,g,0)
position object t + NumberOfFruits ,Rnd(1900),Rnd(200)+30,Rnd(1900)-950
make object collision box t + NumberOfFruits ,-25,-25,-25,25,25,25,0
next t