Hello!
-
- Posts: 8
- Joined: Sun Jan 27, 2008 4:00 pm
- Location: Here
Hello!
Hi I am new to Irrlicht. I did alot of research and I think this engine is perfect for my needs. However I dont know how to set it up for Irrlicht. I use Dev-Cpp 4.9.9.2. I was wondering if anyone here could explain to me how to set it up. I do have experiance with programming. I know plenty of C++ and I tried of Allegro before desiding it wasnt what I needed. So I have some idea of what it takes to make even a small game. I know I cant make an MMO at first or even soon but I have to ask. Does Irrlicht have any support to make an MMO? Or can it with some add ons just like it needs to be able to support sound?
Re: Hello!
Did you check the tutorials on the main Irrlicht page? (http://irrlicht.sourceforge.net/tutorials.html) There is one that shows how to set-up Irrlicht with Dev-Cpp.vgamecoder wrote:Hi I am new to Irrlicht. I did alot of research and I think this engine is perfect for my needs. However I dont know how to set it up for Irrlicht. I use Dev-Cpp 4.9.9.2. I was wondering if anyone here could explain to me how to set it up. I do have experiance with programming. I know plenty of C++ and I tried of Allegro before desiding it wasnt what I needed. So I have some idea of what it takes to make even a small game. I know I cant make an MMO at first or even soon but I have to ask. Does Irrlicht have any support to make an MMO? Or can it with some add ons just like it needs to be able to support sound?
About your question on the MMO. First, Irrlicht is not a game engine, only a 3D rendering engine. You are correct that it will need add-ons, but not only sound(Audiere, IrrKlang, etc.), you are talking physics (Newton, Bullet, ODE, etc.), Networking (RakNet), and no doubt some scripting module (IrrLua).
Firstly I wouldn't recommend Dev-C++, get the free version of Visual C++ Express. The debugger is better and you'll need a good one.
If you are using Dev-C++ though, you could.. erm.. open the examples dir, double click the 01.HelloWorld directory and then double click the .dev file.
If you had to post a question to ask how to do this, then you should probably start with something much smaller than any kind of online game, specially not a massive one.
If you are using Dev-C++ though, you could.. erm.. open the examples dir, double click the 01.HelloWorld directory and then double click the .dev file.
If you had to post a question to ask how to do this, then you should probably start with something much smaller than any kind of online game, specially not a massive one.
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Worldforge is an open source MMO 'engine'. I'd start there and work backwards.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 8
- Joined: Sun Jan 27, 2008 4:00 pm
- Location: Here
Whoops didnt go to the bottom of the page and skipped it. My bad.Did you check the tutorials on the main Irrlicht page? (http://irrlicht.sourceforge.net/tutorials.html) There is one that shows how to set-up Irrlicht with Dev-Cpp.
But I had some problems.
libIrrlicht.a -- the Irrlicht library
libjpeg.a -- the Independant JPEG group library
libz.a -- the zlib compression library
I was told to add those but i could only find the first. The others arent there.
Thanks Ill look into that some more and do some research on IrrKlang,Newton,RakNet,IrrLua when Im ready to take on a big project like that. Thanks for the examples it helped alot.About your question on the MMO. First, Irrlicht is not a game engine, only a 3D rendering engine. You are correct that it will need add-ons, but not only sound(Audiere, IrrKlang, etc.), you are talking physics (Newton, Bullet, ODE, etc.), Networking (RakNet), and no doubt some scripting module (IrrLua).
I never said I was starting with an MMO...If you had to post a question to ask how to do this, then you should probably start with something much smaller than any kind of online game, specially not a massive one.
I was just asking if Irrlicht had the capability to make something that big.I know I cant make an MMO at first or even soon...
I know it would be stupid to try to make something like that at first. Dont reply If you didnt even read the post...
One more thing I am having a problem with the second tutorial but the first one runs fine. I thought I would put it here rather then start a new topic.
Code: Select all
#include <irrlicht.h>
#include <iostream>
using namespace irr;
#pragma comment(lib, "Irrlicht.lib")
int main(){
// ask user for drivervideo::E_DRIVER_TYPE driverType = video::EDT_DIRECT3D9;printf("Please select the driver you want for this example:\n"\ " (a) Direct3D 9.0c\n (b) Direct3D 8.1\n (c) OpenGL 1.5\n"\ " (d) Software Renderer\n (e) Apfelbaum Software Renderer\n"\ " (f) NullDevice\n (otherKey) exit\n\n");
char i;
std::cin >> i;
switch(i){
case 'a': driverType = video::EDT_DIRECT3D9;break;
case 'b': driverType = video::EDT_DIRECT3D8;break;
case 'c': driverType = video::EDT_OPENGL; break;
case 'd': driverType = video::EDT_SOFTWARE; break;
case 'e': driverType = video::EDT_SOFTWARE2;break;
case 'f': driverType = video::EDT_NULL; break;
default: return 1;} // create device and exit if creation failedIrrlichtDevice *device = createDevice(driverType, core::dimension2d<s32>(640, 480));if (device == 0) return 1;
video::IVideoDriver* driver = device->getVideoDriver();
scene::ISceneManager* smgr = device->getSceneManager();
device->getFileSystem()->addZipFileArchive("../../media/map-20kdm2.pk3");
scene::IAnimatedMesh* mesh = smgr->getMesh("20kdm2.bsp");scene::ISceneNode* node = 0;
if (mesh) node = smgr->addOctTreeSceneNode(mesh->getMesh(0));
if (node) node->setPosition(core::vector3df(-1300,-144,-1249));
smgr->addCameraSceneNodeFPS();
device->getCursorControl()->setVisible(false);
int lastFPS = -1;while(device->run())
{
driver->beginScene(true, true, video::SColor(0,200,200,200));
smgr->drawAll();
driver->endScene(); int fps = driver->getFPS(); if (lastFPS != fps)
{
core::stringw str = L"Irrlicht Engine - Quake 3 Map example ["; str += driver->getName(); str += "] FPS:"; str += fps; device->setWindowCaption(str.c_str()); lastFPS = fps;
}
}
device->drop(); return 0;}
16 C:\Users\Patrik\Desktop\Irralicht\Untitled1.cpp `driverType' undeclared (first use this function)
20 C:\Users\Patrik\Desktop\Irralicht\Untitled1.cpp `EDT_SOFTWARE2' is not a member of `irr::video'
24 C:\Users\Patrik\Desktop\Irralicht\Untitled1.cpp `device' undeclared (first use this function)
case 'a': driverType = video::EDT_DIRECT3D9;
case 'e': driverType = video::EDT_SOFTWARE2;
video::IVideoDriver* driver = device->getVideoDriver();
Those are the lines the compiler is having problems with. However I dont know why. I did exactly what the tutorial told me to.
They are being declared I dont understand why It says undeclared.
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
That's old sample code. EDT_SOFTWARE2 is now called EDT_BURNINGSVIDEO. You'll likely run into similar issues unless you use sample code from the same SDK as your library. I'd recommend getting the most recent version from SVN, as it's constantly being improved.vgamecoder wrote: case 'e': driverType = video::EDT_SOFTWARE2;
Not according to the source you posted they aren't. The declarations of driverType and device appear to be in commented out lines.vgamecoder wrote: case 'a': driverType = video::EDT_DIRECT3D9;
video::IVideoDriver* driver = device->getVideoDriver();
They are being declared I dont understand why It says undeclared.
Since you apparently don't even read your own posts, chastising bitplane (one of the Irrlicht developers, by the way) for not doing so is... well, I'll choose to find it charming.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
LMAO!! I was eating while reading that and I almost choked!rogerborg wrote:Since you apparently don't even read your own posts, chastising bitplane (one of the Irrlicht developers, by the way) for not doing so is... well, I'll choose to find it charming.
Edit:
@zeno60: I posted this post Before you told me about the "Power-posting" thing..
Obviously Irrlicht has no support for any project except the engine itself, by how I am reading this there are two possible answers to your question, the second is the more likely but lets give this a shot. 1. Irrlicht does, not have a call center, with a bunch of highly trained staff. Its an open source project. 2. The more likely scenario, no Irrlicht DOES Not Support MMO's in any way shape or form, because irrlicht is not a game engine. Irrlicht only supports graphic manipulation and basic collision. Thats not to say you can't make a mmorpg but firstly it will never be MMO and secondly it will never be what you want. Oh and as a final note do you have 3-6 years with a team to work on it, lots of cash? :/
Programming Blog: http://www.uberwolf.com