Game design question

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
shaim
Posts: 26
Joined: Sun Dec 14, 2008 10:55 am

Game design question

Post by shaim »

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
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

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.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
shaim
Posts: 26
Joined: Sun Dec 14, 2008 10:55 am

Post by shaim »

Hi
Do you have piece of code for this example
10x
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Have you checked the Irrlicht Tutorials? The ones who came with the SDK?
They might have what you need..
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
Post Reply