• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 05:54
CET 11:54
KST 19:54
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets0$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)12Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1822
StarCraft 2
General
SC2 Spotted on the EWC 2026 list? Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns Spontaneous hotkey change zerg Chinese SC2 server to reopen; live all-star event in Hangzhou
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
Potential ASL qualifier breakthroughs? BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest Data analysis on 70 million replays
Tourneys
[Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10 SLON Grand Finals – Season 2
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Beyond All Reason Nintendo Switch Thread Awesome Games Done Quick 2026! Mechabellum Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1336 users

New TL KnowHow Article: Game Programming - Page 2

Blogs > CecilSunkure
Post a Reply
Prev 1 2 3 Next All
Snuggles
Profile Blog Joined May 2010
United States1865 Posts
October 24 2012 15:22 GMT
#21
Being a CS student myself I'm looking forward to this article. I've always wondered how the hell programmers create huge games from just pages of code and what not. I've written small simple programs that you supposedly could call a game however it's nothing on the scale of broodwar or even super mario for that matter lol.
Zaranth
Profile Blog Joined June 2011
United States345 Posts
October 24 2012 15:22 GMT
#22
Looks like a great article, I will be very interested in reading it! thanks!
Maker of Cheerfuls @eZaranth
Yorbon
Profile Joined December 2011
Netherlands4272 Posts
October 24 2012 15:57 GMT
#23
I'm doing little bits of programming in college with multiple languages. I do think i have some (very) basic understanding of those languages, so i'm very looking forward to this. This might give me some inspiration for my own programming assignments.
Deleted User 135096
Profile Blog Joined December 2010
3624 Posts
October 24 2012 16:14 GMT
#24
So this is where you've been hiding Cecil? As someone who did a very brief foray into pseudo-programming (AS3) I would be very interested to see how this article turns out, and what it discusses.

Also, that ToC formatting looks strikingly familiar to something I've seen before.
Administrator
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
October 24 2012 16:41 GMT
#25
looking forward to it!
Please send me a PM of any song you like that I most probably never heard of! I am looking for people to chat about writing and producing music | https://www.youtube.com/watch?v=noD-bsOcxuU |
Weebem-Na
Profile Joined May 2010
United States221 Posts
October 24 2012 18:32 GMT
#26
I can already tell this is going to be my favorite tl know how, awesome idea!
The reaction of boron-11 and plain hydrogen produces all its energy in the form of charged particles which can be directed by a magnetic field, but the reaction is very difficult to sustain and many fusion physicists doubt it will ever prove practical
inn5013orecl
Profile Blog Joined March 2010
United States227 Posts
October 24 2012 19:06 GMT
#27
Like others before me. C++ pretty ambitious and interesting choice for programming language to use to teach game programming. Granted a lot of big companies are still using it, most are making the switch to Java or C# (if they use non-proprietary game engines). That being said, C++ one of the most powerful languages out there, and if you know what you're doing, runs faster than Java, Python, and all scripting languages. I have a bit of knowledge of game programming and design concepts, but can definitely look to learn more. I will be following this. Good luck!
i live with a korean who doesnt play sc...wtf
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
Last Edited: 2012-10-24 19:24:25
October 24 2012 19:23 GMT
#28
On October 25 2012 04:06 inn5013orecl wrote:
Like others before me. C++ pretty ambitious and interesting choice for programming language to use to teach game programming. Granted a lot of big companies are still using it, most are making the switch to Java or C# (if they use non-proprietary game engines). That being said, C++ one of the most powerful languages out there, and if you know what you're doing, runs faster than Java, Python, and all scripting languages. I have a bit of knowledge of game programming and design concepts, but can definitely look to learn more. I will be following this. Good luck!

For high end games, C++ definitely is still one of the best languages, and likely will stay that way until fast inherently parallel languages are established. Which might still take a while.

But a beginner can't make good use the strengths of C++ for such cases (he won't be writing a high end game anyways), and will most likely run into problems with the disadvantages of C++. There's a lot of problems to be expected when it comes to C++ memory management, especially if you lack understanding of RAII. Pointer magic also seems to be unreasonably attractive to beginners (been there, done that, seen it from countless people).

Languages like C# and Java just force you into not comitting these kinds of mistakes, and they are easily powerful and fast enough for almost any kind of low budget games.


On the plus side: Once you are good with C++, any procedural language is a piece of cake. Well maybe not the esoteric ones.
If you have a good reason to disagree with the above, please tell me. Thank you.
Lorizean
Profile Blog Joined March 2011
Germany1330 Posts
October 24 2012 19:41 GMT
#29
Just wondering, are you gonna be using libraries like SFML or do you intend to do explain everything from ground up?
And are you going to cover cross-platform compatibility as well?

I think C++ is a good choice, it is my favourite language anyways

