Details:
No Media, 20 Lines
Requires DarkPhysics
Requires DarkBasic Professional
Instructions:
Use your mouse to hit the tower of doom and make it collapse.
Also, try and hit the blocks that are falling.
Notes:
Program runs slow at first.
While the tower is collapsing, it will speed up.
Source:
Sync On : Sync Rate 0 : Phy Start
For x=1 to 1000
make object box x,5,10,5
move object up x,((x-1)*10)+1
phy make rigid body dynamic box x
Next x
Make Object Box 1001,1000,1,1000
Phy Make Rigid Body Static Box 1001
Sphere=1002
Make Object Sphere Sphere,15
Move Object Up Sphere,100:Move Object Right Sphere,50
Phy Make Rigid Body Static Sphere Sphere
Position Camera 0,125,-250
Do
Text 20,20,STR$(SCREEN FPS())
Position Mouse Object Screen X(Sphere),Object Screen Y(Sphere)
Phy Set Rigid Body Position Sphere,Object Position X(Sphere)+(MouseMoveX()/2),Object Position Y(Sphere)-(MouseMoveY()/2),0
Phy update
Sync
Loop
Creator:
Xeno (XenMedia)
KTHNXBAI
Sig by BiggAdd.