Browse Search Popular Register Upload Rules User list Login:
Search:
Ball counter, scripting SICK!!!!!!!

Image:
screenshot of the scene

Author: snowboarder1sam

Group: Default

Filesize: 314.4 kB

Date added: 2009-09-03

Rating: 7.3

Downloads: 1720

Views: 1847

Comments: 2

Ratings: 7

Times favored: 1

Made with: Phun

Tags:

Scene tag

my first attempt at scripting thanks:) :)
Please log in to rate this scene
edit
Similar scenes
Title: Ball counter v3
Rating: 5
Filesize: 121.11 kB
Downloads: 558
Comments: 0
Ratings: 1
Date added: 2009/09/19 15:14:58
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: fire ball just sick
Rating: 5
Filesize: 12.28 kB
Downloads: 356
Comments: 0
Ratings: 1
Date added: 2012/11/24 16:23:29
Made with: Algodoo v2.0.1 Edu
Rating: rated 5
download
Title: 3 size ball counter
Rating: 4.5
Filesize: 405.81 kB
Downloads: 551
Comments: 0
Ratings: 2
Date added: 2008/09/13 04:13:38
Made with: Phun
Rating: rated 4.5
download
Title: Add-A-Ball pinball
Rating: 5
Filesize: 282.66 kB
Downloads: 607
Comments: 2
Ratings: 1
Date added: 2016/03/10 20:53:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: binary counter
Rating: 5
Filesize: 262.65 kB
Downloads: 816
Comments: 4
Ratings: 1
Date added: 2021/06/03 01:59:13
Made with: Algodoo v2.1.3
Rating: rated 5
download
Title: Rob - Thyme Ball Counter
Rating: 5
Filesize: 31.92 kB
Downloads: 467
Comments: 0
Ratings: 1
Date added: 2011/11/21 23:44:15
Made with: Algodoo v2.0.0 Edu
Rating: rated 5
download
How did you get the number to show in text form? I know you have to use quotation marks but when ever i make one it just shows the value even if I put " + {scene.my.name} + ", when I do that it shows the current value but it won't update when the value updates, it doesn't even update at all... the script text even just says the number "#". I'v tried everything to make a counter, I learned all i know about scripting just so someday i could make a counter... So I would appreciate it if someone would help me with my problem. Thank-you.
go to http://www.algodoo.com/algobox/details.php?id=48915 and comment my explanation if it is not helpful

press f11 type something like scene.my.count=0 (after scene.my. it doesnt matter what you type it is just a name but make sure that you can remember it)
then you have a value of 0 then choose a box in the script menu for text type {``´´ +scene.my.count} then it will update automatic then chose something like a circle in the oncollide type (e)=>{ scene.my.count=scene.my.count +1 } then every time the ball/circle hits anything it will increase the value/number with 1

also use the link if you have other questions :tup: