Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen
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