Looking forward to this.
Logo
Profile Blog Joined April 2010
United States7542 Posts
Last Edited: 2012-10-24 19:47:48
October 24 2012 19:46 GMT
#30
On October 25 2012 04:23 spinesheath wrote:
Show nested quote +
On October 25 2012 04:06 inn5013orecl wrote:
Like others before me. C++ pretty ambitious and interesting choice for programming language to use to teach game programming. Granted a lot of big companies are still using it, most are making the switch to Java or C# (if they use non-proprietary game engines). That being said, C++ one of the most powerful languages out there, and if you know what you're doing, runs faster than Java, Python, and all scripting languages. I have a bit of knowledge of game programming and design concepts, but can definitely look to learn more. I will be following this. Good luck!

For high end games, C++ definitely is still one of the best languages, and likely will stay that way until fast inherently parallel languages are established. Which might still take a while.

But a beginner can't make good use the strengths of C++ for such cases (he won't be writing a high end game anyways), and will most likely run into problems with the disadvantages of C++. There's a lot of problems to be expected when it comes to C++ memory management, especially if you lack understanding of RAII. Pointer magic also seems to be unreasonably attractive to beginners (been there, done that, seen it from countless people).

Languages like C# and Java just force you into not comitting these kinds of mistakes, and they are easily powerful and fast enough for almost any kind of low budget games.


On the plus side: Once you are good with C++, any procedural language is a piece of cake. Well maybe not the esoteric ones.


Yeah I agree with this, there's just no reason to really invest into C++ unless you are interested in working on more advanced 3d graphics and/or CPU heavy games (or want to be a career programmer as C++'s concepts are important to understanding how things work in managed languages)..

When you look at indie games that are on C++ and need to be there it's a short list of things like Dwarf Fortress and complex 3d games. Even games as complete and competitive as Minecraft can avoid using C++.

Not that it makes the article any less useful or anything.
Logo
czaku
Profile Joined June 2011
Poland429 Posts
October 24 2012 20:34 GMT
#31
Wow, subscribing, i know basics of c++ (like i made a program calculating harmonic series sum of given n). Hope it helps me extend my skills!
y0su
Profile Blog Joined September 2011
Finland7871 Posts
October 24 2012 20:58 GMT
#32
As I'm about to start a programming course... timing couldn't be better :D
ClysmiC
Profile Blog Joined December 2010
United States2192 Posts
October 24 2012 21:58 GMT
#33
Oh yes, this article-to-be sounds very interesting
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
October 24 2012 22:37 GMT
#34
On October 25 2012 04:41 Lorizean wrote:
Just wondering, are you gonna be using libraries like SFML or do you intend to do explain everything from ground up?
And are you going to cover cross-platform compatibility as well?

I think C++ is a good choice, it is my favourite language anyways

Looking forward to this.

It's not a comprehensive article from the ground up with code examples everywhere to show how it's done. I don't have the time to write an entire novel

Instead many of the topics are explained from a high-level point of view in order to provide the reader a clear sense of how an entire game project may look like.

As for all the people saying C++ is ambitious, I don't really agree. Being afraid of memory management and pointers isn't something I feel a professional software engineer (especially one that wants to work on game development) should ever be afraid of. Starting to learn by running straight into both C and C++, I feel, are great ways to build a strong programming foundation. Though I do specialize in C++ and my experience come from there, the article talks a lot about architecture and concepts and ideas that aren't language specific.
Sega92
Profile Blog Joined November 2010
United States467 Posts
October 25 2012 01:07 GMT
#35
oh you tease you NEED MOAR!!!

i love all kinds of programming and am always eager to read what better minds have to say on the subject
Bobbias
Profile Blog Joined March 2008
Canada1373 Posts
October 25 2012 02:03 GMT
#36
On the subject of C#/Java vs C++:

I would say that C++ may require learning more of the language itself before you get to a point where you can comfortably create something a bit larger than the usual starter programs, but when you get to that point, you may have a better grasp of overall programming concepts than someone who just jumps into C#/Java.

I started off learning C++, and moved to Java and C# later on. I'm thankful I learned some C++ to begin because although it was a bit harder for me to understand at first (I was 14 when I started learning C++); the understanding of what a pointer was and how they worked really made it easier to understand some of the inner workings of C# and Java and gave me a better overall view of things in the first place.

One of the aspects that nobody mentioned yet is that C# and Java don't have all the libraries that C++ has. There are certainly some ports, but sometimes the ports may be relatively different from the C++ port, may be unfinished, or may require some.... interesting... code to interface with it (example: calling unmanaged functions from C#, specifically, ones involving pointers and such). C++ has an extremely mature set of libraries for damn near anything you would ever want.

All in all, I think that the only barrier to applying knowledge from one programming language to another is how well a person truly understands something. If you truly understand what is being done, there is no reason you should have much trouble doing it in another language. Learning one language shouldn't suddenly make you only program in that language. I've dabbled in Python, PHP, Assembly, C#, Java, Turing (lol), Haskell, and VB... I'm also currently learning to design hardware in VHDL... I have little trouble switching between languages once I learn the syntax of the language I'm working in. After that, the only stuff you really need to learn is little stuff (say the language you're learning is strongly typed, and you came from a weakly typed language, and suddenly you need to learn how to convert between types.... that is pretty minor compared to learning what a for loop is.)

