Search found 15 matches

by raistca
Fri Apr 08, 2011 8:54 pm
Forum: Beginners Help
Topic: How to use IFileSystem (data type issue)
Replies: 10
Views: 795

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!
by raistca
Fri Apr 08, 2011 1:22 pm
Forum: Beginners Help
Topic: How to use IFileSystem (data type issue)
Replies: 10
Views: 795

Oh haha lol. Yeah my pointer skills are rusty, but now that you "pointed" that out I feel like a moron (pun intended). Anyways though, is the filesystem created by irrlicht named "filesystem" or is it something else?

Thanks a bunch guys!
by raistca
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 ...
by raistca
Thu Apr 07, 2011 10:19 pm
Forum: Beginners Help
Topic: How to use IFileSystem (data type issue)
Replies: 10
Views: 795

ok so then how do I use read (or whatever else I need to use) to return a character or string?
by raistca
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 ...
by raistca
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...
by raistca
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...
by raistca
Wed Mar 30, 2011 3:59 am
Forum: Beginners Help
Topic: Proper way to change scenes within game
Replies: 10
Views: 1269

Well for now I'm just using a 2d map for the world view (and may keep it that way), how would that work since 2d images don't need cameras?

Also I'm not familiar with saving a scene, how do you do that?
by raistca
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...
by raistca
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...
by raistca
Sat Mar 26, 2011 7:26 pm
Forum: Beginners Help
Topic: Basic Mouse Movement
Replies: 15
Views: 1107

Ok sweet that did it! Finally something working :) So do you have any ideas of how I could invert that principle (i.e. now the camera rotates from a fixed position looking outward, could I make it move around an object at a fixed distance, always looking at the object?)

Thanks again for the help!
by raistca
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...
by raistca
Sat Mar 26, 2011 5:35 pm
Forum: Beginners Help
Topic: Basic Mouse Movement
Replies: 15
Views: 1107

if you were to reread some of my posts you would see I made specific mention of having read the tutorials, but thanks for the suggestion!
by raistca
Sat Mar 26, 2011 3:54 pm
Forum: Beginners Help
Topic: Basic Mouse Movement
Replies: 15
Views: 1107

thanks everyone, and especially freetime, I believe this was the crux of the issue. I didn't notice that receiver was in the device parameters in the tutorial until you said that. Let me try this out and I'll get back
by raistca
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...