Hi
I want to build SCRABBLE game and would like to know which note type to use as the scrabble cube.
Note: Each cube is a letter in the game
Scrabble cube Requirements:
- 3D view.
- cube letter mark
- cube rotation
- cube reposition.
Thanks
Game design question
I'd use a mesh scene node, make a cube with smoothed edges in your favourite modeling program, texture it with a nice creamy texture, and add a transparent quad that hovers over the front side with a different 1x1 pixel transparent texture. This will ensure that you get two mesh buffers.
Change the texture coordinates and texture of the 2nd mesh buffer at runtime to match that of a font made with the font tool (the billboard text font has code for this). You'll have to manually edit the font textures to add the numbers in, or you could always add another quad in for that. Make sure that the 2nd and 3rd buffers (mesh->getMeshBuffer(1) and (2)) have zwrite disabled so they don't cause problems.
Keep in mind that the Scrabble owners viciously pursue infringements of their trademark and copyrights, your game will have to be pretty unlike Scrabble if you want to sell it or give it away as a free public download.
Change the texture coordinates and texture of the 2nd mesh buffer at runtime to match that of a font made with the font tool (the billboard text font has code for this). You'll have to manually edit the font textures to add the numbers in, or you could always add another quad in for that. Make sure that the 2nd and 3rd buffers (mesh->getMeshBuffer(1) and (2)) have zwrite disabled so they don't cause problems.
Keep in mind that the Scrabble owners viciously pursue infringements of their trademark and copyrights, your game will have to be pretty unlike Scrabble if you want to sell it or give it away as a free public download.
