Hey everyone... I'm trying to make a little program that will work like a magic 8-ball, and randomly provide a response to yes or no questions. I don't know how to apply an 8-ball to a sphere or model it, really, at all... i'm a complete n00b with 3d things and barely better with 2d. I have a little spinning cube, but I can't figure out how to make it respond correctly when i hit a key and without making it not spin... it looks like this...
make object cube 1,100
do
yrotate object 1,object angle y(1)+0.1
xrotate object 1,object angle x(1)+0.2
zrotate object 1,object angle z(1)+0.5
if returnkey()=1 then gosub random
loop
Okay... you can see that it will go to a process called 'random' when you hit enter, but I don't know how to make 'random' actually recall a random answer to a yes or no question or make it display properly.
Any help would be greatly appreciated... thanks in advance.
Oh, and btw, this is basically inspired by the DBP little thing "My first spinning cube program." ... lol
I'm new to programming, sorry if I sound like a stupid N00B.