Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem









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