Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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