Hi everyone. I have a question with this function.
I have this variable: int Damage=(rand()%201 +200);
Then i want to a text on the screen representing that Damage. I try: (L"%S"+Damage); and (L"%S"+(int)Damage); too, but nothing.
I want to set the Damage value on screen. This is my current line ...
Search found 14 matches
- Thu Jul 10, 2008 11:12 pm
- Forum: Beginners Help
- Topic: font->draw, Question.
- Replies: 1
- Views: 309
- Thu Jul 10, 2008 1:39 am
- Forum: Beginners Help
- Topic: How can i set mosaic texture?
- Replies: 23
- Views: 2420
- Thu Jul 10, 2008 12:48 am
- Forum: Beginners Help
- Topic: How can i set mosaic texture?
- Replies: 23
- Views: 2420
- Wed Jul 09, 2008 11:37 am
- Forum: Beginners Help
- Topic: How can i set mosaic texture?
- Replies: 23
- Views: 2420
- Tue Jul 08, 2008 11:16 pm
- Forum: Beginners Help
- Topic: How can i set mosaic texture?
- Replies: 23
- Views: 2420
- Tue Jul 08, 2008 10:41 pm
- Forum: Beginners Help
- Topic: How can i set mosaic texture?
- Replies: 23
- Views: 2420
- Tue Jul 08, 2008 7:30 pm
- Forum: Beginners Help
- Topic: How to return an IAnimatedMeshSceneNode
- Replies: 6
- Views: 621
- Tue Jul 08, 2008 1:31 am
- Forum: Beginners Help
- Topic: How can i set mosaic texture?
- Replies: 23
- Views: 2420
- Tue Jul 08, 2008 1:10 am
- Forum: Beginners Help
- Topic: How can i set mosaic texture?
- Replies: 23
- Views: 2420
- Tue Jul 08, 2008 1:09 am
- Forum: Beginners Help
- Topic: How to return an IAnimatedMeshSceneNode
- Replies: 6
- Views: 621
- Mon Jul 07, 2008 11:28 pm
- Forum: Beginners Help
- Topic: How can i set mosaic texture?
- Replies: 23
- Views: 2420
How can i set mosaic texture?
Well, first of all, sorry about my flood of newbie questions xD, but i really want to learn Irrlicht.
Well, i set a Texture to a IAnimatedMeshSceneNode, and, its TOTALLY SCALED, and its big, so its look horrible, how can i set a flag or something to set mosaic texture, to repeat the texture its ...
Well, i set a Texture to a IAnimatedMeshSceneNode, and, its TOTALLY SCALED, and its big, so its look horrible, how can i set a flag or something to set mosaic texture, to repeat the texture its ...
- Mon Jul 07, 2008 10:32 pm
- Forum: Beginners Help
- Topic: How to return an IAnimatedMeshSceneNode
- Replies: 6
- Views: 621
How to return an IAnimatedMeshSceneNode
Hi!
Well, im doing a Function for the pj, i want it to return the IAnimatedMeshSceneNode *hero so i can check input, and more, in the Main Loop, this is a little part of the function:
int Pj(IrrlichtDevice *device,IVideoDriver *driver,ISceneManager *smgr)
{
struct{
int HP=1500;
int MP=540 ...
Well, im doing a Function for the pj, i want it to return the IAnimatedMeshSceneNode *hero so i can check input, and more, in the Main Loop, this is a little part of the function:
int Pj(IrrlichtDevice *device,IVideoDriver *driver,ISceneManager *smgr)
{
struct{
int HP=1500;
int MP=540 ...
- Sun Jul 06, 2008 8:02 pm
- Forum: Beginners Help
- Topic: Problems creating enemy Update
- Replies: 1
- Views: 195
Problems creating enemy Update
Hi!
Well im training with irrlicht, im creating the "enemy" right now, the IA, Input check, and here is where i have the problem...
Important Point: Im doing an Function enemy, like:
int Enemy()
And in there i call IAnimatedMeshSceneNode, to set the Mesh, but, i need a Loop, to check the Input ...
Well im training with irrlicht, im creating the "enemy" right now, the IA, Input check, and here is where i have the problem...
Important Point: Im doing an Function enemy, like:
int Enemy()
And in there i call IAnimatedMeshSceneNode, to set the Mesh, but, i need a Loop, to check the Input ...
- Sat Jul 05, 2008 8:53 pm
- Forum: Beginners Help
- Topic: Collisions in an .irr Scene
- Replies: 1
- Views: 160
Collisions in an .irr Scene
Hi!
Well, im new using this library, i really like it.
Well, lets go to the problem.
How can i detect collisions with objects, terrain, and others in a .irr scene?
Because my player walk over the terrain, over all objects.
This is the only problem i have right now, so, if anyone can help me i ...
Well, im new using this library, i really like it.
Well, lets go to the problem.
How can i detect collisions with objects, terrain, and others in a .irr scene?
Because my player walk over the terrain, over all objects.
This is the only problem i have right now, so, if anyone can help me i ...