Browse Search Popular Register Upload Rules User list Login:
Search:
eat script demonstration

Image:
screenshot of the scene

Author: aus2006

Group: Default

Filesize: 18.04 kB

Date added: 2017-09-13

Rating: 5

Downloads: 491

Views: 318

Comments: 3

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

this demonstration shows how a eater script would work in algodoo
if you are going to use these, give me credit, i did script these myself
Last edited at 2017/09/13 21:28:07 by aus2006
Please log in to rate this scene
edit
Similar scenes
Title: Versatile Fuel Script*NOW WITH ENGINE!*(Read Description)
Rating: 5
Filesize: 83.41 kB
Downloads: 511
Comments: 0
Ratings: 1
Date added: 2015/05/21 00:10:08
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: XY MECHANISM
Rating: 5
Filesize: 445.89 kB
Downloads: 603
Comments: 0
Ratings: 1
Date added: 2013/12/11 03:58:25
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: phun beta 4: pen demonstration
Rating: 5.5
Filesize: 14.11 kB
Downloads: 222
Comments: 9
Ratings: 6
Date added: 2008/06/27 16:20:03
Made with: Phun
no image found for this scene
Rating: rated 5.5
download
Title: pond20
Rating: 5
Filesize: 69.61 kB
Downloads: 1997
Comments: 0
Ratings: 1
Date added: 2014/11/22 13:17:15
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Air Friction Demonstration
Rating: 5
Filesize: 35.79 kB
Downloads: 374
Comments: 0
Ratings: 1
Date added: 2015/09/23 06:11:43
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Moteur HD simple demo
Rating: 5.625
Filesize: 1.45 MB
Downloads: 1956
Comments: 2
Ratings: 2
Date added: 2013/03/28 22:18:58
Made with: Algodoo v2.0.1
Rating: rated 5.6
download
I think you need to learn more about Algodoo scripting because the blocks and the ground (plane) do not have any defined names in them. For example, you say "foodsource is in food blocks" but I do not see a variable named "foodsource" in any of the food blocks. Also, you say the ground has a custom material name, but it does not. The material name is "" (which is just an empty placeholder for text).

As a general rule, you should never not define a variable and then later check to see if it was defined. That is poor programming practice. You should define all variables, and give them some initial value such as 0 (zero). Then in the script, you can check to see if the variable's value is zero or some non-zero number.

If you have any technical questions about scripting, ask me here and I will try to answer them for you.
Last edited at 2017/09/21 22:19:49 by Xray
thats kind of strange, how the variables didnt appear, i swear i added them before posting the scene
You used [VarName] = [varValue] didn't you?
Do scene.my.[varName] = [varvalue] instead.
The first variable will not save with the scene.
The second is serialized (how do you spell that?!) and will save in the scene.