Whoops didnt go to the bottom of the page and skipped it. My bad.
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.
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).
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.
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 never said I was starting with an MMO...
I know I cant make an MMO at first or even soon...
I was just asking if Irrlicht had the capability to make something that big.
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;}
The code looks bad I know but I was just testing.
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.