oops meant computers haha =[[
Type: Posts; User: JOsephPataki
oops meant computers haha =[[
where can i get some more source to learn classes? I checked the tutorial here and I only found a small one on circles. I need to learn these things as I hear they will be very useful. thx
great, cut it down to 300k. I've finished everything I wanted to in this game. I think I will make all of these easy games, TTT(already done), connect 4, snake and others. I'll make a new game as...
heh, I just noticed that the library I downloaded to support PNG, also supports JPEG. That was the original format I downloaded it in and it was only 126k originally..
I got it to compile on release build, but the exe still takes up the same amount of space (96k)
I just set active configuration to release and it gives me 2 errors that I don't have in debug. It says it can't find a semicolon in SDL_image.h, but I see the line it points to and it does have a...
I noticed my tic-tac-toe game was 700k+ when zipped. It was due to my background bmp which was 900k alone. So I went to libsdl.org and found SDL_image.lib which adds in support for png files. I...
Can someone give me some inmfo dealing with copy rights.
I just made a game(first graphical game) in sdl. Now for my background I used a wallpaper created at a site(not mine). This site charges...
also does anyone have a link to some open source that uses sprites with just :(
What will I need to know them for? I was really planning on learning them eventually, but I just got so excited that I finally got to do graphics. I really dont want to do c++ right now =P
So someone showed me this link.
http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/index
I do tutorials 1 and 2. Then I get ready for tutorial number 3...
ok i got it, it was the differences in the declaring main. I guess I have to have
int argc, char *argv[], in my main from now on.
I guess I will close down this thread now.
ahhhhhhhhhhhhhhhhhhhh my dream jsut became a nightmare!!!!!!!!!
#include "SDL.h"
int main( int argc, char* argv[] )
{
// Body of the program goes here.
return 0;
}
heh, I had actually given up. I was looking how I would use SDL with DevC++ when I saw a post in the libsdl.org newsgroup with the same error as mine. I read this:
"The linker is looking for the...
I found the real VisualC.zip I was looking for. It had the SDL.dsw. I compiled the 2 projects, and found the files in their debug folders. SDL.dll, SDL.lib, SDLmain.lib. I delete the files in my...
Well I didn't have anywhere else to turn, so i came here. I dont know how many people here have actually worked with SDL, but I'm hoping there are a few of you out there that can help me.
I...
Ok I just had an idea on how I would defeat this problem. I would start at 0,0. Then I will check which direction(s) I can move to and move to all possibilities. From each of these new spaces I...
I think the reason why it skips is because c = getchar(); line
is getting the enter you push after type in the age.
I just compiled your program and if you enter in the line
c=getchar();
twice...
Can someone help me with this function. I had it semi-working earlier. It could navigate certain obstacles. But the way I had it going was it would go right,down,left, then up is last resort. If...
Thanks for that, but now I am stuck again.
I've created a little pocket of obstacles at 6,1 6,2 and 7,2
0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 0
0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0
Right now I'm just...
Hi I'm trying to teach myself cprogramming. I'm a couple of chapters past recursive and decided to go back and see if I can do this problem from the end of that chapter. This is what I have so far....
Change
scanf("%c",&operator);
to
scanf(" %c",&operator);
I forgot the reason why you do that, but I remember a teacher telling me to do this in a class a few years back. I think its because...
Ok I tried to add in what you said to do.
With what I came up with I think it can't read the space between the weight and the next name.
I came up with this:
while(fgets(buff, sizeof...
Well.. I know how to read in the lines, I meant how will I check if I reach end of file with the new way? I don't understand how I can use the fgets to check if I'm at end of file if I will now need...
This actually isn't for homework, more of trying to teach myself how to program kind of thing...
Well I used what you gave me and it worked perfectly now, but how would I be able to convert what...