can you please post how you did it so other people can benefit from it?
i might have another solution:
use a file reader to read a list of files to load from a single text file
Search found 69 matches
- Sat Aug 06, 2005 11:41 am
- Forum: Beginners Help
- Topic: Filelists of an added .zip package?
- Replies: 6
- Views: 372
- Sat Aug 06, 2005 9:10 am
- Forum: Beginners Help
- Topic: XML bug
- Replies: 22
- Views: 915
what i explained here was just a basic function, you can make a nice class out of it if you want, it can be very powerfull. But if you prefer to use another reader, that is realy ok with me. It's just that i like to make my own stuff or at least adapt the stuff others made so it fits my needs perfec...
- Fri Aug 05, 2005 7:45 am
- Forum: Beginners Help
- Topic: XML bug
- Replies: 22
- Views: 915
i think its not very smart to use the xml reader/writer for a couple of reasons: - the file you read has to be xml format - writing the files seems to be a bitch :p - its so easy to write your own reader/writer (scroll a bit down to see how) - its hard to read from the file, every time you read from...
- Sat Jul 23, 2005 9:41 am
- Forum: Project Announcements
- Topic: Virtual City
- Replies: 80
- Views: 92115
- Wed Jul 06, 2005 6:35 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: More free games: Legends, Tribes2 clone
- Replies: 9
- Views: 2256
- Tue Jul 05, 2005 11:39 am
- Forum: Beginners Help
- Topic: Error in class def, Type Name Expected
- Replies: 2
- Views: 288
- Mon Jul 04, 2005 9:40 am
- Forum: Project Announcements
- Topic: Mupolis engine, known earlier as Virtual City, site moved!
- Replies: 59
- Views: 9967
- Thu Jun 30, 2005 4:42 pm
- Forum: Project Announcements
- Topic: 3D Fighter Game... Suggestions & Thoughts
- Replies: 3
- Views: 948
- Thu Jun 30, 2005 6:48 am
- Forum: Project Announcements
- Topic: Mupolis engine, known earlier as Virtual City, site moved!
- Replies: 59
- Views: 9967
- Wed Jun 29, 2005 6:02 pm
- Forum: Beginners Help
- Topic: xml class
- Replies: 1
- Views: 221
- Wed Jun 29, 2005 6:08 am
- Forum: Advanced Help
- Topic: rotate camera
- Replies: 1
- Views: 595
i think you will have to code it yourself do something like this: - store the angles in AngleX, AngleY (you dont need Z cause you can only rotate in 2 ways :p) - if right arrow is pressed AngleX += 0.1 (or something like that) - if left arrow is pressed AngleX -= 0.1 - if up arrow is pressed AngleY ...
- Tue Jun 28, 2005 6:26 am
- Forum: Beginners Help
- Topic: xml class
- Replies: 1
- Views: 221
xml class
Hi, I've stated on making a couple of classes for a game that me and some other guys are going to make. I was doing an xml reader class and I know I'm doing something terribly wrong, here is my code: #include "XMLReader.h" IXMLReader* xml; void createXMLReader(IrrlichtDevice* device, c8* f...
- Thu Jun 23, 2005 5:53 am
- Forum: Advanced Help
- Topic: 3rd Person view
- Replies: 3
- Views: 772
here is some code: position2d<f32> RelMousePos = device->getCursorControl()->getRelativePosition(); if(RelMousePos.X >= 0.8) { float rotation = (RelMousePos.X-0.8)*10; fAngleX += rotation; if(fAngleX >= 360) fAngleX = 0; } if(RelMousePos.X <= 0.2) { float rotation = (0.2-RelMousePos.X)*10; fAngleX -...
- Wed Jun 22, 2005 10:40 am
- Forum: Advanced Help
- Topic: 3rd Person view
- Replies: 3
- Views: 772
1) use setTarget to set your player as the target the camera is looking at 2) then: use sin,cos stuff to set the height, ... 3) make it so that in the event receiver it can rotate the camera and zoom in/out 4) update the camera location every time the player moves or the camera is rotated (do 1 and ...
- Tue Jun 21, 2005 5:54 am
- Forum: Open Discussion and Dev Announcements
- Topic: Map editor
- Replies: 7
- Views: 839