The sort of thing I'd like to see in a TL-Knowhow on programming a game is more generalized things like structural approaches, how to create a decent resource management system, maybe how and where to integrate pathfinding, and other architectural design stuff. I know that stuff is rather advanced for the topic of creating a game, but there are very few articles covering things like that while also dealing with actual code, and sometimes it's nice to see a slightly more concrete implementation of a generalized idea.
imJealous
Profile Joined July 2010
United States1382 Posts
October 25 2012 03:08 GMT
#37
Can't wait to check this out
... In life very little goes right. "Right" meaning the way one expected and the way one wanted it. One has no right to want or expect anything.
imPermanenCe
Profile Joined July 2011
Netherlands595 Posts
Last Edited: 2012-10-25 09:26:47
October 25 2012 09:25 GMT
#38
My take on C#/Java vs C++:

I myself have learned C#, together with the XNA engine it's really easy to make games. In C# you don't have to understand what's under the hood, you can just focus on making a game/program.

Whereas with C++ you have to take care of multiple things yourself, such as garbage collection (removing pointers that aren't reachable anymore etc.).

So, as people have said before, when you want to make simple games that don't require much resources (CPU/Memory) C# is the better one to use. But if you're working on really big games (such as game companies do), you want to optimize your game as much as possible. And this can only be done (properly) with C++.

I don't know how in depth this guide is, but can't most things be explained in pseudo code? In that case there shouldn't be too much difference between a C++ and C#/Java background. Although, some concepts may be very much related to the programming language you're using, such as making a game engine.
Micro at its best is like an elegant dance between two people trying to achieve a similar end.
Rollin
Profile Joined March 2011
Australia1552 Posts
Last Edited: 2012-10-25 14:44:00
October 25 2012 14:40 GMT
#39
Well I have a fair bit of C understanding, and I was going to be working as best I could this summer break (winter for you americans) on a joint C++ project with some people over the internet, so this will be invaluable.

Looks amazing, although it would probably be geared at people that have some prior experience with programming already, no? Seems kinda like a split between gamemaking / intro to programming article to me (but I'm not complaining).

On October 25 2012 11:03 Bobbias wrote:
I'm also currently learning to design hardware in VHDL...

Um what exactly do you use that for, I'm curious. I had to do a unit with it, and it seemed rather esoteric and not really useful outside of designing your own chips (not practical outside of large scale).
Throw off those chains of reason, and your prison disappears. | Check your posting frequency timeline: http://www.teamliquid.net/mytlnet/post_activity_img.php
Vronti
Profile Blog Joined August 2011
United States111 Posts
October 25 2012 21:37 GMT
#40
Don't have the experience to really debate C++ vs C#/Java, but as a sophomore computer engineering student I've only worked with C++ so far and really enjoyed developing a few small games in it. Starting with the lowest level (and the language I'll probably be using as a career programmer) is slow yeah but I'm really starting to understand it, and I think I'll be able to apply the knowledge more readily to other languages etc.

Looking forward to this! Glad to have insight from someone who's had some experience.
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest." — Confucius
Prev 1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 1h 6m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 134
Rex 10
StarCraft: Brood War
Rain 7725
Sea 4343
Horang2 1294
Shuttle 789
Hyuk 625
Mini 490
Stork 377
ZerO 304
actioN 285
Larva 253
[ Show more ]
Soma 186
Leta 175
Mong 162
EffOrt 160
Light 132
Zeus 110
Hyun 107
Rush 106
ggaemo 104
JulyZerg 90
Nal_rA 84
Killer 58
910 54
hero 53
zelot 38
Mind 35
Snow 34
Sharp 33
Sexy 22
Free 21
Terrorterran 18
soO 18
scan(afreeca) 15
Sacsri 12
ajuk12(nOOB) 11
Noble 10
Yoon 8
Bale 8
Dota 2
XcaliburYe100
NeuroSwarm91
ODPixel88
League of Legends
JimRising 444
C9.Mang0440
Counter-Strike
olofmeister1808
allub216
Super Smash Bros
Mew2King106
Other Games
summit1g7424
ceh9594
Pyrionflax283
Fuzer 194
crisheroes99
B2W.Neo85
ZerO(Twitch)13
Organizations
Other Games
gamesdonequick3116
StarCraft 2
WardiTV55
StarCraft: Brood War
lovetv 6
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• naamasc29
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 3
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2014
• Lourlo1349
• TFBlade222
Upcoming Events
WardiTV Invitational
1h 6m
PiGosaur Cup
14h 6m
WardiTV Invitational
1d 1h
The PondCast
1d 23h
OSC
2 days
OSC
3 days
All Star Teams
3 days
INnoVation vs soO
sOs vs Scarlett
uThermal 2v2 Circuit
4 days
All Star Teams
4 days
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
4 days
[ Show More ]
OSC
5 days
Replay Cast
5 days
Wardi Open
6 days
Liquipedia Results

Completed

Proleague 2026-01-12
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

Escore Tournament S1: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Thunderfire SC2 All-star 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.