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

Views: 1424

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: 628
Comments: 0
Ratings: 1
Date added: 2015/08/08 07:14:28
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Bomb v4
Rating: 5
Filesize: 21.71 kB
Downloads: 672
Comments: 0
Ratings: 1
Date added: 2011/02/27 01:17:38
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Simple Scripted Bomb
Rating: 7.8823
Filesize: 195.93 kB
Downloads: 3958
Comments: 7
Ratings: 11
Date added: 2010/07/17 10:00:50
Made with: Algodoo before v1.8.5
Rating: rated 7.9
download
Title: BOMB!!!
Rating: 6.8182
Filesize: 7.02 kB
Downloads: 648
Comments: 2
Ratings: 5
Date added: 2009/08/08 15:45:32
Made with: Phun
Rating: rated 6.8
download
Title: HE.BOMB
Rating: 5
Filesize: 23.34 kB
Downloads: 393
Comments: 4
Ratings: 1
Date added: 2010/10/11 19:54:07
Made with: Phunlet
Rating: rated 5
download
Title: BOMB try it read description
Rating: 5.1765
Filesize: 78.81 kB
Downloads: 3300
Comments: 5
Ratings: 11
Date added: 2010/01/07 20:46:46
Made with: Phun
Rating: rated 5.2
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