Awesome game Idea, need direction.

This is a discussion on Awesome game Idea, need direction. within the Game Programming forums, part of the General Programming Boards category; Why are you doing this to yourself? Really... why? You want or not to program your game? If you do, ...

  1. #16
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,383
    Why are you doing this to yourself? Really... why? You want or not to program your game? If you do, then stop doing this.

    Don't you think before you can create a game, you should learn about the programming language you are using?

    Don't do this. Learn C++ first. Then when you are pretty confident with it, download SDL (if that becomes your choice...) and learn about it. Then do your game.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #17
    Registered User
    Join Date
    May 2006
    Posts
    13
    uh, i didn't start my game, I'm learning SDL right now, and see if I have the knoledge to make a game, you see. If I don't, then I'll look up whatever I need to know, but one thing that I need to know is what I need to know exactly, because memorizing every single thing about C++ is difticult, definantly when you don't understand when to use it. So if you want to help me, don't just go "Don't do it" tell me what I should do exactly, not just "learn C++" but tell me what in C++. Tell me why and where I use it. I don't know where to use everything. Classes, when do I need to make a class, I can easily check how to, but I don't understand when. So if you want to help me, tell me either what to learn, where to learn it, where it should be, why it should be, and whatother things that can help me learn. I read it all, but I don't know where to put it! Now I don't know SDL, so I will learn that, and hopefully, I will know where to put it. But for now, my problem is that the lesson won't compile.

  3. #18
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,383
    You need to learn everything in C++. Yup. You heard me right. However, C++ is not a... how should I put this... long(?) language.

    Let's see... You have types, variables, functions, classes, templates, containers, arrays, interators, allocators, pointers, references, namespaces, exceptions, and streams. This pretty much sums it up from a bird's eye view. However, don't think to program a game without knowing all of this... sorry for bearing you the bad news.

    SDL is C++ library. You cannot "learn it" abstracting yourself from C++ knowledge. So, yeah... don't do it.

    Do what the FAQ tells you to do. Start small. Forget about SDL. You will quit out of frustration, otherwise. This is a good warning. Not meant in a bad way.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #19
    Registered User
    Join Date
    May 2006
    Posts
    13
    But I do know the stuff, but what I don't know is WHERE to use it, and the tutorials don't show me that too well.

  5. #20
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,383
    sigh. if you don't know where to use it, you don't know the "stuff"
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #21
    Registered User
    Join Date
    Apr 2006
    Posts
    132
    buy a good book... its pretty difficult to learn it all from online tutorials, they only teach the basics really.

    i have a learn in 21 days EBOOK if u would like it? and some others too. its pretty helpful and teaches alot of stuff u need to know.

    and it tells u WHERE to use things

  7. #22
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    It didn't tell me which lines are wrong, just those messages, I double clicked, didn't bring me anywhere.
    That means they're linker errors. I bet you didn't like with libSDLmain.a. When you compile an SDL program under windows you need to like with libSDL.a and libSDLmain.a (with -lSDL and -lSDLmain under linker options).
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  8. #23
    Registered User
    Join Date
    May 2006
    Posts
    13
    a book does sound like a good idea, would I get a book maybe from amazon? what are some good books?

  9. #24
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498
    Here:

    http://tassadar.physics.auth.gr/~cha...php?key=opengl

    Have fun

    (Please note that the kernal is being reinstalled (I think). So you may have to wait a couple of days before the link works.)

  10. #25
    Registered User
    Join Date
    Apr 2006
    Posts
    132
    OUT

    i have a few books i could send you. u open them with Adobe reader, or any other reader you have on your PC.

    they r helping me a hell of a lot.

    they start from the beginning right through to some advanced stuff.

  11. #26
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    SDL SDL SDL.

    Ick. The more threads about it, the more I dislike. Do yourselves a favor and dump SDL and go either pure OGL or pure D3D. Get some books, code, and you are on your way. You'll look back at SDL like....ick.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mouse Maze Problem
    By Furbiesandbeans in forum C++ Programming
    Replies: 13
    Last Post: 04-28-2008, 04:20 PM
  2. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 12:32 PM
  3. Engine <=> DX/OGL | c++ ?
    By darkcloud in forum Game Programming
    Replies: 6
    Last Post: 05-13-2005, 12:19 AM
  4. i need an idea for a first major game
    By revelation437 in forum Game Programming
    Replies: 10
    Last Post: 09-26-2003, 02:32 PM
  5. My Memory Game
    By jazy921 in forum C Programming
    Replies: 0
    Last Post: 05-05-2003, 05:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21