Search found 34 matches

by julescoder
Sun Oct 24, 2010 6:06 am
Forum: Beginners Help
Topic: 2D coordinates in irrlicht
Replies: 1
Views: 282

2D coordinates in irrlicht

Hi, I plan to make a 2D game using the Irrlicht engine. So for in the prototype i have used an orthographic projection (left) with the camera fixed looking down the Y-axis. Now, the issue is the coordinate system is completely different from the coordinate system in 2D libs where the origin is at th...
by julescoder
Sun Oct 03, 2010 5:05 am
Forum: Beginners Help
Topic: Quad Rotation around its center
Replies: 2
Views: 340

Yes, dummy node technique sounds nice. I will experiment with it. Also, the i had a feeling that the positions were being reset and stuff, but your info has claried it for me thanx.
by julescoder
Sat Oct 02, 2010 3:59 pm
Forum: Beginners Help
Topic: Quad Rotation around its center
Replies: 2
Views: 340

Quad Rotation around its center

Hi, I have been trying to rotate a quad around it center but SetRotate() rotates it relative to the upper left vertex So i tried this way.. //translate the quad by a set offset to locate your origin for rotation core::vector3df tpos = quad->getPosition(); tpos.X += 5; tpos.Y += 5; quad->setPosition(...
by julescoder
Sat Oct 02, 2010 2:36 pm
Forum: Beginners Help
Topic: Very simple LoadScene() Question [SOLVED]
Replies: 2
Views: 249

Ohh i c, yes the nodes could be loaded twice. So i will have to limit the call to once only.
Thanx very much for giving me this info.
by julescoder
Fri Oct 01, 2010 4:48 pm
Forum: Beginners Help
Topic: Very simple LoadScene() Question [SOLVED]
Replies: 2
Views: 249

Very simple LoadScene() Question [SOLVED]

Hi, I am loading a scene in an .irr file by calling LoadScene(). If i call it twice before the game loop begins, does the scenemanager load the scene twice in memory ?? I checked the output window in vs2010, it shows the App, loading the files and textures only once. But i wanted to make sure, cause...
by julescoder
Wed Sep 29, 2010 6:34 pm
Forum: Beginners Help
Topic: Frame Rate Lock
Replies: 6
Views: 809

I will experiment with your code as well. But as u said the sleep function can waste CPU cylces.
Could there be a way without calling sleep .

Thanx for all your answers again.
by julescoder
Wed Sep 29, 2010 6:15 pm
Forum: Beginners Help
Topic: Frame Rate Lock
Replies: 6
Views: 809

I realize that using frame rate independent movement would be good. But i am working on a networked game. So i want to make sure that all clients are running at same frame rates. Thats why i want to lock it. I will try the yield function technique above. Any other suggestions would be welcome. Thanx.
by julescoder
Wed Sep 29, 2010 3:44 pm
Forum: Beginners Help
Topic: Frame Rate Lock
Replies: 6
Views: 809

Frame Rate Lock

Hi,
How can i lock the irrlicht frame rate to a chosen value ?
by julescoder
Wed Sep 22, 2010 2:43 pm
Forum: Beginners Help
Topic: Retrieving individual GUI elements
Replies: 2
Views: 294

Thank u very much.

That getElementFromID() is called from the root element. Which u have brought to my attention.

Thank you again.
by julescoder
Tue Sep 21, 2010 4:14 pm
Forum: Beginners Help
Topic: Retrieving individual GUI elements
Replies: 2
Views: 294

Retrieving individual GUI elements

Hi, I have created a user interface using the GUI editor and outputted an xml file with the ui settings. After i load it into the GUIEnvironment using LoadGUI(), how can i access the individual GUI elements ? Would i have to create the element that i want to access manually (using the addGUIElement)...
by julescoder
Fri Jul 23, 2010 4:17 pm
Forum: Beginners Help
Topic: Multiple scenemanagers [SOLVED]
Replies: 3
Views: 218

Ok. i tried what u said earlier . It creates a new instance. Thanks for your help . :D
by julescoder
Fri Jul 23, 2010 4:12 pm
Forum: Beginners Help
Topic: Multiple scenemanagers [SOLVED]
Replies: 3
Views: 218

Thanks for the reply.

Ok, so you mean, calling getSceneManager() first time, returns the default sceneManager.

Then calling it again return a new instance of the sceneMgr ?
by julescoder
Fri Jul 23, 2010 4:04 pm
Forum: Beginners Help
Topic: Multiple scenemanagers [SOLVED]
Replies: 3
Views: 218

Multiple scenemanagers [SOLVED]

Hi,
does the call to :

'

Code: Select all

device->getSceneManager() 


get a ptr to a new sceneManager, or is the there only a single instance of the scenemanager.
by julescoder
Sun Apr 11, 2010 10:17 am
Forum: Beginners Help
Topic: 2d capabilities
Replies: 3
Views: 328

2d capabilities

I have seen the irrlicht 2d tut, but can it provide features which a conentional 2d engine like haaf's game engine would provide,
Mainly,
2d lighting effects,
2d camera.

Thnx in advance.
by julescoder
Wed Mar 03, 2010 5:59 pm
Forum: Beginners Help
Topic: Gui alternatives for Irrlicht
Replies: 2
Views: 433

Gui alternatives for Irrlicht

Hi, besides the built in GUI system in Irrlicht, are there any alternative GUIs for Irrlicht. ?

Thanx in advance. :D