Search found 19 matches
- Mon Sep 01, 2008 9:34 pm
- Forum: Project Announcements
- Topic: Realistic water scene node
- Replies: 255
- Views: 278625
- Wed Aug 20, 2008 10:22 am
- Forum: Project Announcements
- Topic: [Help Wanted] - Realms of Forlorn Hope
- Replies: 129
- Views: 28947
- Wed Aug 20, 2008 10:01 am
- Forum: Beginners Help
- Topic: EventReceiver problems
- Replies: 5
- Views: 335
I followed what Yustme said and it works perfect. However I have new problem: I have character that I want to move around if(game.REC()->IsKeyDown(KEY_KEY_W)) { model->Move(vector3df(cos(rot*PI/180)*0.5,0,-sin(rot*PI/180))*0.5); } if(game.REC()->IsKeyDown(KEY_KEY_S)) { model->Move(vector3df(-cos(rot...
- Tue Aug 19, 2008 5:20 pm
- Forum: Beginners Help
- Topic: EventReceiver problems
- Replies: 5
- Views: 335
EventReceiver problems
Hi I'm having a bit of a hard time with the eventreceiver. Yes I do get it's concept but I'm trying to use it in a way. I have a class named CGame that has all the things I need. I like to put it all in ojects since I'm trying to make a preety much expandable project. So I'm trying to use it in 2 wa...
- Sun Aug 17, 2008 6:34 pm
- Forum: Code Snippets
- Topic: (C++) WoW style custom controls with camera and more
- Replies: 36
- Views: 27383
Code: Select all
matrix4 m2;
m2.setRotationDegrees(Target->getRotation());
My code is following exactly the way it should
- Sun Jul 27, 2008 5:25 pm
- Forum: Beginners Help
- Topic: Camera Pick?
- Replies: 2
- Views: 309
Camera Pick?
I'm moving from BlitzMax and MiniB3d... There was a function called CameraPick that returned the 3D pos of the collision between the mouse and a object. I'm not sure I'm explaining this good. So imagine you have a plane and you go with the mouse on it. I need to get the 3d coords of the mouse on the...
- Fri Jan 04, 2008 3:53 pm
- Forum: Beginners Help
- Topic: Multitexturing?
- Replies: 9
- Views: 654
- Fri Jan 04, 2008 3:06 pm
- Forum: Beginners Help
- Topic: Multitexturing?
- Replies: 9
- Views: 654
Multitexturing?
Okay... so I know how the ideea works just I don't know how to do this with irrlicht. So i have a chracter... and it has skin hair bla bla bla... The thing is I want to be able to choose the hair(that is modified my a texture). So how do I apply a texture to some polygons(not all just a surface). Th...
- Thu Dec 27, 2007 1:23 pm
- Forum: Beginners Help
- Topic: Listbox problem
- Replies: 1
- Views: 357
Listbox problem
Hi I made a list and added some elements on it and everythign is fine. now... using this code I add some Items to another list if(vector_elements.size()) { for(int i =0;i<vector_elements.size();i++) { text2 = new wchar_t[strlen(vector_elements[i].c_str()) + 1]; mbstowcs(text2, vector_elements[i].c_s...
- Sat Dec 08, 2007 2:51 pm
- Forum: Beginners Help
- Topic: ListBox using problem
- Replies: 1
- Views: 357
ListBox using problem
So... I have a list box.. I know how to add items to it but I don't know how to implement it in the EventReceiver. I did something like: case EGET_LISTBOX_CHANGED: and checked if there is the correct id... but nothing happends. Morehover I tryed to debug it... and when I press a button it gets in th...
- Fri Nov 30, 2007 10:32 am
- Forum: Beginners Help
- Topic: MMORPG messages
- Replies: 9
- Views: 597
MMORPG messages
Okay so this is not very much Irrlcht related... I'm trying to make a MMORPG using Irrlicht and Raknet. Its going preety well but I'm not shure my way of getting messages from the server and vice-versa is the best. I'm using a lot of if's and message indentifiers and stuff like that. Do any of you k...
- Wed Nov 28, 2007 3:45 pm
- Forum: Beginners Help
- Topic: How can I get a text from textinput only knowing the id?
- Replies: 19
- Views: 1069
- Wed Nov 28, 2007 2:38 pm
- Forum: Beginners Help
- Topic: How can I get a text from textinput only knowing the id?
- Replies: 19
- Views: 1069
Okay... sorry didn't read the first post again... but I have this code: IGUIElement* elem = game.INTF()->MASTERPARENT(); IGUIElement* elem2 = elem->getElementFromId(nameid); MASTERPARENT() returns getRootElement() I lookd into the watch and elem has a good value. elem2 however doesn't. I don't get i...
- Mon Nov 26, 2007 7:00 pm
- Forum: Beginners Help
- Topic: How can I get a text from textinput only knowing the id?
- Replies: 19
- Views: 1069
c:\SanctusOnline\IntfFunctions.cpp(21): error C2039: 'getElementFromId' : is not a member of 'irr::gui::IGUIEnvironment' c:\SanctusOnline\Irrlicht\IGUIEnvironment.h(55) : see declaration of 'irr::gui::IGUIEnvironment' I allready tryed that. Is there a way to get the masterparent of all gui elements?
- Mon Nov 26, 2007 3:58 pm
- Forum: Beginners Help
- Topic: How can I get a text from textinput only knowing the id?
- Replies: 19
- Views: 1069
Okay... my bad... I did look a litle into the search but didn't find exactly what I wanted... its ok now... next problem... IGUIElement* elem; char temp[255]; wcstombs(temp, elem->getElementFromId(nameid)->getText(), 255); It does compile... but when it passes those lines it breaks and says somethin...