• Advertisement
Sign in to follow this  

Im bored of text!

This topic is 4204 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been practicing text for what seems like centuries. I need to know what i should use for (i forgot the word but i mean pictures") and where i can get tutorials for it or i am gonna go insane

Share this post


Link to post
Share on other sites
Advertisement
Graphics, you mean? Well, there are a handful of libraries around, I'm personnaly a big fan of the graphics.cma O'Caml library.

Share this post


Link to post
Share on other sites
You should definately have a look at SDL. Very easy and quick for 2d gfx.

Share this post


Link to post
Share on other sites
Well for 2D, you have 2 options, 1 of which someone has already mentioned is SDL, the other is Allegro. Both are popular. Choose whichever one you like.

Share this post


Link to post
Share on other sites
Quote:
Original post by bxela1
Any ideas on how to install the libraries for SDL?


Try the tutorials for setting up and playing around with SDL here

Share this post


Link to post
Share on other sites
well my IDE got 13 errors from the 2nd tut.

It had stuff like:

SDL_Delay is referenced in SDL main





And the last error was a fatal one because of the unsettled errors or sumthing.

Share this post


Link to post
Share on other sites
Quote:
Original post by bxela1
well my IDE got 13 errors from the 2nd tut.

It had stuff like:

SDL_Delay is referenced in SDL main





And the last error was a fatal one because of the unsettled errors or sumthing.

You did download, install and then set your editor up for SDL didn't you? Only reason I ask is because from the time I said you could use SDL with VS to the time you got an error was less than 8 mins.

Share this post


Link to post
Share on other sites
i made the program 1 hour ago and i have done what the tut said to install.

Share this post


Link to post
Share on other sites
You have to link in the libraries.

Go under Tools->Options->Projects and Solutions->VC++ Directories. Under the selection box "Show Directories For", select "Library Files" and add the directory to which you installed SDL. There should be a folder in that directory called "Lib". This is the folder you want to add to the list. Type it in or browse for it.

Next, select Project->Properties->Linker->Input, and under Additional Dependencies, enter these items separated by a space: "SDL.lib SDLMain.lib"; if your reference material calls for others, add them as well. I'm not sure if there's anything else you need for the SDL library. You could alternatively do this right in your code with:
#pragma comment(lib, "SDL.lib")
#pragma comment(lib, "SDLMain.lib")

Simply add those before you include anything, at the top.

This should hopefully get you started [smile]

Share this post


Link to post
Share on other sites
Quote:
Original post by bxela1
IT WORKS!!!!!

You will quickly learn that v0dka is the bomb with alot of this stuff. Him and Zahlman(sp?).

Share this post


Link to post
Share on other sites
Quote:
Original post by -JetSirus-
Quote:
Original post by bxela1
IT WORKS!!!!!

You will quickly learn that v0dka is the bomb with alot of this stuff. Him and Zahlman(sp?).


(me == noob, compared to some around here. This just happens to be my summer break, so I have a lot of free time to help [smile]).

Share this post


Link to post
Share on other sites
Quote:
Original post by -JetSirus-
Quote:
Original post by bxela1
IT WORKS!!!!!

You will quickly learn that v0dka is the bomb with alot of this stuff. Him and Zahlman(sp?).


You forgot the benevolent and seemingly all-knowing Fruny.
Edit: And, you know, a whole bunch of other people too.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement