zelab
06-07-2005, 05:15 PM
explode(300,10,1000)
setBuddyPos(300,10)
resetForces();
xx=275;
if(firstRun(),
loop(3,
assign(bb,addConstraint(create("bowlball",xx,200,0,0),xx,10,10))+
assign(xx,xx+25)
),
0)
Gives $3000 (or so) dollars each shot.
ONLY RUN ONCE!!!!! ---- since redo, this is not needed anymore.
If you want to run twice, refresh the webpage.
Have fun. currently working out bugs in the program, such as, bowling balls not being able to be deleted, and getting the whole screen black.
CODE REDONE! Works alot better, less chars, full black screen removed.
HOW TO MAKE THIS GIVE MORE MONEY!
explode(300,10,1000) <--- change the 1000 to whatever
setBuddyPos(300,10) you want the higher the
resetForces(); more cash youll end up getting.
xx=275; changing the number too high
if(firstRun(), will result in a crash.
loop(3,
assign(bb,addConstraint(create("bowlball",xx,200,0,0),xx,10,10))+
assign(xx,xx+25)
),
0)
Newest code.
Name: mine_field
Run : Once.
resetForces();
xx=30;
yy=60;
zz=30;
if(firstRun(),
loop(8,
assign(bb,addConstraint(create("grenade",xx,200,0,0),xx,200,75))+
assign(xx,xx+75)+
noAutoDelete(bb)
),
0)
loop(7,
assign(bb,addConstraint(create("grenade",yy,200,0,0),yy,100,75))+
assign(yy,yy+75)+
noAutoDelete(bb)
),
0)
loop(7,
assign(bb,addConstraint(create("grenade",zz,200,0,0),zz,10,75))+
assign(zz,zz+75)+
noAutoDelete(bb)
),
0)
setBuddyPos(300,10)
resetForces();
xx=275;
if(firstRun(),
loop(3,
assign(bb,addConstraint(create("bowlball",xx,200,0,0),xx,10,10))+
assign(xx,xx+25)
),
0)
Gives $3000 (or so) dollars each shot.
ONLY RUN ONCE!!!!! ---- since redo, this is not needed anymore.
If you want to run twice, refresh the webpage.
Have fun. currently working out bugs in the program, such as, bowling balls not being able to be deleted, and getting the whole screen black.
CODE REDONE! Works alot better, less chars, full black screen removed.
HOW TO MAKE THIS GIVE MORE MONEY!
explode(300,10,1000) <--- change the 1000 to whatever
setBuddyPos(300,10) you want the higher the
resetForces(); more cash youll end up getting.
xx=275; changing the number too high
if(firstRun(), will result in a crash.
loop(3,
assign(bb,addConstraint(create("bowlball",xx,200,0,0),xx,10,10))+
assign(xx,xx+25)
),
0)
Newest code.
Name: mine_field
Run : Once.
resetForces();
xx=30;
yy=60;
zz=30;
if(firstRun(),
loop(8,
assign(bb,addConstraint(create("grenade",xx,200,0,0),xx,200,75))+
assign(xx,xx+75)+
noAutoDelete(bb)
),
0)
loop(7,
assign(bb,addConstraint(create("grenade",yy,200,0,0),yy,100,75))+
assign(yy,yy+75)+
noAutoDelete(bb)
),
0)
loop(7,
assign(bb,addConstraint(create("grenade",zz,200,0,0),zz,10,75))+
assign(zz,zz+75)+
noAutoDelete(bb)
),
0)