LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-03-2007, 07:17 PM   #1
Jorophose
Member
 
Registered: Oct 2006
Location: Ontario, Canada
Distribution: Xubuntu 6.06!! =D
Posts: 137

Rep: Reputation: 15
I've always wondered how video-games work


Hey guys.

I just wanted to get down on the insides of them. Not really build one myself (Exams are coming) but I just wanted to know if there's like a site out there explaining them.

I've heard talk of engines. Are they basicly telling the game what to do? Or do they just throw out random numbers and another program attempts to interpret it and makes something out of it?

If it matters what the game is created with, OpenGL-related info would be the best thing. I'm not interested to ever use DirectX, and I don't know about any others...

Eventually I want to start making games. I have my plans to make one, a very interesting one, but I don't know anything about making games, so that's being put away. I want to make something simple first, like Tetris. And then move up the ladder, until I feel ready to launch the project I have in mind.

Also, is RPGToolkit available for linux?
They have the source code, would I be able to compile it and run it?

Cheers,
Joro.
 
Old 01-04-2007, 01:19 AM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
check wikipedia.org to read about game engines: http://en.wikipedia.org/wiki/Game_engine

'games' arent magical things on a computer. its a software program just like your web browser, however the task of the 'game' is a little different than displaying websites.

what programming languages do you know? first thing to do i think is would to build up solid skills in the language you want to make your game in.
 
Old 01-04-2007, 10:19 AM   #3
Jorophose
Member
 
Registered: Oct 2006
Location: Ontario, Canada
Distribution: Xubuntu 6.06!! =D
Posts: 137

Original Poster
Rep: Reputation: 15
None to be honest. I'm still learning. Are all the programming languages entirely flexible, or are they each specialised for something?

I realise they're just like browsers, but I'm no software expert.

Thanks for the link, though.
 
Old 01-04-2007, 10:44 AM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
Short answer: Not all languages are the same.

Long answer:
All general purpose programming languages are Turing complete, which means any problem that can be solved mathematically can be solved by the computer. Malboge, is more-or-less Turing complete, but impossible to program in. Java has bondage-and-discipline syntax rules to help prevent common mistakes, but some problems are much harder than need be. C and C++ don't have such rules and can manipulate the machine more directly, but to some extent tied to the machine's capabilities and various machine incompatibilities. Perl has very loose syntax, it will accept lots of strictly incorrect syntax and Do What I Mean (DWIM). It can backfire on you, though.

So, on the flexibilty scale, Malboge < Java < C < C++ < Perl.
 
Old 01-04-2007, 01:18 PM   #5
Jorophose
Member
 
Registered: Oct 2006
Location: Ontario, Canada
Distribution: Xubuntu 6.06!! =D
Posts: 137

Original Poster
Rep: Reputation: 15
Thanks tuxdev.

That means I've got some reading to do ;P
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Video Games Hero rvijay General 2 01-29-2006 06:48 PM
Games support: will my 3D games work on Linux OS? COOLER_KING Linux - Newbie 2 03-25-2004 09:50 PM
Video games Squall General 44 02-22-2004 10:12 PM
wondered why fortune is not there in fedora or recent rh release? phoe6 Red Hat 1 02-05-2004 10:13 AM
ever wondered why windows is more popular funkytaz10 General 3 09-15-2003 08:42 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration