Browse Search Popular Register Upload Rules User list Login:
Search:
Scripting help

Image:
screenshot of the scene

Author: Death_noob

Group: Default

Filesize: 14.84 kB

Date added: 2016-12-30

Rating: 5

Downloads: 136

Views: 175

Comments: 5

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

If someone could make a help scene that wouldd be nice.
Here is something I made.
Please log in to rate this scene
edit
Similar scenes
Title: Scripting Tests
Rating: 5.625
Filesize: 88.06 kB
Downloads: 727
Comments: 2
Ratings: 2
Date added: 2010/01/10 00:18:46
Made with: Algodoo before v1.8.5
Rating: rated 5.6
download
Title: Thyme scripting tutorial
Rating: 5.625
Filesize: 26.33 kB
Downloads: 882
Comments: 4
Ratings: 2
Date added: 2009/11/29 13:59:26
Made with: Phun
Rating: rated 5.6
download
Title: Need some help with scripting
Rating: 5
Filesize: 292.73 kB
Downloads: 411
Comments: 0
Ratings: 1
Date added: 2011/04/21 02:26:22
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: ALGOODO SCRIPTING GUIDE (ENG)
Rating: 4.5
Filesize: 384.84 kB
Downloads: 518
Comments: 6
Ratings: 2
Date added: 2014/04/26 23:11:38
Made with: Algodoo v2.1.0
Rating: rated 4.5
download
Title: Ball counter, scripting SICK!!!!!!!
Rating: 7.3077
Filesize: 314.4 kB
Downloads: 1751
Comments: 2
Ratings: 7
Date added: 2009/09/03 09:54:02
Made with: Phun
Rating: rated 7.3
download
Title: Scripting for anybody part 1
Rating: 5
Filesize: 37.51 kB
Downloads: 310
Comments: 0
Ratings: 1
Date added: 2017/12/16 17:18:52
Made with: Algodoo v2.1.0
Rating: rated 5
download
Need spawning objects?
Here

(e)=>{
scene.AddCircle({
radius := 0.25;
pos := pos;
density := 2.0;
vel := e.normal * 10
})
}

You're welcome!
Or i will make it for you.
What does e.normal do? The way you use it in the above script leads me to presume it has x and y components, but other than that what is it? :?

Also, on the topic, here are some other spawnable geometries:
(e)=>{
Scene.addPolygon({
surfaces := [[[-0.5, -(3 ^ 0.5) / 6], [0.0, (3 ^ 0.5) / 3], [0.5, -(3 ^ 0.5) / 6]]];
pos := pos;
density := 2.0;
vel := e.normal * 10
})
}

(e)=>{
Scene.addBox({
size := [1.0, 1.0];
pos := pos;
density := 2.0;
vel := e.normal * 10
})
}
Last edited at 2017/01/01 09:36:33 by icrls984
Thanks!
I just have trouble remembering how to put the brackets :bonk: