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: 973

Views: 1139

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: bomb v2 (Scripted)
Rating: 5
Filesize: 20.35 kB
Downloads: 371
Comments: 0
Ratings: 1
Date added: 2011/01/22 00:28:25
Made with: Phun
Rating: rated 5
download
Title: Scripted Bomb (read desc)
Rating: 5
Filesize: 26.71 kB
Downloads: 586
Comments: 2
Ratings: 1
Date added: 2010/09/26 01:17:53
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: BOMB!!!
Rating: 6.8182
Filesize: 7.02 kB
Downloads: 551
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: 512
Comments: 0
Ratings: 1
Date added: 2010/09/26 04:39:39
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: BOMB try it read description
Rating: 5.1765
Filesize: 78.81 kB
Downloads: 3006
Comments: 5
Ratings: 11
Date added: 2010/01/07 20:46:46
Made with: Phun
Rating: rated 5.2
download
Title: scripted water bomb
Rating: 5
Filesize: 4.01 kB
Downloads: 209
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