Tabletop Simulator

Tabletop Simulator

評價次數不足
Scripting Example - Roulette
   
獎勵
加入最愛
已加入最愛
移除最愛
Number of Players: 1, 2, 3, 4
Assets: Scripting
檔案大小
發佈於
更新時間
44.753 KB
2016 年 4 月 4 日 上午 9:35
2016 年 4 月 4 日 上午 10:04
2 項更新註記 (檢視)

訂閱以下載
Scripting Example - Roulette

描述
A roulette wheel that spin when you throws the ball onto it that showcases how the new mod scripting works.

API and Scripting documentation can be found on the Berserk Games website: http://berserk-games.com/knowledgebase/scripting/

All feedback and suggestions regarding scripting and the API are welcome and should be posted on our official forums. http://www.berserk-games.com/forums/showthread.php?1869-Scripting-Features-amp-Improvements

Topics covered in this example:
Default events: onload, onCollisionEnter
Coroutines
os.clock()
Rotation
Frame independences

Special thanks to Moneyman12167Casey for letting me use his mod for this scripting example: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=357782491
2 則留言
ellibod 2018 年 3 月 3 日 上午 2:34 
single 0 or double 0?
Sophobiaful 2017 年 6 月 12 日 上午 7:57 
I'm trying to get coroutines to work in a different mod, except they don't seem to be doing anything. Would you be able to take a quick look and help me figure out what's going wrong?