Live data from Hacker News

Handmade Hero: C game from scratch

handmadehero.org

31–40 of 60 posts

Re: Handmade Hero: C game from scratch

#31
post #12
post #11

[deleted]

> I though it was C, but in the video OP starts with C++? Very few people, even programmers, seem to know the difference. Some even claim to program in C/C++, which is about as meaningful as Java/Javascript or Java/C#. All those Foogols look alike anyway. ETA: I have no idea if we watched the same video. The commenting style in the first video on the top of the page was used in C decades before C++ existed, though, a…

In my mind C/C++ converts to a certain style of C++ coding popular among competitive programmers for example. You write C style simple code but use the C++ libraries etc. when it best fits the case. Some would call it just the C style C++ which is considered bad and ill-formed in general, but I do find it is an excellent style for certain type of problems.

Re: Handmade Hero: C game from scratch

#33

Earlier quoted context omitted.

Judging by the initial video, you won't be able to follow this without a Windows machine. The author plans to implement a game from scratch (no third party library will be used) in C on Windows, which means he will use Win32 functions (OS specific code) for creating a window, reading/showing image files etc ... If you want to follow along from day one I suggest you install Windows in a virtual machine (you can downlo…

He'll probably use SDL for that kind of stuff. P.S. EMACS!!!

Yeah, because SDL is not an engine, so he can still boast he made it from scratch.

Re: Handmade Hero: C game from scratch

#35

Earlier quoted context omitted.

Judging by the initial video, you won't be able to follow this without a Windows machine. The author plans to implement a game from scratch (no third party library will be used) in C on Windows, which means he will use Win32 functions (OS specific code) for creating a window, reading/showing image files etc ... If you want to follow along from day one I suggest you install Windows in a virtual machine (you can downlo…

He'll probably use SDL for that kind of stuff. P.S. EMACS!!!

I doubt he will use SDL, the author mentions in another video that he is interested in implementing his own render. Also, he claims he won't use DirectX or OpenGL.

Re: Handmade Hero: C game from scratch

#36

Earlier quoted context omitted.

He'll probably use SDL for that kind of stuff. P.S. EMACS!!!

I doubt he will use SDL, the author mentions in another video that he is interested in implementing his own render. Also, he claims he won't use DirectX or OpenGL.

He said he might you some OpenGL near the end. Hopefully, he does because using the GPU will allow for so much more performance. I guess he can make that a separate class.

Re: Handmade Hero: C game from scratch

#39
post #7

Wow. I can't even begin to express how much the premise behind this series resonates with me. I've been looking for something just like this. My only issue is that, although in C, the preview/introduction video seems pretty centered around visual studio[0]. In the FAQ you say that multi platform support for *nix systems will be added later. How exactly will this work for those of us who want to follow along, but don'…

Good luck writing anything but C89 with visual studio. This project sounds amazing and I'm going to probably try it but Microsoft has abandoned C for a while now so visual studio is a complete turn off for this use case.
Post reply on HN