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

Image:
screenshot of the scene

Author: DarkNova

Group: Default

Filesize: 74.08 kB

Date added: 2014-11-04

Rating: 5

Downloads: 545

Views: 353

Comments: 5

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

What the text box says...

I'll try to make a plane that drops off the bomb after the question is answered...
Last edited at 2014/11/04 20:57:59 by DarkNova
Please log in to rate this scene
edit
Similar scenes
Title: Scripting Tests
Rating: 5.625
Filesize: 88.06 kB
Downloads: 704
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: 864
Comments: 4
Ratings: 2
Date added: 2009/11/29 13:59:26
Made with: Phun
Rating: rated 5.6
download
Title: Scripting tutorial
Rating: 5.8334
Filesize: 23.05 kB
Downloads: 2047
Comments: 5
Ratings: 6
Date added: 2009/12/19 22:50:03
Made with: Algodoo before v1.8.5
Rating: rated 5.8
download
Title: Basic Scripting Scene A lot of things that run on scripts!!!!!
Rating: 5.4444
Filesize: 39.95 kB
Downloads: 581
Comments: 2
Ratings: 3
Date added: 2009/11/11 00:56:33
Made with: Phun
Rating: rated 5.4
download
Title: Need some help with scripting
Rating: 5
Filesize: 292.73 kB
Downloads: 392
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: 490
Comments: 6
Ratings: 2
Date added: 2014/04/26 23:11:38
Made with: Algodoo v2.1.0
Rating: rated 4.5
download
You can spawn any object this way:
1. Select the object you want to spawn.
2. While the object is highlighted, press Ctrl-C keys (copy).
3. Go into script menu of the spawn generator object (in this case it's the circle that gets bumped by the box).
4. In the onCollide script area: (e)=>{add script here} place your cursor between the curly brackets (where I wrote "add script here") and press Ctrl-V (Paste). If there is other script already in that spot, delete it first.

That's it! Each time the box collides with the circle, another object will spawn in the original x/y position. You can make the objects spawn in different positions, but that requires that you modify the pos x and y positions.
Just wanted to say exactly the same thing. Found that way of scripting by random, and it's very usefull for quickly scripting 1 or multiple things with many attributes
@Xray Thanks for the help!:)
For some reason it doesn't spawn properly... Whenever the bomb goes off the ball doesn't go up but just stays and when it blows up the tracers don't go off like the first model.
Now you need to take off your "design hat" and put on your "debugging hat"! :)