Search found 13 matches

by android_808
Thu Apr 28, 2005 11:13 am
Forum: Beginners Help
Topic: Level Loading
Replies: 2
Views: 331

Thank you.

This is exactly what I'm after. Now all I need to do is work out how to implement this into the main game loop. Gonna go research game states.
by android_808
Tue Apr 26, 2005 11:41 am
Forum: Beginners Help
Topic: Level Loading
Replies: 2
Views: 331

Level Loading

I'm in the process of writing a function to load a map, just a Q3 .bsp at the moment. I would like to be able to specify what map it loads. void CGame::loadLevel() { scenemgr->clear(); device->getFileSystem()->addZipFileArchive("maps/map-20kdm2.pk3"); quakeLevelMesh = scenemgr->getMesh(&qu...
by android_808
Mon Apr 18, 2005 2:54 pm
Forum: Beginners Help
Topic: Getting Active Camera from Another Class
Replies: 1
Views: 197

I seem to have temporarily solved this issue by adding a variable to the EventReceiver constructor. I create the device in main.cpp, then create an instance of the event receiver class as before, sending device as a variable and finally using device->setEventReceiver(&eReceiver)
by android_808
Mon Apr 18, 2005 2:17 pm
Forum: Beginners Help
Topic: Getting Active Camera from Another Class
Replies: 1
Views: 197

Getting Active Camera from Another Class

Noob to C++ I am using the first event receiver from here http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=28044&highlight=camera+class#28044 . I have began to write my update() function but I am unable to work out how to get the active camera. Spintz uses getObject(), but I think this mus...
by android_808
Wed Apr 13, 2005 6:05 pm
Forum: Beginners Help
Topic: Custom Camera OR Event Receiver for a Noob
Replies: 3
Views: 527

Okay, I think I get what you mean about the bMovingForwards example. I could use the input receiver to record the events add them to a buffer, then at the start of the loop call a function to update the position rotation of the camera, something like:. // draw everything while(device->run() &&am...
by android_808
Wed Apr 13, 2005 12:29 pm
Forum: Beginners Help
Topic: Custom Camera OR Event Receiver for a Noob
Replies: 3
Views: 527

Custom Camera OR Event Receiver for a Noob

I know this question has been asked several times before, but whenever I try one of the suggested methods I encounter numerous problems. So Far I have, essentially the code from the API page with a few alterations, like hiding the cursor and adding FPS to title bar.: main.cpp #include <Irrlicht.h> u...
by android_808
Tue Apr 12, 2005 11:50 am
Forum: Project Announcements
Topic: Irrlicht powered FPS engine proposal
Replies: 0
Views: 758

Irrlicht powered FPS engine proposal

I've had the idea of creating a FPS game with Irrlicht for a few weeks, but have had quite a bit of difficulty sorting my custom camera out. Being new(ish) to C++ really doesn't help. So I come up with the idea of creating a framework on which to base the game. Wondered if anyone would be interestin...
by android_808
Thu Mar 31, 2005 9:19 pm
Forum: Beginners Help
Topic: Own FPS Camera Class
Replies: 0
Views: 183

Own FPS Camera Class

I want to include a camera class into my project so that I can add features to it as and when I want, such as running and jumping etc. I don't want to recompile Irrlicht, the last attempt caused a few (large) problems with my computer, resulting in me having to use System Restore for the first time....
by android_808
Thu Mar 03, 2005 10:51 am
Forum: Beginners Help
Topic: Newton with Dev-Cpp
Replies: 1
Views: 157

Newton with Dev-Cpp

I was wondering if someone could shed some light on an issue I have trying to set up Newton under Dev-Cpp. I have installed the latest (1.31) Newton SDK to C:\dev-cpp\tools\NewtonSDK. I have added the path to the DLL version of the lib to the project manager. I am unsure however how to set up the in...
by android_808
Tue Mar 01, 2005 7:21 pm
Forum: Beginners Help
Topic: Implementing Crouching And Jumping
Replies: 5
Views: 674

Ok, I've finished stripping down the demo code to remove the portals, models etc, but I now have a problem with the OnEvent reciever. The application crashes on running CGame::run(). CGame.cpp #include "CGame.h" #include <stdio.h> CGame::CGame(bool f, bool s, bool a, bool v, int w, int h, ...
by android_808
Tue Mar 01, 2005 1:30 pm
Forum: Beginners Help
Topic: Implementing Crouching And Jumping
Replies: 5
Views: 674

Yeah, I forgot about run. Maybe implementing a physics engine would be a better idea. Just out of interest, how difficult is Newton to learn. The only issue I have with it is that I believe it is Win32 only.
by android_808
Mon Feb 28, 2005 5:44 pm
Forum: Beginners Help
Topic: Implementing Crouching And Jumping
Replies: 5
Views: 674

Another problem I have is with the movement of the camera. Using the default movement code for the FPS camera, when moving forward whilst looking up or backwards whilst looking down causes the camera to jump up and down. Would this just require a change to the vectors of the animation code so they a...
by android_808
Mon Feb 28, 2005 5:08 pm
Forum: Beginners Help
Topic: Implementing Crouching And Jumping
Replies: 5
Views: 674

Implementing Crouching And Jumping

I was wondering if someone could give me an example of how to code crouching and jumping into a FPS style game. I am new to both Irrlicht and C++, but I am eager to learn. In just a couple of hours I managed to be able to understand some of the basic concepts and wrote a console based menu for one o...