# September Challenge: 2D or 3D dices rolling simulation

• ### General discussion

• Here is a September Challenge suggestion:  2D or 3D dices rolling simulation

I searched on this forum to see if anyone had already written a program to roll a dice but in 3D, and I found nothing, I think that this as never been tempted!

So I suggest this challenge for the month of September, to write a program using various functions of the SBasic.

Draw a 6 faces dice, with circle, rectangle, then pass the arguments into a shape form and roll it.

Is that it can be done without the use of LitDev extensions ?

IN 3D

or in 2D

• Changed type Saturday, August 20, 2016 4:19 PM
• Edited by Wednesday, August 24, 2016 11:56 PM title retouch
Tuesday, August 16, 2016 7:36 PM

### All replies

• Sounds like fun
Wednesday, August 17, 2016 4:42 AM
• the simplest way is to desing a bitmap with 6 faces and apply it to ld3dview.addcube as a texture
Thursday, August 18, 2016 10:26 AM
• And without extensions .... ?

Jan [ WhTurner ] The Netherlands

Thursday, August 18, 2016 12:58 PM
• If it cannot be done in 3D let's put the Challenge in 2D...

Thursday, August 18, 2016 2:09 PM
• This is a 2-D solution: MDB491-0.  Now, I'm trying to write 3-D version without extensions.

Nonki Takahashi

Friday, August 26, 2016 9:25 AM
• There are some 3D cubes (up to TWQ550-3) on Rotating Cube
Friday, August 26, 2016 1:19 PM
• There are some 3D cubes (up to TWQ550-3) on Rotating Cube

That's a good sample, Pappa Lapub.  Now I'm trying:

• rotate dice around x, y and z-axis.
• hidden-line elimination (not so difficult).

Nonki Takahashi

Friday, August 26, 2016 6:34 PM
• Here is my 3-D version: KWD991.

Nonki Takahashi

Wednesday, August 31, 2016 3:38 PM
• Nonki !

Perfect , wow !!!!

super 3D dices, amazing !!!!

Wednesday, August 31, 2016 4:47 PM
• Great 2D dices, fantastic programming !
Wednesday, August 31, 2016 7:42 PM
• Here is my version of 3D rolling dices, but not for the challenge of the month, because i used LD3DVIEW in my program, so  i want to make this program for fun and to learn the powerful LD3dview.

i have to find i way to put 3 images on a simple cube using LD3dview, so my program is not finish yet.

program: KKG660-2

Thursday, September 1, 2016 12:10 AM