Search found 84 matches

by trollger
Thu Nov 14, 2013 9:43 pm
Forum: Beginners Help
Topic: XML reader not reading -_-
Replies: 5
Views: 548

Re: XML reader not reading -_-

Ya I probably should have set that up earlier. Ill get back to you guys once I get that working.
by trollger
Thu Nov 14, 2013 9:18 pm
Forum: Beginners Help
Topic: XML reader not reading -_-
Replies: 5
Views: 548

Re: XML reader not reading -_-

yup tried that, the path is valid.
by trollger
Thu Nov 14, 2013 5:28 pm
Forum: Beginners Help
Topic: XML reader not reading -_-
Replies: 5
Views: 548

XML reader not reading -_-

Im trying to load an XML file and Im just stumped as to what I am doing wrong. Here is the code to load the xml

SettingsData *ResourceLoader::LoadSettings(){

SettingsData *return_me = new SettingsData();

IrrlichtDevice *null_device = createDevice(video::EDT_NULL);
IXMLReader *xml_reader ...
by trollger
Sun Aug 18, 2013 8:38 pm
Forum: Beginners Help
Topic: Problems creating a moving camera. Camera spins 180 degrees.
Replies: 6
Views: 1156

Re: Problems creating a moving camera. Camera spins 180 degr

hmmm. Could you please post all relavant code so I can get a better idea of whats going on.
by trollger
Sun Aug 18, 2013 6:06 am
Forum: Beginners Help
Topic: Problems creating a moving camera. Camera spins 180 degrees.
Replies: 6
Views: 1156

Re: Problems creating a moving camera. Camera spins 180 degr

I believe you have to change what the camera is looking at

ICameraSceneNode::setTarget

With set position you are changing where the camera is at, but it will keep looking at the same thing, so it will rotate to face it. If you don't want it to behave like that then call

ICameraSceneNode ...
by trollger
Sun Aug 11, 2013 3:46 am
Forum: Advanced Help
Topic: Using Irrlicht's collision engine in another engine
Replies: 1
Views: 593

Re: Using Irrlicht's collision engine in another engine

A collision system is simply a abstract math library that calculates collisions in 2D/3D space. So yes you can theoretically use the Irrlicht collision system in a different game engine, but I think this would be a very silly thing to do. You should look into using bullet or ODE, I know you said you ...
by trollger
Thu Aug 01, 2013 9:24 pm
Forum: Beginners Help
Topic: gravity and collision character
Replies: 2
Views: 944

Re: gravity and collision character

You need to explain your self a lot more. We can't help you if we don't understand what you are talking about. Maybe upload a screen shot or some code, take some time and pour out any information that you think will be needed for us to help you, and of course do your own research before posting. Did ...
by trollger
Wed Jul 31, 2013 5:29 am
Forum: Beginners Help
Topic: Button With Sprite?
Replies: 5
Views: 849

Re: Button With Sprite?

Thanks I read through it and got it working, some better docs would be nice though, maybe Ill make a tutorial.
by trollger
Tue Jul 30, 2013 8:48 pm
Forum: Beginners Help
Topic: Button With Sprite?
Replies: 5
Views: 849

Re: Button With Sprite?

If I use addTextureAsSprite then I can only use one non animated textures, and that won't work. So how do I add the position of the sprites in the sprites bank manually?
by trollger
Tue Jul 30, 2013 7:02 am
Forum: Beginners Help
Topic: Button With Sprite?
Replies: 5
Views: 849

Button With Sprite?

Quick question. I am trying to make a button with a differnt texture for differnt button states: Hover, Pressed, Up, etc...

So first I made a sprite bank


IGUISpriteBank *ButtonSprites = guienv->addEmptySpriteBank("ButtonSprite");


Then I loaded two textures


ButtonSprites->addTexture(driver ...
by trollger
Thu Jul 11, 2013 6:44 pm
Forum: Beginners Help
Topic: Perfect Orthagonal Camera?
Replies: 3
Views: 542

Re: Perfect Orthagonal Camera?

OK thanks, thats fixes it for all resolutions except 1920*1080, which is my main monitors native resolution. When I run it in windowed mode at that resolution I lose about 20ish px from the screen border and the title bar on top. In fullscreen it works great, but I would like a windowed-fullscreen ...
by trollger
Thu Jul 11, 2013 6:37 am
Forum: Beginners Help
Topic: Perfect Orthagonal Camera?
Replies: 3
Views: 542

Perfect Orthagonal Camera?

Hi guys,

I want to make a top down isometric game (its an RTS) and I have come across a somewhat large problem. I don't want differnt screen resolutions to scale the video, I only want people with largers screens to be able to see more stuff not larger stuff.

When I change the size of the ...
by trollger
Tue Jul 09, 2013 9:49 pm
Forum: Advanced Help
Topic: "FPS-but-static" camera
Replies: 5
Views: 2158

Re: "FPS-but-static" camera

Irrlicht has lots of inbuilt math functions look into core::vector3d and core::CMatrix4, they should have everything you need.
by trollger
Tue Jul 09, 2013 5:49 pm
Forum: Advanced Help
Topic: "FPS-but-static" camera
Replies: 5
Views: 2158

Re: "FPS-but-static" camera

I would like to be able to move a FPS camera precisely without using Irrlicht's keyboard-mouse input system and the game loop.

A game loop is simply a repeated call to update your games logic, input, and to draw a scene. Since a vidoe game moves very fast with a lot of changing variables this ...
by trollger
Sun Jul 07, 2013 9:58 pm
Forum: Beginners Help
Topic: Preloading Meshes and Textures
Replies: 2
Views: 664

Re: Preloading Meshes and Textures

Thanks for the confirmation.