Browse Search Popular Register Upload Rules User list Login:
Search:
Material Name (OnCollide) Scripting Tutorial

Image:
screenshot of the scene

Author: PHUNGL

Group: Default

Filesize: 220.02 kB

Date added: 2013-07-31

Rating: 5

Downloads: 975

Views: 518

Comments: 7

Ratings: 1

Times favored: 0

Made with: Algodoo v2.0.2 Edu

Tags:

Scene tag

This is my first tutorial! It teaches you how to use a "material name" to script certain things to change properties. Fairly useful for me.

I would put buttons to pan to each step, but i don't have algodoo 2.1.
:(

:tup:
Please log in to rate this scene
edit
Similar scenes
Title: onCollide Scripting tutorial 1
Rating: 5.8889
Filesize: 78.45 kB
Downloads: 895
Comments: 7
Ratings: 3
Date added: 2009/12/11 01:54:47
Made with: Algodoo before v1.8.5
Rating: rated 5.9
download
Title: Explanation of scene.my
Rating: 5
Filesize: 21.77 kB
Downloads: 464
Comments: 0
Ratings: 1
Date added: 2013/07/28 02:49:34
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Thyme scripting tutorial
Rating: 5.625
Filesize: 26.33 kB
Downloads: 873
Comments: 4
Ratings: 2
Date added: 2009/11/29 13:59:26
Made with: Phun
Rating: rated 5.6
download
Title: The Absorber tutorial
Rating: 6.3
Filesize: 242.45 kB
Downloads: 670
Comments: 3
Ratings: 4
Date added: 2010/11/22 17:49:55
Made with: Phun
Rating: rated 6.3
download
Title: Screen GUI Scripting Tutorial
Rating: 5
Filesize: 26.11 kB
Downloads: 382
Comments: 0
Ratings: 1
Date added: 2016/09/17 22:59:38
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Power Truck Tutorial
Rating: 5.625
Filesize: 138.43 kB
Downloads: 648
Comments: 0
Ratings: 2
Date added: 2010/01/16 21:20:44
Made with: Phun
Rating: rated 5.6
download
Why not update to the latest version? It's FREE!

Good tutorial! :tup:
Last edited at 2013/07/31 04:21:10 by Xray
Didn't you see my comment I replied in Powerball Level 11 when you suggested I used lives? :s
No, I did not see your comment in your Powerball scene. Sorry, I didn't know your computer did not have proper shaders version.

By the way, instead of using MaterialName you can make up your own label if you want to. For example, you can add _GeomID = "" and then in each geometry you can put names like: _GeomID = "Box" or _GeomID = "LargeTriangle" or GeomID = "This_Is_An_Example_123" or whatever you want! :tup:

Then in script, you can test for the proper name, such as:
_GeomID == "LargeTriangle" ? {}:{} (just make certain to place the underscore "_" before each new label. If you do not, then Algodoo will not save it!
Thanks, Xray for telling me another way! :tup: :tup: :)
Last edited at 2013/07/31 21:03:20 by PHUNGL
Can you use entityID? :s
I only know some onCollide configurations.
The Easy ones are groovy on and off, showing messages, and quiting. Two artificial ones are weird design and normalize.