Game Programming and Development Tools

I FINALLY GOT C++ YAY! oh wait... what the crap??!?!?!?! – Realm Master

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
EH!?!?!?!?!?


its my dream come true: I GOT C++ and i have (after a very WERID and to me as of yet unsolved bug) run my first programm (all text) then came the BIG speed bumps

#1 i hit at full speed, (reminded me of when my aunt drove full speed into that speed bump up near our friend's capbin, i swear that seat belt streched a good foot or so...) i need a graphic library to put ANY images in c++! i have no clue what a graphic library is, only that it could potentially cost me a lot of money and a lot of brain stress trying to make it work. if anybody knows what a graphic library is, plz tell me, and i would really appreciate if it was free. I (foolishly, but hey, a guy can hope, RIGHT?) also wanted to do 3d stuff too... what would i need for that?

After that bump i slowed down considerably... then i switched to BB3d, my own, comfortable language i know so well (only to start full speed and run into one of those stupid should-be-working bugs that have no reason to not work) and BAM!

#2 i hit going at a medium speed, but the way it hit me, it might as well have been one of those spiky things that keep you from going that one way and blow holes in your tires when you try.

all of my BB3d pograms were running CONSIERABLY s l o w e r
which REALLY made me mad...

oh yeah, and for a terrifying moment i thought i lost my rabbit...

so... its been one of those up and down days... and my dad just got on the phone so the internet connections lost, so ill copy and past this and go back on when he gets of the phone..


(')__(')

cheers...

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

Brandon

Member

Posts: 594
From: Kansas City, Mo, USA
Registered: 02-02-2004
Hiya,

I feel ya, I've had those types of days before!

For free graphics libs yeah, there are plenty. But I only know of two that I can say are really good ones. There is Irrlicht and OGRE. I'd recommend Irrlicht for ease and power. And OGRE for power and a tough challenge! It uses OOP to an extreme degree. OGRE is better, but Irrlicht is way more simple.

Oh, and I'm glad you found yer rabbit


------------------
I am not ashamed of the gospel, because it is the power of God for salvation of everyone who believes: first for the Jew, then for the Gentile.

[This message has been edited by brandon (edited August 16, 2005).]

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
thanks! yes im glad i found her to.

i kept forgetting i let her out... ( i let her run around a protion of our backyard every once and a while for exercise and plain enjoyment)

hm... Irrlichit and OGER eh? assuming their free of course...
still a sheer newbie to C++ but hey, if you don't try and push yourself, your gonna end up making not-so-great games!

I was on CW (codersworkshop) and the poeple there reccomended SDL... now, to get MY computer connected to the internet....

or i could just download whatever-the-heck-i-want on THIS computer and transferr it to the OTHER computer.

