Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Old snippet with answers

Author
Message
ironhoof
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location:
Posted: 25th Oct 2002 10:58
Ive got quite a few e-mails on my bubble and bola code
and how they work so here is the code agian and then i'll explain with pictures and stuff

---- bubble and bola

function Bubble(x,y,radius,colr)
ink colr,0:a#=-90.0
borf:
x2=cos(a#)*radius:y2=sin(a#)*radius
x2=x2+x:y2=y2+y:y3=y+(y-y2)/2:x3=x+(x-x2)
Box x3,y2,x2,y3:line x3,y2,x2,y3
inc a#,0.65:if a#screen width()-1 then x2=screen width()-1
if y3>screen height()-1 then y3=screen height()-1
Box x3,y2,x2,y3:inc a#,0.65
if a#
-----\
There was a man on the stairs that wasn't there.
He wasn't there agian today I think he's from the CIA.
ironhoof
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location:
Posted: 25th Oct 2002 11:00
oh forget it it clipped my message and it took a long time im not posting agian X_X

-----\
There was a man on the stairs that wasn't there.
He wasn't there agian today I think he's from the CIA.

Login to post a reply

Server time is: 2024-03-28 16:21:51
Your offset time is: 2024-03-28 16:21:51