Zainstaluj Steam
zaloguj się
|
język
简体中文 (chiński uproszczony)
繁體中文 (chiński tradycyjny)
日本語 (japoński)
한국어 (koreański)
ไทย (tajski)
български (bułgarski)
Čeština (czeski)
Dansk (duński)
Deutsch (niemiecki)
English (angielski)
Español – España (hiszpański)
Español – Latinoamérica (hiszpański latynoamerykański)
Ελληνικά (grecki)
Français (francuski)
Italiano (włoski)
Bahasa Indonesia (indonezyjski)
Magyar (węgierski)
Nederlands (niderlandzki)
Norsk (norweski)
Português (portugalski – Portugalia)
Português – Brasil (portugalski brazylijski)
Română (rumuński)
Русский (rosyjski)
Suomi (fiński)
Svenska (szwedzki)
Türkçe (turecki)
Tiếng Việt (wietnamski)
Українська (ukraiński)
Zgłoś problem z tłumaczeniem









Feel free to grab the .obj and throw it in unity though, It's possible that I just designed individual pieces in blender then put them together there, but I only remember building the colliders in unity and setting their properties.
Thanks so much! I'm really spent in terms of focus and I needed a good dice tower that'd spit the dice out without fail and this certainly seems to fit the bill.
However, without any focus left, since I spent it all on game design today, I really couldn't thumb my way around. I'll put your advice to good use and thanks once more :)
for k = 1,3 do
Wait.time(||obj.roll(),0.5*k)
end
there's two things you can do here to get what you want.
1. change the 3 to 2 or 1. where it says for k = 1,3 (This adjusts how many times it rolls)
2. change the 0.5 where it says 0.5*k (this is the time it pauses between rolling the dice, since it's rolling 3 times it will take a total of 1.5 seconds to complete the roll.)
Kee in mind this is a small piece of code jammed into a large for loop when looking for it XD