Game Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesGame Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old August 18th, 2006, 05:25 PM
lingon's Avatar
lingon lingon is offline
C++arl!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: Stockholm
Posts: 165 lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 5 h 59 m 35 sec
Reputation Power: 12
Exclamation Where to start?!?!

Hi all,
I'm intrested in making a simple game like tic-tac-toe or tetris (if that is indeed simple) but I dont know where to start. I would prefer to write in C++ but not VC++. Before ya all flame me, I did search google and read the stickies on this forum, but it seems there are almost only tuts for 3D games with OpenGL or such. Thats too difficult for me yet. So, does anyone know of a good tutorial for simple game development?
thx // lingon

Reply With Quote
  #2  
Old August 18th, 2006, 05:42 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,405 Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 1 h 29 m 8 sec
Reputation Power: 376
Quote:
Originally Posted by lingon
So, does anyone know of a good tutorial for simple game development?
thx // lingon


Gamedev.net is a good starting place for tutorials and a good forum for any sort of game developer.

How much of C++ do you currently know? Are you on linux or windows? Do you know any windowing APIs, for example Win32, MFC, GTK, QT?

Generally, after you learn C++ syntax, you either make console games. Or if you want to make a 2D game, you go through a similar process for 3D game. First, you need to be able to make GUIs, simple ones at least. Then, you need to learn a graphics API.

Reply With Quote
  #3  
Old August 19th, 2006, 04:09 AM
lingon's Avatar
lingon lingon is offline
C++arl!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: Stockholm
Posts: 165 lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 5 h 59 m 35 sec
Reputation Power: 12
Well, I used to know quiet a bit of C++ but then all of a sudden two years ago I just stopped programming and now I am beginning to pick it all up again, thats why I thought a game would be a good thing to do because a game usually contains many parts of programming. I have done some Win32 API hooking with quiet poor results. I was thinking of a 2D windows game but maybe console is the way to go. How do you make GUIs? An external library like DirectX or so?

Reply With Quote
  #4  
Old August 19th, 2006, 07:19 AM
KillerRabbit KillerRabbit is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Finland
Posts: 242 KillerRabbit User rank is Sergeant (500 - 2000 Reputation Level)KillerRabbit User rank is Sergeant (500 - 2000 Reputation Level)KillerRabbit User rank is Sergeant (500 - 2000 Reputation Level)KillerRabbit User rank is Sergeant (500 - 2000 Reputation Level)KillerRabbit User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 1 h 59 m 10 sec
Reputation Power: 14
GUI stands for Graphical User Interface, I think you have to include <windows.h> in C++ to make GUI's
Comments on this post
lingon agrees: Okay, thanks

Reply With Quote
  #5  
Old August 19th, 2006, 05:21 PM
lingon's Avatar
lingon lingon is offline
C++arl!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: Stockholm
Posts: 165 lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 5 h 59 m 35 sec
Reputation Power: 12
I am looking into using a library called SDL. Do you guys know if its any good?

Reply With Quote
  #6  
Old August 19th, 2006, 05:30 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,405 Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 1 h 29 m 8 sec
Reputation Power: 376
Quote:
Originally Posted by lingon
Well, I used to know quiet a bit of C++ but then all of a sudden two years ago I just stopped programming and now I am beginning to pick it all up again,


Was the C++ you learnt two years ago modern C++? STL, iterators, auto pointers, templates, are you familiar with them? Consider picking up a modern C++ book if you aren't.

Quote:
thats why I thought a game would be a good thing to do because a game usually contains many parts of programming. I have done some Win32 API hooking with quiet poor results. I was thinking of a 2D windows game but maybe console is the way to go.


You could make a game for practice. If you're only practicing C++, I suggest you do something first in console, so you avoid both GUI programming and graphics. After you dust off your C++ knowledge, then you can move ahead.

Quote:
How do you make GUIs? An external library like DirectX or so?


So you are using Windows right? There's a few options available to you. The most direct way is to use the Win32API. Well, in general you should download the Windows SDK and look through the API. It's effectively your way of manipulating the OS through C++. It also allows you to make windows and GUIs.

