Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta









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