Ok cool that's working now. Maybe it's just because I've never worked with an engine before, but that was totally non-intuitive. I was hunting through every function of IFileSystem trying to get a clue and couldn't find jack, now the reason for that is obvious.
Thanks!
Search found 15 matches
- Fri Apr 08, 2011 8:54 pm
- Forum: Beginners Help
- Topic: How to use IFileSystem (data type issue)
- Replies: 10
- Views: 795
- Fri Apr 08, 2011 1:22 pm
- Forum: Beginners Help
- Topic: How to use IFileSystem (data type issue)
- Replies: 10
- Views: 795
- Fri Apr 08, 2011 2:10 am
- Forum: Beginners Help
- Topic: How to use IFileSystem (data type issue)
- Replies: 10
- Views: 795
Ok cool, sorry I've been looking through the API but my brain has turned to mush where C++ is concerned (too much Java and PHP), so I sometimes have trouble making heads or tails of it. Anyways, I'm implementing your suggestion, but for some reason I'm getting an unhandled exception, which seems to ...
- Thu Apr 07, 2011 10:19 pm
- Forum: Beginners Help
- Topic: How to use IFileSystem (data type issue)
- Replies: 10
- Views: 795
- Thu Apr 07, 2011 8:22 pm
- Forum: Beginners Help
- Topic: How to use IFileSystem (data type issue)
- Replies: 10
- Views: 795
How to use IFileSystem (data type issue)
So I'm trying to set up a system for loading save games, so for starters I just want to have the program open up the saved text file, read it into a string variable line by line so I can handle the information. I set up a simple test for functionality to display the read in information, but I can't ...
- Thu Mar 31, 2011 8:08 pm
- Forum: Beginners Help
- Topic: Proper way to change scenes within game
- Replies: 10
- Views: 1269
Ok I think I've got it now. One question still lingers: you don't need a scene manager to do 2d drawing, so can you add 2d images to a scene manager? Or would these just be drawn over whatever 3d scene you have rendered? It seems to me that Irrlicht should have many more tutorials to cover these kin...
- Wed Mar 30, 2011 8:26 pm
- Forum: Beginners Help
- Topic: Proper way to change scenes within game
- Replies: 10
- Views: 1269
Ok that sounds like a good idea Mel, and thanks for the saveScene command, I hadn't really gotten to loading scene files and how exactly that plays out, but I guess I should check it out. I guess basically when in battle view and I need to switch to map, I just need to save the scene and clear it, o...
- Wed Mar 30, 2011 3:59 am
- Forum: Beginners Help
- Topic: Proper way to change scenes within game
- Replies: 10
- Views: 1269
- Wed Mar 30, 2011 3:42 am
- Forum: Beginners Help
- Topic: Proper way to change scenes within game
- Replies: 10
- Views: 1269
Proper way to change scenes within game
Ok so I'm working on a game where there are basically two main views, the typical "world view" where you run around and the "battle view," where (spoiler alert!) you fight battles. These two views will require totally different scenes, so I'm wondering what do I need to do in ord...
- Sat Mar 26, 2011 10:07 pm
- Forum: Beginners Help
- Topic: Basic Mouse Movement
- Replies: 15
- Views: 1107
Ok guys problem solved! Thanks for the help! Basically my plan was to revolve the camera around the object, changing position and rotation so that it always focused on the same point. This was silly, however, since it was much easier to simply rotate the scene in front of the camera and leave the ca...
- Sat Mar 26, 2011 7:26 pm
- Forum: Beginners Help
- Topic: Basic Mouse Movement
- Replies: 15
- Views: 1107
- Sat Mar 26, 2011 6:27 pm
- Forum: Beginners Help
- Topic: Basic Mouse Movement
- Replies: 15
- Views: 1107
thanks seph, I had something similar for the delta, but now I see where I went wrong. However, I can't get this code to actually move the camera with the mouse, and I'm not sure why. This is my camera: scene::ISceneNode * camera = smgr->addCameraSceneNode(0, vector3df(0,30,-40), vector3df(0,5,0)); m...
- Sat Mar 26, 2011 5:35 pm
- Forum: Beginners Help
- Topic: Basic Mouse Movement
- Replies: 15
- Views: 1107
- Sat Mar 26, 2011 3:54 pm
- Forum: Beginners Help
- Topic: Basic Mouse Movement
- Replies: 15
- Views: 1107
- Sat Mar 26, 2011 5:34 am
- Forum: Beginners Help
- Topic: Basic Mouse Movement
- Replies: 15
- Views: 1107
Basic Mouse Movement
Ok so I'm just getting started with Irrlicht and simultaneously brushing up on rusty C++ skills, so be gentle. Basically what I want to do is render a 3d scene, then allow the user to rotate the camera around the scene by holding down the right mouse button and moving the mouse. So far I've tried mo...