School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,358 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,925 people online right now. Registration is fast and FREE... Join Now!




Soz if i kinda reask things

 

Soz if i kinda reask things

meneltour27

30 Jun, 2009 - 01:14 PM
Post #1

New D.I.C Head
*

Joined: 30 Jun, 2009
Posts: 22


My Contributions
I have searched the forum and found that i must not begin with a large game for start(well i didn't really thought of making star craft or anything XD) i wanted to make a simple game like a tic-tac-toe or a tetris or something like that...

Us i read i saw i needed to know very well a programming language like Java or c++ or c#

1st Does it help that i know C prety well (i am far from perfect of course).

2ond don't i have to learn a language like SQL ,PHP,HTML etc??

3rd Can you suggest any good books for learning C++ ,game programming etc.

4th any tips are wellcome

Thanks a lot


User is offlineProfile CardPM
+Quote Post


Kanvus

RE: Soz If I Kinda Reask Things

30 Jun, 2009 - 01:32 PM
Post #2

D.I.C Regular
Group Icon

Joined: 19 Feb, 2009
Posts: 451



Thanked: 39 times
Dream Kudos: 50
My Contributions
I'll just say what everyone else is about to, then some.

In games, C is the same as C++ except for one thing-- each character has its own bucket of data called a class. Shapes and blits will usually be inside structs.

As of today I haven't seen any C++ game programming book that was more helpful than a set of googled tutorials. I think I have all of them except any DirectX books. They've been overall terrible. The OpenGL books are good for the very basic and then the rest of it is supplying complicated advance code samples. It's not that they aren't chock-full of good things. It's just not realistic for someone starting out to learn from a book written by authors who've forgotten what it was like to be new. People who make tutorials are more attuned to beginners' demands because many of them are students themselves.

You don't have to learn any of those languages in 2nd. They're more like add-ons to a game. A database and registration page for distribution and patch downloads for updates to your game.

If I were you I would go look for the easiest possible things to try and build up from there. Like downloading Allegro devpak and install it into Dev-C then look at a simple step-by-step word-for-word tutorial on how to make a png image display in a window on the screen. From just that you've gotten the basic idea of bigger 2D libraries like SDL. The second step is to find out how to move the image around with the arrow keys on your keyboard. In my opinion, that's the perfect start.

http://www.loomsoft.net/resources/alltut/alltut_index.htm

This post has been edited by Kanvus: 30 Jun, 2009 - 01:34 PM
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: Soz If I Kinda Reask Things

30 Jun, 2009 - 01:43 PM
Post #3

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 2,905



Thanked: 165 times
Dream Kudos: 725
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
If you would like to learn C++ I would recommend a book that teaches you console programming, not Windows programming. Windows programming can take a little getting used to as it is event driven while console programming is procedural. What I mean is in a console program you control the action. In a Windows program you respond to the user's requests. If you have a good understand of C I don't think picking up C++ will be very hard. C++ is basically a superset of C, it adds in object-oriented features. The new features include inheritance and data encapsulation.
User is offlineProfile CardPM
+Quote Post

meneltour27

RE: Soz If I Kinda Reask Things

30 Jun, 2009 - 01:50 PM
Post #4

New D.I.C Head
*

Joined: 30 Jun, 2009
Posts: 22


My Contributions
ty for the fast reply and for the tips
User is offlineProfile CardPM
+Quote Post

Tom9729

RE: Soz If I Kinda Reask Things

30 Jun, 2009 - 01:58 PM
Post #5

Debian ninja
Group Icon

Joined: 30 Dec, 2007
Posts: 2,129



Thanked: 53 times
Dream Kudos: 425
My Contributions
You only need HTML + friends if you want to make a web game.

If you know C pretty well you should be able to pick up something like SDL and get started right away.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 07:37PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month