
-----------------------------------
hey_joe42
Wed Apr 02, 2003 10:05 am

Rolling Dice Effect
-----------------------------------
I'd like to make my board game, Monopoly, to have a rolling effect, i'd really like to make it so the dice looks like it actualy being somewhat tossed but im not sure how to do this
only method i know is to do a couple randints and in  between each one put picture, or do it in a for loop for like so many times.
but how could i make it look really good

-----------------------------------
Tony
Wed Apr 02, 2003 10:48 am


-----------------------------------
use Catalyst's 3D engine to actually draw a real cube :wink:

or draw random pictures of dice rotating and loop them really fast :D

-----------------------------------
hey_joe42
Wed Apr 02, 2003 10:14 pm


-----------------------------------
whats a "Catalyst's 3D engine ", is it in turing if so how do you do that?

-----------------------------------
Prince
Wed Apr 02, 2003 10:19 pm


-----------------------------------
lol... i believe hes talking about the user Catalyst's 3D engine... its really damn good

-----------------------------------
hey_joe42
Thu Apr 03, 2003 5:17 pm


-----------------------------------
k i took a look at his 3d engine but how on earth is that going to help me its a square?
i don't get it?

-----------------------------------
Tony
Thu Apr 03, 2003 5:26 pm


-----------------------------------
well dont you have to animate a cube rolling?

-----------------------------------
AsianSensation
Thu Apr 03, 2003 5:51 pm

Here is how
-----------------------------------
There is a way to do this dice thing, me and my partner just used it in our game. I am not going to post the code here, see if you could get it yourself, if you are really having trouble, email me.

The idea:

randint (1,6)
delay for x amount of time,
increase x
draw the dice
View.Update

put this in a loop or a for loop, this will make the dice roll fast, then it will slowdown and finally stop. Take the value of the last dice drawn as your resulted value.

-----------------------------------
Tony
Thu Apr 03, 2003 6:16 pm


-----------------------------------
hey, thats a preaty good idea...

if you through in some "in-between" images (showing edge of the dice) it should look good.
