Sign in to follow this  
bxela1

Im bored of text!

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
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
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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this