Search found 31 matches

by LordNyson
Wed Jun 02, 2010 11:50 am
Forum: Beginners Help
Topic: Ouch my head - 3D Movement
Replies: 1
Views: 534

Ouch my head - 3D Movement

Basically I am attempting to make a "space sim" sort of thing just to test, see if I can do it, unfortunately I am running into some minor niggles. I am not very maths based, I am translating my camera behind my ship like so:
vector3df hi = swordNode->getPosition();
aabbox3d<f32> oO = swordNode ...
by LordNyson
Wed Jun 02, 2010 11:19 am
Forum: Beginners Help
Topic: "Chain of event receivers"
Replies: 3
Views: 461

Only the event receiver object that has been passed to the device is active. For example:

I have two event receivers:

GUIEventReceiver my;
KeyEventReceiver e;

Now in this case I have two event receivers for different things, one is for my GUI and one is for my keys, I cannot have them both ...
by LordNyson
Thu Feb 11, 2010 7:32 am
Forum: Beginners Help
Topic: Texture Scaling
Replies: 1
Views: 377

Basically what I did is in the scale elemnt loop accessed the type of element it is and then based on the element id loaded the scaled image... unfortunately this leaves me with multiplications of the same element, So I have yet to get around this problem but for anyone else with the same problem ...
by LordNyson
Wed Feb 10, 2010 2:56 am
Forum: Beginners Help
Topic: Clear a scene?
Replies: 3
Views: 521

If you have any existing textures you may need to clear them? But for claritys sake you are saying that you load the scene, then when you quit back to the 2d menu and try to exit it crashes on exit? Does it do this without the sceneManager->clear()? Could it be a problem elsewhere in the code? Such ...
by LordNyson
Tue Feb 09, 2010 11:36 am
Forum: Beginners Help
Topic: Texture Scaling
Replies: 1
Views: 377

Texture Scaling

Hello there,

I'm creating a game and I have been loading my dialogs through xml files. I am looking to expand this game quite a bit to include over 15 individual dialogs, mostly in new windows.

When my event receiver notices a button press it adds to a que which is of a "dialog index", then in my ...
by LordNyson
Tue Oct 27, 2009 6:52 pm
Forum: Beginners Help
Topic: Window texture
Replies: 1
Views: 330

Window texture

Hey all,
What I am trying to do is create a dialog screen. Basically I am setting it up so it creates a new window inside the current irrlicht window and sets a bunch of gui elements up, all good yeah?

Problem is I have a custom window skin. Not sure how to go about applying it. I have looked under ...
by LordNyson
Tue Oct 20, 2009 12:19 pm
Forum: Beginners Help
Topic: 2D Sprite scaling
Replies: 2
Views: 464

Basically there are two errors, if we don't get an error here =:

try
{
IntTexture = driver->addTexture(destSize, "IntermediateTexture");
SrcImage = driver->createImageFromData(SrcTexture->getColorFormat(), SrcTexture->getSize(), SrcTexture->lock());
DestImage = driver->createImageFromData ...
by LordNyson
Mon Oct 19, 2009 6:10 pm
Forum: Beginners Help
Topic: 2D Sprite scaling
Replies: 2
Views: 464

2D Sprite scaling

Hey there, I have been having a little bit of a hiccup for a while. Basically due to the ability to alter the resolution of the application I am designing I am getting a headache.

What is happening is I have got the restarting of the engine running fine, however, I have to scale the 2d GUI to the ...
by LordNyson
Tue Oct 06, 2009 1:02 pm
Forum: Beginners Help
Topic: 2d Buttons
Replies: 4
Views: 543

Works a charm, thanks mate.
by LordNyson
Tue Oct 06, 2009 12:32 pm
Forum: Beginners Help
Topic: 2d Buttons
Replies: 4
Views: 543

That isn't a irrlicht function is it?
by LordNyson
Tue Oct 06, 2009 12:22 pm
Forum: Beginners Help
Topic: 2d Buttons
Replies: 4
Views: 543

2d Buttons

Bit of a n00b question I suppose.
Basically I have a bunch of buttons on a main menu, and I have custom button image for each of them. However, due to how the program is set up, the res is changeable... is there any way to scale an image/texture? I had a look through the API but couldn't find a ...
by LordNyson
Wed Aug 12, 2009 11:00 am
Forum: Beginners Help
Topic: GUI Opacity
Replies: 6
Views: 492

Thanks man, so basically that just sets every GUI elements Alpha to 255... it looks very... Windows 95ish, I will have to play around to get the right ones... but thanks for the code, in essence it does what I need.

More specifically for future reference:

SColor color = gi->getSkin()->getColor ...
by LordNyson
Wed Aug 12, 2009 10:45 am
Forum: Beginners Help
Topic: GUI Opacity
Replies: 6
Views: 492

Yeah I know it's not a bug, I just don't know how to do it! :P How do I adjust the transparency to 255? Is it part of the GUI object or part of each combo box? They are just default creation of a combo box, I just can't work out how to adjust the transparency of the combo-box background
by LordNyson
Wed Aug 12, 2009 9:50 am
Forum: Beginners Help
Topic: GUI Opacity
Replies: 6
Views: 492

GUI Opacity

Wondering how to fix this problem. Basically I have drop down boxes, combo boxes. But when you drop down the one on top you can still see the others through it, I need a way to make it opaque. I have looked at trying to do it with gi->getSkin()->setColor() But I just can't seem to get it working ...
by LordNyson
Mon Jul 06, 2009 3:31 am
Forum: Beginners Help
Topic: Problem with relaunching
Replies: 7
Views: 569

Ok so, I worked out some of my error. Before loading a new screen it reads from a .dat file. It reads values from this .dat file, such as rez. The .dat file was set to 1920x1200 where my rez is 1920x1080, it also was set to fullscreen, which appears to have difficulty loading anything that is above ...