Browse Search Popular Register Upload Rules User list Login:
Search:
Scripted Bomb

Image:
screenshot of the scene

Author: lustitaj

Group: Default

Filesize: 22.84 kB

Date added: 2010-03-08

Rating: 5.9

Downloads: 1343

Views: 1558

Comments: 4

Ratings: 3

Times favored: 0

Made with: Phun

Tags:

Scene tag

A bomb made only using script.

It spawns 200 balls with tracers in the impact point. This is why it can cause some lagg, because of the 200^2 contacts, but it will lag only for about one second so it's not that horrible:) .

Hope it's usefull.

Oh and thee scripts :

In console :

Code 1 :

position = [0, 0]

Code 2 :

ball () => {scene.addcircle {radius := 0.2; color := [1.0, 1.0, 0.0, 1.0]; restitution := 0.85; density := 5; pos := scene.my.position}; scene.addpen {radius := 0.2; pos := scene.my.position; color := [1.0, 1.0, 0.0, 1.0]}}

Code 3 :

explosion () => {scene.addcircle {radius := 0.2; color := [1.0, 1.0, 0.0, 1.0]; restitution := 0.85; pos := scene.my.position + [0.1, 0]}; scene.addpen {radius := 0.2; pos := scene.my.position + [0.1, 0]; color := [1.0, 1.0, 0.0, 1.0]}ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball ;ball }

OnCollide Code :

(e)=>{scene.my.position = e.pos; oncollide = (e)=>{}; explosion}

maybe there are some mistakes in the tracer code but it works :cool:
Please log in to rate this scene
edit
Similar scenes
Title: Faytree's unpleasant pill-bomb
Rating: 5
Filesize: 51.98 kB
Downloads: 688
Comments: 0
Ratings: 1
Date added: 2015/08/08 07:14:28
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: BOMB!!!
Rating: 6.8182
Filesize: 7.02 kB
Downloads: 729
Comments: 2
Ratings: 5
Date added: 2009/08/08 15:45:32
Made with: Phun
Rating: rated 6.8
download
Title: Scripted Bomb V2 (read desc)
Rating: 5
Filesize: 34.78 kB
Downloads: 703
Comments: 0
Ratings: 1
Date added: 2010/09/26 04:39:39
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: HE.BOMB
Rating: 5
Filesize: 23.34 kB
Downloads: 474
Comments: 4
Ratings: 1
Date added: 2010/10/11 19:54:07
Made with: Phunlet
Rating: rated 5
download
Title: Phunlet Safe Time-Delay Bomb
Rating: 5
Filesize: 56.21 kB
Downloads: 423
Comments: 0
Ratings: 1
Date added: 2011/03/26 19:17:55
Made with: Algodoo Phunlet
Rating: rated 5
download
Title: scripted water bomb
Rating: 5
Filesize: 4.01 kB
Downloads: 284
Comments: 0
Ratings: 1
Date added: 2011/04/08 21:34:43
Made with: Algodoo before v1.8.5
Rating: rated 5
download
nice scene :tup:
Last edited at 2010/11/18 15:54:47 by lior1997
stupid script to long use (e)=>{ for(200, (i)=>{ scene.addcircle({ and the density and such in this }) }) } spawns 200 circles :tup: if you want to learn more go to this link and add my msn or skype or ask in comment http://www.algodoo.com/algobox/details.php?id=48915
which button to explode?:(
it not explose, sucks !
Last edited at 2011/06/25 12:28:50 by Heinz Doofenshmirtz