Thread: Total beginner, need extreme help

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    13

    Question Total beginner, need extreme help

    I was thinking about making a graphical game. A 2 player game, with no AI to make it easier to make. Both players are in ships, facing eachother on opposite ends, facing vertically, with room at the bottom for the score. You basicly shoot at eachother while moving side to side dodging the other players shot. And you guessed it, I am clueless. I did make a simple game, non graphical, with Dev C++, the free compiler, for I have no extra money to spend, and I made a guess the number game, an adlib, and a blackjack game, tho the code for each one is not complex at all, not even the blackjack one, I had to write A LOT of code for it. Now I'm thinking of making this game. I cannot take classes in programming, for I'm too young, and I cannot understand much without explanation. So I downloaded snaker from this website, and I looked at the code and OMG. I got lost in the confusion. What I need is some kind person to take me under their wing and explain how to draw the characters, and scores and such, and either explain everthing very well, or tell me the most simple, yet long way of doing it. I am limited to Dev-C++ or anyother free compiler. Please help me, I don't even know where to start. If you want me to, I can send you both my Fear Facter madlib, and/or my blackjack game, so you can see how much I know now. Or if you don't have the time to help me, please point me somewhere where I can get free help on this.

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    903
    Read this: http://code-dynasty.net/articles/C_A...0interface%20?

    It's out of the FAQ I wrote for another website.

    I would suggest you to use SDL or Allegro to make your game. They are both good libraries for making 2D / semi 3D games -- although you can use SDL's built-in support for OGL.

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    725
    Moving from text-based to GUI-based programming is never easy. I suggest you work on something simpler first, like Pong (an AI is easy), Brick/Paddle/Blocks/whatever-they-call-it (no AI at all), or Snake (try implementing the movement engine).

    We can't give you free lessons; we have lives too you know. We can help you with specific problems, but you learn best by learning things yourself.
    Code:
    #include <stdio.h>
    
    void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){
    puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9
    /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i]
    ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][
    t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}

  4. #4
    Registered User
    Join Date
    Dec 2003
    Posts
    50

    Wink

    Quote Originally Posted by OUTOFANSER
    I am limited to Dev-C++ or anyother free compiler. Please help me, I don't even know where to start.

    Or if you don't have the time to help me, please point me somewhere where I can get free help on this.
    Hi,

    If you have C and C++ coding experience with Dev-C++, Allegro might be worth checking out.

    To use Allegro with Dev-C++, get the DevPaks are from here:
    http://devpaks.org/category.php?category=Allegro


    Once you have the Allegro DevPaks installed, you might want to read these basic tutorials.
    http://www.loomsoft.net/resources/al...ltut_index.htm

    If you have any questions about using Allegro, this is the forum.
    http://www.allegro.cc/forums/

    Hope this helps.

    Best Regards,
    Yeoh
    --

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with day of the week program
    By Punkakitty in forum C++ Programming
    Replies: 10
    Last Post: 01-14-2009, 06:55 PM
  2. Replies: 8
    Last Post: 11-03-2008, 09:48 PM
  3. long problem
    By loko in forum C Programming
    Replies: 28
    Last Post: 07-22-2005, 09:38 AM
  4. The Timing is incorret
    By Drew in forum C++ Programming
    Replies: 5
    Last Post: 08-28-2003, 04:57 PM
  5. Replies: 4
    Last Post: 04-22-2003, 12:52 PM