Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Game programming language (not engine one) question

  1. #1
    newn is offline Newbie
    Join Date
    Jan 2008
    Posts
    11
    Rep Power
    0

    Game programming language (not engine one) question

    Hi everyone,
    i was peacefully learning c++ when my friend asked me what i'm doing. Then he tried to convince me to learn other languages, for example Java or C# after i told him, that i have no intention making engines.
    So, my question is: What languages are used to create games mostly? I mean big games, not mario or tetris. And i mean PC games, not console ones, not Unix, but Windows based games, because i'm confused what to learn - finish C++ book and go for another language, continue learning C++ or drop C++ and go for another language now. I have no intention writing engines like ogre or something like that.
    Thanks for advices and answers.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Sep 2007
    Location
    Karlstad, Sweden
    Posts
    3,082
    Blog Entries
    7
    Rep Power
    42

    Re: Game programming language (not engine one) question

    You could use any language that has access to the Windows API and DirectX, more or less. C++, C#, VB/VB.NET, Delphi and more...

    What is most used for games, I don't know.
    __________________________________________
    I study Information Systems at Karlstad University when I'm not on CodeCall

  4. #3
    newn is offline Newbie
    Join Date
    Jan 2008
    Posts
    11
    Rep Power
    0

    Re: Game programming language (not engine one) question

    Yea, i know i can use them all, that's why i asked that question.

  5. #4
    Join Date
    Jul 2006
    Posts
    16,494
    Blog Entries
    75
    Rep Power
    143

    Re: Game programming language (not engine one) question

    Most professional games are programmed in C or C++.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    newn is offline Newbie
    Join Date
    Jan 2008
    Posts
    11
    Rep Power
    0

    Re: Game programming language (not engine one) question

    Yes, thanks for your answer, that's what i thought. That means i don't need Java or C# as my friend told me. He told me, that those languages are much faster and better and easier and used as much, as C++ in PC games programming world.

  7. #6
    so1i's Avatar
    so1i is offline Programming Professional
    Join Date
    Sep 2009
    Location
    Aberystwyth, United Kingdom
    Posts
    309
    Rep Power
    0

    Re: Game programming language (not engine one) question

    Quote Originally Posted by newn View Post
    Yes, thanks for your answer, that's what i thought. That means i don't need Java or C# as my friend told me. He told me, that those languages are much faster and better and easier and used as much, as C++ in PC games programming world.
    C#, while faster than VB.NET, is not as fast as C++, so noticeable in games. Java is used a lot for making browser based games, but for a lot of PC games, C++ is the choice. Along with something such as the OpenGL Graphics API.

  8. #7
    newn is offline Newbie
    Join Date
    Jan 2008
    Posts
    11
    Rep Power
    0

    Re: Game programming language (not engine one) question

    So1i, thanks for a very informative answer. That means i don't need to move to another language, which is good.
    Another question, just adding to APIs:
    Right now i'm reading a book called 'C++ for dummies, 5th edition'. Borrowed that one from my friend. Here's the content of the book:
    Chapter 1: Writing Your First C++ Program
    Chapter 2: Declaring Variables Constantly
    Chapter 3: Performing Mathematical Operations
    Chapter 4: Performing Logical Operations
    Chapter 5: Controlling Program Flow
    Chapter 6: Creating Functions
    Chapter 7: Storing Sequences in Arrays
    Chapter 8: Taking a First Look at C++ Pointers
    Chapter 9: Taking a Second Look at C++ Pointers
    Chapter 10: Debugging C++
    Chapter 11: Examining Object-Oriented Programming
    Chapter 12: Adding Class to C++
    Chapter 13: Making Classes Work
    Chapter 14: Point and Stare at Objects
    Chapter 15: Protecting Members: Do Not Disturb
    Chapter 16: “Why Do You Build Me Up, Just to Tear Me Down, Baby?”
    Chapter 17: Making Constructive Arguments
    Chapter 18: Copying the Copy Copy Copy Constructor
    Chapter 19: Static Members: Can Fabric Softener Help?
    Chapter 20: Inheriting a Class
    Chapter 21: Examining Virtual Member Functions: Are They for Real?
    Chapter 22: Factoring Classes
    Chapter 23: A New Assignment Operator, Should You Decide to Accept It
    Chapter 24: Using Stream I/O
    Chapter 25: Handling Errors — Exceptions
    Chapter 26: Inheriting Multiple Inheritance
    Chapter 27: Tempting C++ Templates
    Chapter 28: Standardizing on the Standard Template Library
    Do you think it'll be enough information to start creating some kind of game after that? I mean Tic Tac Toe or Tetris or Mario. Or i still need to take another course of some other stuff... I know i have to learn DirectX or OpenGL after that (somehow i think DirectX is better for no reason).

  9. #8
    Join Date
    Sep 2007
    Location
    Karlstad, Sweden
    Posts
    3,082
    Blog Entries
    7
    Rep Power
    42

    Re: Game programming language (not engine one) question

    Well, yes, if you know how to handle all about that, you can start with those kind of games, but, 1) I can't see any graphical programming there, so that is absolutely needed to know more of. 2) the level of information in the dummies series isn't too deep. I assume you need to go at least one or two levels deeper before doing some small games

    "For dummies" -> Beginners -> Intermediate might be a good one...
    __________________________________________
    I study Information Systems at Karlstad University when I'm not on CodeCall

  10. #9
    Join Date
    Jul 2006
    Posts
    16,494
    Blog Entries
    75
    Rep Power
    143

    Re: Game programming language (not engine one) question

    Just so you know, there are two definitions for a language being "faster". There's "faster execution" and "faster coding". C# and VB.net generally take less time to get the same effect, but will generally not run as quickly, either.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  11. #10
    newn is offline Newbie
    Join Date
    Jan 2008
    Posts
    11
    Rep Power
    0

    Re: Game programming language (not engine one) question

    Well, my friend does not have any advanced books. Maybe you know any recommended books after this one? I mean for beginners and intermediates.

Closed Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question about which programming language to use..???
    By webs110733 in forum General Programming
    Replies: 2
    Last Post: 10-20-2010, 08:11 PM
  2. Game Programming Language
    By H2O Pure in forum General Programming
    Replies: 6
    Last Post: 05-23-2010, 05:24 AM
  3. Another which programming language question :)
    By docesam in forum General Programming
    Replies: 7
    Last Post: 05-16-2010, 01:35 AM
  4. Game Design: Which Programming Language First?
    By ahnoldschwarz in forum General Programming
    Replies: 11
    Last Post: 12-10-2008, 04:45 PM
  5. a question about game programming
    By feariel in forum C and C++
    Replies: 8
    Last Post: 12-05-2007, 03:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts