• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:58
CEST 22:58
KST 05:58
  • 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
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation11$25,000 Streamerzone StarCraft Pro Series announced6Weekly Cups (June 30 - July 6): Classic Doubles6[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66
StarCraft 2
General
Firefly given lifetime ban by ESIC following match-fixing investigation TL Team Map Contest #4: Winners Weekly Cups (June 30 - July 6): Classic Doubles The SCII GOAT: A statistical Evaluation The GOAT ranking of GOAT rankings
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series WardiTV Mondays
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL20 Preliminary Maps [G] Progamer Settings [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site
Tourneys
[Megathread] Daily Proleagues [BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Positive Thoughts on Setting Up a Dual-Caliber FX
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Summer Games Done Quick 2025! Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
momentary artworks from des…
tankgirl
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 577 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 3h 2m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ZombieGrub143
UpATreeSC 137
JuggernautJason79
ProTech73
StarCraft: Brood War
NaDa 32
LuMiX 1
League of Legends
Grubby3715
Dendi1250
Counter-Strike
fl0m1295
Fnx 1280
Stewie2K733
sgares95
Super Smash Bros
Chillindude33
Heroes of the Storm
Liquid`Hasu567
Khaldor160
Other Games
summit1g9075
Beastyqt756
mouzStarbuck324
C9.Mang0282
B2W.Neo199
elazer136
Sick48
Organizations
Other Games
gamesdonequick45751
BasetradeTV52
StarCraft 2
angryscii 32
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 22 non-featured ]
StarCraft 2
• HeavenSC 17
• davetesta14
• Reevou 7
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• RayReign 49
• Eskiya23 25
• FirePhoenix6
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22918
• Ler103
League of Legends
• Jankos1726
• TFBlade797
Other Games
• imaqtpie1785
• Shiphtur587
Upcoming Events
Replay Cast
3h 2m
RSL Revival
13h 2m
ByuN vs SHIN
Clem vs Reynor
OSC
16h 2m
Replay Cast
1d 3h
RSL Revival
1d 13h
Classic vs Cure
FEL
1d 19h
OSC
1d 23h
RSL Revival
2 days
FEL
2 days
FEL
2 days
[ Show More ]
CSO Cup
2 days
BSL20 Non-Korean Champi…
2 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
3 days
RSL Revival
3 days
FEL
3 days
BSL20 Non-Korean Champi…
3 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Replay Cast
5 days
Liquipedia Results

Completed

Proleague 2025-07-07
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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 © 2025 TLnet. All Rights Reserved.