Handmade Hero»Forums»Code
Hez
Conrad
1 posts
Quick question about Following along with Linux
First off. Sorry if there is a better place for me to submit Quick Q&A. (Maybe an faq or simple questions and answers thread.)

Bit of background(skip below this paragraph if you don't care) So I have been coding for a decent bit of time but haven't worked on too many big projects and really am still in the tinkering stage. I understand almost all of the thinking behind writing in most languages and wrapping my head around new concepts is quite simple. I am proficient with python an have only tinkered a bit with C and other languages. I know enough to learn, I suppose you could say.

So I was considering following along from day one with Handmade Hero. But my main question is that I mostly use my laptop running Debian for coding and only use my windows machine for gaming. So preferably I would follow along on linux. However I figure I would ask on here how soon I would run into problems and what those problems would be. Thanks!
Mārtiņš Možeiko
2568 posts / 2 projects
Quick question about Following along with Linux
Edited by Mārtiņš Možeiko on
There are multiple Linux ports for HH available:
* xcb based - https://forums.handmadehero.org/i...p/forum?view=topic&catid=4&id=151
* SDL based - https://forums.handmadehero.org/i...hp/forum?view=topic&catid=4&id=14

They are not up to date, but they can help you if you get stuck on your own. Also feel free to ask question of forum about anything related to HH (even for Linux platform).

The biggest problems you will get is if you will try to use Casey's game code (non-platform specific) without any modifications. Often there is some code that is MSVC specific, so you'll need to adjust it. Usually it is not a big deal as it needs very small fix. And typically somebody asks Casey to integrate changes on stream, so they can compile HH game code without any modifications using gcc/clang.