OR REGISTER
Register    FAQ    Search


Reply to topic  [ 4 posts ] 
Author Message
 Post subject: The Computer/Programming Questions thread
PostPosted: Mon Nov 01, 2010 5:57 pm 
Moderator
Moderator
User avatar

Joined: Mon Mar 29, 2010 7:32 pm
Posts: 2829
Location: Louisiana, U.S.
I'm about to get a book on C++ programming (quite excited) and on amazon, one of the pages scanned showed this:
Attachment:
1.jpg
1.jpg [ 8.28 KiB | Viewed 642 times ]


1. I assumed that a text document was converted to (eventually) an .exe file, but the text doc was still needed. But I've been trying to find the actual codes for Plants Vs Zombies, BattleDex, and Peggle (the 3 games on my laptop) but can't find any of them, so is it maybe that the text doc is converted into the .exe file, which only uses itself?

2. I've never heard of most of these file types and I want to learn so what are these files?: .dll .bar .dat .log .pak .xml

_________________
Living goes by fast, catch your breath and it'll pass you by. And it won't last to sulk in the memories you hold.


Top
 OfflineProfile  
 Post subject: Re: The Computer/Programming Questions thread
PostPosted: Mon Nov 01, 2010 9:56 pm 
User avatar

Joined: Sun Jan 10, 2010 7:15 pm
Posts: 575
The source code for a game is in many hundreds or even thousands of source code files. The code is compiled into an .exe that is distributed to the user. Most game developers won't just give you the source code, because then you could copy it and turn it into your own game and sell it.

If you are serious about looking at game source code, you should browse a list of "open source" games:

http://en.wikipedia.org/wiki/List_of_op ... ideo_games

The open source community consists of people who believe in sharing source code and giving software away for free - software like Firefox, BitTorrent, Linux, and the software that powers this forum are open source.

You can probably get started by studying the source code in some open source games, following some online tutorials, and getting a student copy of Visual Studio Express.


Top
 OfflineProfile  
 Post subject: Re: The Computer/Programming Questions thread
PostPosted: Tue Nov 02, 2010 3:07 am 
Battle Dex Testing Team
Battle Dex Testing Team
User avatar

Joined: Sun Apr 18, 2010 1:32 am
Posts: 1271
Location: Slovakia
Source codes of games should be pretty complicated. When looking at your question, I see you are just starting. You should start with something simpler :) .

_________________
"Are you guys doing that stupid facebook stuff again? Why are you guys in here wasting your time? We are supposed to be out playing videogames." - Stan Marsh


Top
 OfflineProfile  
 Post subject: Re: The Computer/Programming Questions thread
PostPosted: Tue Nov 02, 2010 4:59 am 
Moderator
Moderator
User avatar

Joined: Fri Apr 23, 2010 6:13 pm
Posts: 988
With my programming class we did it this way with java applets at least:
started with simply showing a window, then added some buttons to e.g. change colour or something.
then a simple button and a text window
then tic-tac-toe
that should keep u busy some days :)

_________________
"You're fine. Next time just don't stop their attacks with your face. - Effit"
Hardstyle 'till I die! You make this shit go down you are DECIBEL!


Top
 OfflineProfile  
Display posts from previous:  Sort by  
Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

©2009 Bandera Games LLC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group