say, bradon, do those work ONLY for 2d images, or can you do 3d stuff too (being a BlitzBasic3d user FIRST, im probably expecting more than i should be. thanks again!

PS: when i download these libraries, do they come with... well some sort of insturctions, so i konw how to use them?
...oh yes, text too.. so far all i can do is the


std::cont << "Hello...?" << std::endl;

kind of text, is their anyway to position it?

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

HanClinto

Administrator

Posts: 1828
From: Indiana
Registered: 10-11-2004
SDL is mainly used for 2D stuff (though you can do 3D stuff with OpenGL inside of SDL I think), but Irrlicht and OGRE are mainly for doing 3d things (though I think I saw one 2d game written with Irrlicht).

SDL or Allegro are two of the more popular C++ 2D graphics libraries, and if you want 3D, there are many popular ones, and both OGRE and Irrlicht are very popular ones.

Respectfully,
clint

------------------
http://www.includingjudas.com/christiangame.html

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005

(getting very excited and beginning to squirm in seat)

goodygoodygoodygoody!

wait.... are they free?

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
eh?!?! hold up, its says OGER supports visual C++, but im using Dev C++ (and windows, will it sill work?)

Just checked out Irrcilit, IM SO EXCITED!!!!

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

[This message has been edited by Realm Master (edited August 16, 2005).]

Brandon

Member

Posts: 594
From: Kansas City, Mo, USA
Registered: 02-02-2004
Yep, both OGRE and Irrlicht are totally free. Also, there is a DevCPP pack for Ogre here

Hope that helps some

------------------
I am not ashamed of the gospel, because it is the power of God for salvation of everyone who believes: first for the Jew, then for the Gentile.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
Okay brandon, i could use some help!

A: tried to get OGRE, for somereason it didn't work and the web page litterally turned into rubbish.

B: got Irrlichit, HOWEVER:
IVE (pardon the use of all caps) GOT NO BLOODY CLUE HOW TO USE IT!

i know i have to somehow get it so Dev C++ can use the irrlichit.h (pardon the spelling... ) header, and the .dll, but what else? the HTML document only did the Virtual C++ way, I'VE go Dev C++!

a little help plz?

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

Brandon

Member

Posts: 594
From: Kansas City, Mo, USA
Registered: 02-02-2004
Not sure what the prob. with OGRE could be...

For Irrlicht, there is a tutorial for setting up your project here: http://irrlicht.sourceforge.net/tut001b.html Also, it might be good to look over some of the examples that came with it, maybe even modify them some.

------------------
I am not ashamed of the gospel, because it is the power of God for salvation of everyone who believes: first for the Jew, then for the Gentile.

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
quote:
Originally posted by Realm Master:
Okay brandon, i could use some help!

A: tried to get OGRE, for somereason it didn't work and the web page litterally turned into rubbish.

B: got Irrlichit, HOWEVER:
IVE (pardon the use of all caps) GOT NO BLOODY CLUE HOW TO USE IT!

i know i have to somehow get it so Dev C++ can use the irrlichit.h (pardon the spelling... ) header, and the .dll, but what else? the HTML document only did the Virtual C++ way, I'VE go Dev C++!

a little help plz?


I personally think you may be a little over your head. You need to be fairly competant with C++ before you can even begin to look at 3D game engines.

Maybe take some time out to learn a slower pace and really get a good grasp of it, before moving on

--D-SIPL

------------------
"One World. One Web. One Program." -Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" -Adolf Hitler

firemaker103

Member

Posts: 643
From:
Registered: 07-13-2005
Make a text adventure like this:

// Crimson Caves
#include <stdio.h>
#include <iostream.h>
#include <stdlib.h>
#include <time.h>

int hp = 10, thp = 10, turns = 0, str = 5, def = 3; // Player values
int rnd = 0;
int mrnd = 0;
int mhp;
int oroom, room = 1;
int skulls = 0;

char name[10]; // Player Name
char input; // Input
char sive; // Catches newlines
char command[10]; // Commands
char choice; // Attack or Defend?

void status(); // Prototypes
void atmos();
void battle();

void main()
{
srand ( time(NULL) ); // Seed Random
printf("-= Welcome to Crimson Caves =-\n");
printf("Please enter your name: ");
scanf("%s%c", &name, &sive);
printf("\n<--------------- Your quest begins ------------------>\n"
"Welcome %s, to the dark underworld. You have become\n"
"trapped in this cave with another. You cant see anything\n"
"but you can hear something eating, deeper within. Try\n"
"to find the light of day before before it finds you.....\n"
"Enter 'help' to view the command reference.\n", name);
Begin:
if (oroom != room) {
rnd = ((rand() % 3) + 1); // Block a random path
mrnd = ((rand() % 7) + 1); // Monster encounter
}
oroom = room;
printf("\n> ");
gets(command);
if (strcmp(command, "help") == 0) { // Help
printf("\nCommands: n, e, w, s, stat, quit, search, take\n");
}
else if (strcmp(command, "n") == 0) { // North
turns += 1;
if (rnd != 1) {
printf("\nYou walk north.");
atmos();
room += 1;
}
else {
printf("\nThat way is blocked.");
}
}
else if (strcmp(command, "s") == 0) { // South
turns += 1;
if (rnd != 2) {
printf("\nYou walk south.");
atmos();
room += 1;
}
else {
printf("\nThat way is blocked.");
}
}
else if (strcmp(command, "e") == 0) { // East
turns += 1;
if (rnd != 3) {
printf("\nYou walk east.");
atmos();
room += 1;
}
else {
printf("\nThat way is blocked.");
}
}
else if (strcmp(command, "w") == 0) { // West
turns += 1;
if (rnd != 1) {
printf("\nYou walk west.");
atmos();
room += 1;
}
else {
printf("\nThat way is blocked.");
}
}
else if (strcmp(command, "stat") == 0) { // Status
status();
}
else if (strcmp(command, "quit") == 0) { // Quit
hp = 0;
}
else if (strcmp(command, "search") == 0) { // Search
turns += 1;
rnd = ((rand() % 5) + 1);
if (rnd == 3) { // Found Food
rnd = ((rand() % 4) + 2);
printf("\nYou found some food! You gained %dhp.\n", rnd);
hp += rnd;
if (hp >= thp) hp = thp;
}
else { // Nothing
printf("\nYou search blindly with no result.\n");
}
}
else { // Unknown Command
printf("\nSorry, I dont understand the command %s.\n", command);
}

if (mrnd == 4) { // Encounter the monster
battle();
}

if (hp > 0 && turns < 50) goto Begin;

if (hp <= 0) { // Death
printf("\n%s dies consumed in darkness. Total turns: %d | Skulls: %d\n", name, turns, skulls);
}
else if (turns >= 50) { // Victory
printf("\nYou make your way torwads the sunlight and emerge in a sunny field."
"\n%s made it out of Crimson Caves alive! Total turns: %d | Skulls: %d\n", name, turns, skulls);
}
system("PAUSE");
}

void status() // Status
{
printf("\n%s has %d/%dhp | Turn: %d | Skulls: %d\n", name, hp, thp, turns, skulls);
turns += 1;
}

void battle() // Battle
{
mhp = ((rand() % thp) + (thp/2));
printf("\n\nFrom the darkness you see two red eyes moving torward you."
"\nSuddenly a huge creature looms above you!");
do {
printf("\nA)ttack, R)un | You have %d/%dhp", hp, thp);
printf("\n>");
scanf("%c%c", &choice, &sive);
if (choice = 'a') { // Attack
turns += 1;
rnd = ((rand() % (thp/2)) + (thp/2));
printf("\nYou swing wildly at the creature for %d damage.", rnd);
mhp -= rnd;
mrnd = (thp / 2);
rnd = ((rand() % mrnd) + (mrnd / 2));
printf("\nThe beast claws you for %dhp\n", rnd);
hp -= rnd;
}
} while (mhp > 0 && hp > 0);
if (mhp <= 0) { // Killed it!
printf("\nYou destroyed the vile creature! You add its skull to your collection.\n");
rnd = ((rand() % 4) + 1);
thp += rnd;
hp = thp;
printf("\nYour total hp increased by %d. You now have %d/%dhp", rnd, hp, thp);
skulls += 1;
room += 1;
}
}

void atmos() // Atmosphere
{
rnd = ((rand() % 7) + 1);
if (rnd == 4) {
rnd = ((rand() % 4) + 1);
if (rnd == 1) {
printf("\nYou hear something breathing heavily near you...");
}
else if (rnd == 2) {
printf("\nYou hear a dripping noise in the distance...");
}
else if (rnd == 3) {
printf("\nYou smell rotting flesh close by...");
}
else if (rnd == 4) {
rnd = ((rand() % 5) + 1);
printf("\nA bat bites you for %dhp and then vanishes...", rnd);
hp -= rnd;
}
else if (rnd == 5) {
printf("\nYou stumble over a pile of human bones...");
}
}
}

------------------
"Be nice to the nerds because later on, you'll be working for them" - Bill Gates

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
@firemaker: well,your probably gonna need to seed rnd that rand thing... and one of my problems IS getting that irrlichit.h file ot be included, i get an error. printf? i just include the iostream and use cont ! and for all the char's... just include the string file, and use string
oh yea, and for that attack or defend (or whatever you called it) use a boolen value, (true or false)
like so

bool attack_or_defend;

and i don't have time to proofread the rest of your code, though it looks like it will definantly work!
i suppose ill learn later...

not@firmaker ( )

dont work D-SIPL, ill do what ill do and it wont be any of your faults i just wanna know how to be able to use irrlichit.

thanks,

RM

PS: (HOLY SMOKES firemaker, you know C++ AND BB3d (and, apparently are better at both than i am) wow! howlong have you been programming??!?!)

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

[This message has been edited by Realm Master (edited August 17, 2005).]

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
No offense realm master...but I don't think your ready for irrlicht either. Its nothing like blitz 3d and programming games in C++ is a buttload of work. I think you should really take D-SIPLs advice. Check out www.cprogramming.com

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
WHO SAID ANYTHING ABOUT USING IT! I JUST WANTO TO GET TO <b> TO BE ABLE TO BE USED </b>!!

yes yes, ill chekc out that link, but you should know i DO have a C++ book...

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
I do not reccommend books. I find most books compeltly useless. Those tutorials are the best you can get. Except for www.gameinstitute.com

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
quote:
Originally posted by en972:
I do not reccommend books. I find most books compeltly useless. Those tutorials are the best you can get. Except for www.gameinstitute.com



What the...?!?!? I don't know if I am miss interpreting you or not but did you just say you do not recommend books and they are useless??? Anyways if you want to learn c++ I would get as many books as you can cause books go more into the details of things that you should know as a programmer. One thing that comes to mind is the different ways you could create a memory leak and don't relies it.

Sample of memory leak// put a object on the free store not the stack// if you don't know what the free store or the stack is,then this is another reason to use/get a c++ BOOK and study study.

//Create a pointer and assign it the address of an area on the free store
int *pint = new int;
*pint = 60;
//reassign the pointer to another area of memory
pint = new int;
ut Oh, this could be a leak cause we did not delete the memory before we reassigned are pointer .ewwww

right way....

int *pint = new int;//put it on the free store
*pint = 60;//give it a value
delete pint;//free the memory
pint = new int;//reassign it the address of and area on the free store
*pint = 20;//give it a different value
delete pint;//free memory


Anyways, I recommend BOOKs, get as many as you can cause they all teach you something different.

God bless you all!!!


[This message has been edited by cwc (edited August 17, 2005).]

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
im getting books, BUT I JUST WANT TO KNOW HOW TO USE THE STUPID GFX LIBRARY!

*pant, pant, pant* can ANYONE help?!?!?!

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

firemaker103

Member

Posts: 643
From:
Registered: 07-13-2005
@realm_master

About 6 and a half months.

------------------
"Be nice to the nerds because later on, you'll be working for them" - Bill Gates

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
When I said I do not recommend books..I meant programming books. lol. I should have written that better.

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

firemaker103

Member

Posts: 643
From:
Registered: 07-13-2005
@realm
the program works without your fixes, don't worry.

alos notice that you won't get out until you do anything 50 times.

------------------
"Be nice to the nerds because later on, you'll be working for them" - Bill Gates

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
you make me very jealous firemaker...

hopefully ill get over it,

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

CoolJ

Member

Posts: 354
From: ny
Registered: 07-11-2004
quote:
Originally posted by firemaker103:
@realm
the program works without your fixes, don't worry.

alos notice that you won't get out until you do anything 50 times.


ok! it compiled and ran for me. anyone knows why after copying and pasting I have to manually add return after every statement? everything comes out as 1 line in visual studio.

btw, I made it out of the cave in 50 moves!!! pretty good eyh?


Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
this is really nice and all, but i still have that Currently Useless Irrichilit gfx engine i REALLY WANT TO USE IT BUT AS OF YET NOBODY HAS BEEN ANY HELP!!!!!!

CAN I PLZ LEARN HOW TO USE IT!?!?!?!?!?
ITS JUST SITTING ON MY COMPTUER, HOGGIN MEGABYTES!
woops, i just realized, my caps lock was on.

Or WAS it?

plz, HELP!

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

Brandon

Member

Posts: 594
From: Kansas City, Mo, USA
Registered: 02-02-2004
I think the others have a point dude. Maybe you should try something a little simpler first. Then move on to a graphics engine. If you want to testdrive the engine then look in the "examples" folder, and there are some sample projects there. You don't need to compile them because there are the exe's in the "bin\Win32-VisualStudio" directory. Just click em'

But if you insist, this tutorial should help you out as far as setting up your projects.

------------------
I am not ashamed of the gospel, because it is the power of God for salvation of everyone who believes: first for the Jew, then for the Gentile.

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
quote:
Originally posted by Realm Master:
this is really nice and all, but i still have that Currently Useless Irrichilit gfx engine i REALLY WANT TO USE IT BUT AS OF YET NOBODY HAS BEEN ANY HELP!!!!!!

CAN I PLZ LEARN HOW TO USE IT!?!?!?!?!?
ITS JUST SITTING ON MY COMPTUER, HOGGIN MEGABYTES!
woops, i just realized, my caps lock was on.

Or WAS it?

plz, HELP!



If you can't even compile it, then seriously (you can ignore this advice ) don't even bother coming back to it, until you are more competant at C++

To be honest i'm not a huge fan of books, they are good for the basics, but i like to then pick a project that interests me, and just learn how to write it.

For instance, when I was learning Python, I was really interested in making a console based IRC client. Within a week I had one written. If i had stuck to books, I would have probably just been touching the surface of GUI stuff, instead i was dong socket stuff and writing interfaces in ncurses. The hands on imperative works best for me.

Here's a quote from Eric Raymond, one of my top hackers.

quote:
I can tell you that books and courses won't do it (many, maybe most of the best hackers are self-taught). You can learn language features bits of knowledge from books, but the mind-set that makes that knowledge into living skill can be learned only by practice and apprenticeship. What will do it is (a) reading code and (b) writing code.

Learning to program is like learning to write good natural language. The best way to do it is to read some stuff written by masters of the form, write some things yourself, read a lot more, write a little more, read a lot more, write some more ... and repeat until your writing begins to develop the kind of strength and economy you see in your models.

Finding good code to read used to be hard, because there were few large programs available in source for fledgeling hackers to read and tinker with. This has changed dramatically; open-source software, programming tools, and operating systems (all built by hackers) are now widely available. Which brings me neatly to our next topic...


No flaming please, just my 2 cents

--D-SIPL

------------------
"One World. One Web. One Program." -Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" -Adolf Hitler

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
A: books wasn't my first choice, my first choice was a class at a jr. colledge, but for some incredibly stupid reason (if i havn't already mentioned...?) if i get to many credits or whatever in my highschool, then i get kicked out, booted out, watever.