You could also learn something that sits on top of win32API. MFC and WTL (unofficial Microsoft contribution) allow you to make GUIs faster and easier, although I never got into them.

There are some open source toolkits that allow you to make GUIs. GTK, QT, wxWindows, and FLTK are possible choices. GTK and QT are well known. They are cross platform, used primarily in linux.

Each choice has its pros and cons. I recommend you understand how making win32API guis works, at a basic level. The reason is, you'll understand the message/event based programming that's a staple of GUI programming.

Finally, you might have to learn graphics. If you need complex 2D graphics, there's three choices available to you on windows. Windows GDI+ is the most basic. You most likely want to go the DirectX or OpenGL route, though. DirectX is actually a whole set of APIs for graphics, input, and sound.

DirectX reflects COM programming in C/C++. It can be very confusing at first, unless you are familiar with COM. OpenGL is graphics only, so you usually combine it with some other libraries for game programming. Don't ask openGL vs DirectX here. It's one of those questions that gets debated endlessly and your best hope is to get the facts through google.

Quote:
I am looking into using a library called SDL. Do you guys know if its any good?


SDL is a cross platform layer over audio, graphics, input, etc. It's pretty popular. The thing is, it's just a layer that allows you access to the different hardware devices. You still need to know what to do with them. For example, SDL works with OpenGL to give you access to the video card. But you still need to know OpenGL.

Reply With Quote
  #7  
Old August 20th, 2006, 02:36 PM
lingon's Avatar
lingon lingon is offline
C++arl!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: Stockholm
Posts: 165 lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 5 h 59 m 35 sec
Reputation Power: 12
Wow, thanks alot Oler1s, I can tell you know what you are talking about. I think I'll begin with dusting off my C++ skills and then look into Windows SDK.

EDIT: There seems to be quite alot of SDK for windows by microsoft. Wich one to use? :S

Reply With Quote
  #8  
Old August 20th, 2006, 04:03 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,405 Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 1 h 29 m 8 sec
Reputation Power: 376
Quote:
Originally Posted by lingon
There seems to be quite alot of SDK for windows by microsoft. Wich one to use? :S


I'm not sure I understand. What SDKs are you talking about? If you're working directly with win32, you'll want the Windows SDK. DirectX requires DirectX SDK. Other SDKs I mentioned are not by MS.

Reply With Quote
  #9  
Old August 21st, 2006, 04:40 AM
lingon's Avatar
lingon lingon is offline
C++arl!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: Stockholm
Posts: 165 lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 5 h 59 m 35 sec
Reputation Power: 12
Quote:
Originally Posted by Oler1s
I'm not sure I understand. What SDKs are you talking about? If you're working directly with win32, you'll want the Windows SDK. DirectX requires DirectX SDK. Other SDKs I mentioned are not by MS.
On this site they have listed alot of different SDKs and maybe I missunderstood this but wich one of these is the one to chose for making GUIs and later on graphics?

Reply With Quote
  #10  
Old August 21st, 2006, 08:52 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,405 Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level)Oler1s User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 1 h 29 m 8 sec
Reputation Power: 376
Quote:
Originally Posted by lingon
they have listed alot of different SDKs and maybe I missunderstood this but wich one of these is the one to chose for making GUIs and later on graphics?


In my post where I mention the different GUI and graphics options you have, I refer to two official Microsoft SDKs. The first is the Windows Platform SDK, the second is DirectX SDK.

Windows Platform SDK: Just look through the listings, and pick out the Windows Server 2003 Platform SDK. That's the latest.
DirectX: Straightforward here. DirectX SDK. Actually, the DirectX SDK is released monthly with updates. So currently it's the August 2006 DirectX SDK.

Be careful when you see something about redist. If you play DirectX games, you don't need to have the whole SDK installed. Just the appropriate supporting files. These are the Redist files, stuff that you can "redistribute" with your programs. You automatically get those files (obviously) if you download the SDK.

Reply With Quote
  #11  
Old August 22nd, 2006, 05:09 AM
lingon's Avatar
lingon lingon is offline
C++arl!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: Stockholm
Posts: 165 lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level)lingon User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 5 h 59 m 35 sec
Reputation Power: 12
Okay sweet, thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesGame Development > Where to start?!?!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |