Search found 20 matches

by [ds] Swift
Wed Dec 01, 2004 4:56 pm
Forum: Beginners Help
Topic: Window Mode Mouse Boundaries
Replies: 2
Views: 507

Thanks

thanks spintz, that worked perfectly!!!
by [ds] Swift
Wed Dec 01, 2004 1:51 am
Forum: Beginners Help
Topic: Timed Floating Text
Replies: 0
Views: 199

Timed Floating Text

is there a way for irrlicht to display some text that will after a defined amount of time disapear, or would i have to come up with something?
by [ds] Swift
Mon Nov 29, 2004 10:29 pm
Forum: Beginners Help
Topic: key event confusion
Replies: 6
Views: 718

Mouse

along the same lines, is there a way one can retrieve a mouse button press as an integer for saving to config file as well?
by [ds] Swift
Mon Nov 29, 2004 10:20 pm
Forum: Beginners Help
Topic: Window Mode Mouse Boundaries
Replies: 2
Views: 507

Window Mode Mouse Boundaries

while not fullscreen is there a way that i can keep the mouse pointer from leaving the window? I want to be able to move my mouse all the way up to any edge of the window and the have it stop.
by [ds] Swift
Mon Nov 29, 2004 4:25 am
Forum: Beginners Help
Topic: Need some help!
Replies: 1
Views: 300

about 3DS model:
* add your 3DS model using IAnimatedMesh & IAnimatedMeshSceneNode
* the use setMaterialFlag( video::EMF_LIGHTING, false ) on your IAnimatedMeshSceneNode. the second overload "false" allows the model to light itself. setting it to true allows it to be affected by dynamic lights.

get ...
by [ds] Swift
Mon Nov 29, 2004 4:02 am
Forum: Beginners Help
Topic: How to change text fonts
Replies: 2
Views: 482

Complete example

Here is a program that displays colored text on the screen.


/* irrlicht includes */
#include <irrlicht.h>

using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;

#pragma comment( lib, "Irrlicht.lib" )

/* program start ...
by [ds] Swift
Mon Nov 29, 2004 3:54 am
Forum: Beginners Help
Topic: How to change text fonts
Replies: 2
Views: 482

depends on how you are displayling your font really.

using IGUIStaticText this is how you would do it:

declare a pointer and create your text:
Example:
IGUIStaticText *text = guienv -> addStaticText( L"hi", rect<s32>( 10, 10, 200, 22 ) );

next to change the color you need to enable the color ...
by [ds] Swift
Mon Nov 29, 2004 2:44 am
Forum: Beginners Help
Topic: IUnknown is ambiguous
Replies: 3
Views: 374

omg :shock: :shock: . this is gunna suck. it's gunna take forever to redo everything with the irr:: prefix.

o well, if i must :cry:
by [ds] Swift
Mon Nov 29, 2004 2:21 am
Forum: Beginners Help
Topic: IUnknown is ambiguous
Replies: 3
Views: 374

IUnknown is ambiguous

this really bugs me, whenever i have a header file that belongs to a microsoft library set, such as "Vwf.h" i get errors because the Microsoft SDK "Unknown.h" contains an IUknown class and so does the irr namespace.

is there any way to resolve this problem?
by [ds] Swift
Fri Nov 26, 2004 8:13 pm
Forum: Beginners Help
Topic: linking problem..
Replies: 1
Views: 464

have you added the "include" directory and "lib" directory to your project directories?

read the first tutorial for irrlicht. it tells you how to configure vc++.
http://irrlicht.sourceforge.net/tut001.html

i assume u are using a microsoft ide because of the link error format.

if not, check you ...
by [ds] Swift
Wed Nov 17, 2004 8:44 pm
Forum: Beginners Help
Topic: FPS Camera and Event Reciever
Replies: 1
Views: 530

never mind ppl. i figured it out.

if you add an event reciever, you need to add a SKeyMap[] to your camera for it to move via user input.


SKeyMap keyMap[8];
keyMap[0].Action = EKA_MOVE_FORWARD; // what the key does
keyMap[0].KeyCode = KEY_UP; // what the key is
keyMap[1].Action = EKA_MOVE ...
by [ds] Swift
Wed Nov 17, 2004 7:21 pm
Forum: Beginners Help
Topic: 3ds file display problem
Replies: 0
Views: 258

3ds file display problem

i imported a 3ds model of a gun i had just made and discovered that it had thrown the pieces all over the place. they weren't connected like they were in MAX. so i played around a little bit and discovered that if i connect all the pieces then they will be imported by irrlicht properly.
NOTE: this ...
by [ds] Swift
Tue Nov 16, 2004 8:28 pm
Forum: Beginners Help
Topic: FPS Camera and Event Reciever
Replies: 1
Views: 530

FPS Camera and Event Reciever

when i add an event reciever to the scene, it removes the built in controls for the camera which leaves me to set up key events to move it.

i cant figure out how to move the camera forward ( in the direction it is pointing ) or backards or strafe in that matter.

i want to be able to have an event ...
by [ds] Swift
Tue Nov 16, 2004 7:27 pm
Forum: Beginners Help
Topic: IGUIStaticText coordinates problem.
Replies: 5
Views: 893

O-M-G! am i a total moron :oops: . lol. thanx, that helped me..
i just came off of this engine that my buddies and i had written. its pretty outdated now, thats y i moved to irrlicht. and in that engine we made our rectangle function:

rectangle( float xPos, float yPos, float length, float height ...
by [ds] Swift
Tue Nov 16, 2004 4:40 pm
Forum: Beginners Help
Topic: IGUIStaticText coordinates problem.
Replies: 5
Views: 893

sorry it didn't make any sense.
i have the pointer declared once in my application.
i was just showing that my first declaration worked, and upon changing it to new values it didn't.
Maybe this will help more:

int main() {
IrrlichtDevice *device = createDevice( EDT_SOFTWARE, dimension2d<s32 ...