adn just winging it, well, it would HELP if i knew all of the functions in all of the include files.

for instance, BB3d has a very well documented Command Refference. Dev C++, as far a i know, has none, so i gotta learn what everything means SOMEHOW!

B: ....wait, holdon, i forgot what 'B' was...
being a self taught C++ programmer would be all the cooler, but i HAVE to LEARN the basics somehow, weather form online tutorials (for some reason, i do bad with those... probabaly because my entire family is all around the computer.

i have to go

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

Nomad
Member

Posts: 63
From:
Registered: 06-29-2004
Realm:

If you really want easy graphics, go to www.libsdl.org. They have lots of tutorials, very complete reference, all that.

And, no, Dev-C++ is not like Blitz in that it has tons of built-in commands. For C/C++/C# commands, you need libraries. Like the Standard Template Library, say. Sites like www.cplusplus.com have a basic listing, and for most rudimentary stuff Dev-C++ does have something in its help files.

[This message has been edited by Nomad (edited August 18, 2005).]

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
As I site here and read all about this graphic stuff, I think I might try and build my own 2d graphic lib with c++ and the win32 api. I think I could make my own 2d graphic lib but I don't think I have the math skills just yet to build my own 3d graphic lib, so 2D it is!!!!

Anyways Realm Master. Did you try this
http://irrlicht.sourceforge.net/tut001b.html
tutorial that brandon gave you? If you did, what errors are you getting, if you can't get it to work?? Also is there something you don't under stand in the tutorial? If so what?

God bless you all.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
what? oops!!!!!

sorry bradon, i guess i accidentally skipped your post! REALLY sorry!

thanks, now at least it will be GOOD for SOMETHING... depending on if i EVER get good enought to use it. (Spent 2 days trying to get a class function to work, and it wasn't because i was doing


b1.SetStats(int beast, char name)

instead of

b1.SetStats(beast,name)

... course, that was nothing compared to the time in BB when i didn't even know how to MAKE a function.. that lasted a whole week (not including Sat. and Sun.))

thanks, and sorry again that i didn't see that bradon.

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
You dont have to know too mucuh C++ to use irrlicht. Just the basics

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
EH!!!!!!????!?!?!
NOW WHAT DID I DO WRONG!

in the tut, it said to add these librarys, but however, the irr engine i hAve DOSNT HAVE A
DevCpp folder in the lib folder~ WHAT GIVES???

WAAA!! WHY DOES oops, caps lock was on... why does this always seem to hapen to me???

i only found 1 version to download, so i downloaded that... what is the most recent, and where can i get it.

i do belive mine is irrichilit 0.11 or something like that...

apwe8q-987fusiafpaewoir7u2085werpouqf98532yqwe!! (yes, that was intentional)

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
The dev-C++ folder is not in the irrlicht folder. It is in the dev-C++ folder in your program files

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
soo.... then what to i...

eh???

ill look at that tut again...

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
For release 0.3, we can find the files we need in "irrlicht-0.3\lib\DevCpp. There are three files of interest:


libIrrlicht.a -- the Irrlicht library

libjpeg.a -- the Independant JPEG group library

libz.a -- the zlib compression library


then what about that ^ ???

agophae... just when i thought it was safe to relax....

(dun- dunt... dun- dunt.. dun-dunt, dun-dunt, DUN-DUNT, DUN-DUNT) DUN DUN DUHHH!!!

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
Why the heck did you download irrlicht release .3? download .11

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
.11, thats what i have!

the tut is for verson .3 thou... so my irrchilit dosn't have the DevCpp lib folder.

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
There should be one in the dev-C++ folder

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
...so... ah phohey! ill figure it out myself!

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
I'm sorry but I dont use Dev-C++

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
not too surprised...

not many do, despite the fact that its free...

i mean, not many people i know...

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
Actully alot of people use Dev-C++. And so did I. But, I then purchased a copy of C++ Builder. And I like that more

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
ookay, probelm!

what do i need to include to use irrichilit?

can i get some help with this last part (im really sorry im so drn helpless, but i hope (and am praying) that i will learn and will acutally be able to help other people, instead of vise versa.

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
Well, I can try to help you. But not here. Either PM me, or you can instant messenge me on AIM at h00cdawnfawncs. I'm on most of the time so yeah. Or you could e mail me at reaganmeister@gmail.com

In Christ
-Reagan

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
Reagan?

Sure, i will. (AIM? Aol Instant Messenger? don't got one of those...)

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
Alright well just e mail me or somethign and we'll get something worked out.

Later

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
Realm Master, I have never used that graphic lib but I do use DEV-CPP, I just downloaded the graphic lib and I got it working in 5 min. Anyways, If you still need help with it let me know and I will tell you here what you have to do to get it to work with DEV-CPP. Its pretty simple really. This is where you need to know the basics of programming and you will only learn that through some good BOOKs or a teacher. Anyways just let me know if you still need help and I will be glad to tell you how to do it.

Also Realm Master, Get ICQ messenger from
http://www.icq.com]http://www.icq.com ,
there you can talk to me(So I can help to walk you through it) and also you will be able to talk to en and others, cause icq can be used for aol buddies as well.

God Bless you ALL

[This message has been edited by cwc (edited August 19, 2005).]

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
Realm Master, I have never used that graphic lib but I do use DEV-CPP, I just downloaded the graphic lib and I got it working in 5 min. Anyways, If you still need help with it let me know and I will tell you here what you have to do to get it to work with DEV-CPP. Its pretty simple really. This is where you need to know the basics of programming and you will only learn that through some good BOOKs or a teacher. Anyways just let me know if you still need help and I will be glad to tell you how to do it.

Also Realm Master, Get ICQ messenger from
http://www.icq.com]http://www.icq.com ,
there you can talk to me(So I can help to walk you through it) and also you will be able to talk to en and others, cause icq can be used for aol buddies as well.

God Bless you ALL

[This message has been edited by cwc (edited August 19, 2005).]

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
Oh really? Hey CWC maybe we can talk to?

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
quote:
Originally posted by en972:
Oh really? Hey CWC maybe we can talk to?


Sure, no problem.

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
And we are talking now...

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
quote:
Originally posted by cwc:
[B] Realm Master, I have never used that graphic lib but I do use DEV-CPP, I just downloaded the graphic lib and I got it working in 5 min. Anyways, If you still need help with it let me know and I will tell you here what you have to do to get it to work with DEV-CPP. Its pretty simple really. This is where you need to know the basics of programming and you will only learn that through some good BOOKs or a teacher. Anyways just let me know if you still need help and I will be glad to tell you how to do it.

Also Realm Master, Get ICQ messenger from
http://www.icq.com]http://www.icq.com]http://www.icq.com ,
there you can talk to me(So I can help to walk you through it) and also you will be able to talk to en and others, cause icq can be used for aol buddies as well.

God Bless you ALL


sure, i could still use some help!

plz!

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
Ok Realm Master, did you get ICQ at http://www.ICQ.com by chance?
If so whats your number or id so I can add you. it would be best that I explain this to you over messenger so I don't have to write a whole tutorial. But to cut it short you can use the tuttorial that brandon gave you, you just have to change a few things. One thing to cut out is

libjpeg.a -- the Independant JPEG group library
libz.a -- the zlib compression library

you do not need them, all you need is

libIrrlicht.a

this file is located at

somewhere\irrlicht-0.11.0\irrlicht-0.11.0\lib\Win32-gcc


You do need to do this

Add the "irrlicht-0.11.0\irrlicht-0.11.0\bin" directory from Step 1 to your PATH. or
Copy the "irrlicht.dll", which is located at somewhere\irrlicht-0.11.0\irrlicht-0.11.0\bin\Win32-gcc to your windows\system32 directory, which is in the PATH by default

Also add the somewhere\irrlicht-0.11.0\irrlicht-0.11.0\include to the directory as the tutorial shows you.

or do this
//Note this is my path cause I unziped irrlicht to my Dev-Cpp folder
#include "C:\Dev-Cpp\irrlicht-0.11.0\irrlicht-0.11.0\include\irrlicht.h"


After you do all this copy the code from the tutorial and compile and run.

Hope this helps, if you have question ask. Also note I am using Dev-Cpp 5 beta

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
quote:
Originally posted by cwc:
Ok Realm Master, did you get ICQ at http://www.ICQ.com by chance?
If so whats your number or id so I can add you. it would be best that I explain this to you over messenger so I don't have to write a whole tutorial. But to cut it short you can use the tuttorial that brandon gave you, you just have to change a few things.

you do not need them, all you need is

libIrrlicht.a

this file is located at

somewhere\irrlicht-0.11.0\irrlicht-0.11.0\lib\Win32-gcc


You do need to do this
[U]Add the "irrlicht-0.11.0\irrlicht-0.11.0\bin" directory from Step 1 to your PATH[/U]


no i didn't

what is my PATH? step 1 didn't mention aything about the bin directory...

can you elaborate?


------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
quote:
Originally posted by Realm Master:
no i didn't

what is my PATH? step 1 didn't mention aything about the bin directory...

can you elaborate?


Your Path is where your compiler looks for files, by defualt it will look into your windows/system32 folder. But you can also set your path variable. To set your path variable, it depends on what windows os you are running.
For 98-Me You open and modify the autoexec.bat file and for

Microsoft Windows NT, 2000, and XP


Choose Start, Settings, Control Panel, and double-click System. On Microsoft Windows NT, select the Environment tab; on Microsoft Windows 2000 select the Advanced tab and then Environment Variables. Look for "Path" in the User Variables and System Variables. If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables. A typical value for PATH is:
C:\Dev-Cpp\irrlicht-0.11.0\irrlicht-0.11.0\bin

Get ICQ, It will allow me to be able to help you better. And we can go through this step by step.

God bless

[This message has been edited by cwc (edited August 19, 2005).]

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
yes, step by step as i run upstairs and back down switching my computers from the one with internet connection to the one with C++ on it...

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
quote:
Originally posted by Realm Master:
yes, step by step as i run upstairs and back down switching my computers from the one with internet connection to the one with C++ on it...



Do you have MSN messenger then???

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
i have no internet connetction upstairs...

how do I get the ICU or IQU or whatever it is?

its better than nothing

------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
i have no internet connetction upstairs...
how do I get the ICU or IQU or whatever it is?

its better than nothing


Seems kinda like a smart remark to me ,(maybe I am wrong) but maybe its best you figure it out yourself("its simple"). For my time is valuable and I do not need remarks like "how do I get to ICU or IQU",("I think you know what I was saying"), if you can't even get that right, how do you expect me to explain to you how to set up a c++ graphic lib? Anyways, I wash my hands of this. God bless you and I wish you luck.


[This message has been edited by cwc (edited August 20, 2005).]

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
waht? it wasn;t a smart remark, i just forgot!
i didnt' mean to inslult you!

sorry!


------------------
(yes, i know im stupid)
God rules!

Blessed are those who show mercy.
They will be shown mercy. - Matthew 5:7

Blessed are those who suffer for doing what is right.
The kingdom of hevan bleongs to them.-Matthew 5:10

en972

Member

Posts: 562
From: NOT TELLING!
Registered: 08-27-2004
Realm...why didnt you e mail me? I could help you out..

------------------
Oh you program? Awsome! I try to get in a little....I spend most of my time debugging.

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
You did not insult me, I just took it as, you where not being serious.
Well, if you and en do not figure it out, just let me know, but before you let me know get ICQ so I can help you so I don't have to write a tutorial myself. Anyways, everything you need to do is here in this forum and the tutorial that brandon gave us.God bless