Better HN
topnewbestaskshowjobs
Log inSign up

aarongeisler

80 karma · joined Jan 24, 2013 (13y ago) · 31 submissions

Solo dev building a game in C instead of using Unity like a normal person. Made Impaler. https://apptivus.net
Submissions

comment 4mo ago · link · parent

I still write games using OpenGL for the reasons described in the comments here. I've had very good results with it despite it being "old". It works on my MacBook, PC, and SteamDeck and it has yet to surprise me.

comment 4mo ago · link · parent

I've had to wrestle with float precision issues writing physics code for games. Single precision floats do not behave well when you are doing calculations far from the origin (especially when doing subtractions). I ended up having to adopt double precision floats to track the camera and entity positions in my game with kilometer-scale environments. I've also had issues with floats when doing repeat transformations on a rotation basis without periodic orthonormalization.

comment 1y ago · link · parent

Yes, same experience. I recently played a "Wolfenstein" clone that frequently dipped into the the 30-60 fps range on my 3080. The original Wolfenstein used to run on a 386 if I'm not mistaken.

4.

Ask HN: Game devs, how do you approach optimization? What would make it better?

5 points · by aarongeisler · 1y ago · 2 comments

comment 1y ago · link · parent

Thank you for sharing this. I linked it from my list of resources for C-based game development: https://github.com/aaron9000/c-game-resources

comment 1y ago · link · parent

Yep, familiar with this one - one of the best out there!

comment 1y ago · link · parent

I hope this catches on. For whatever reason, I haven't come across many gamedev-focused sites with good content. The gamedev subreddit is particularly disappointing.

Feebdack: agree with the other comments that the background image is a bit hard on the eyes.

Nice work!

comment 2y ago · link · parent

Agreed. Even with a top-end GPU I almost always turn off RT features. I expect we will continue to see hybrid RT approaches for the foreseeable future.

comment 2y ago · link · parent

Great post. There are lots of nostalgic game references here. I still remember being blown away by the shadows in the N64 Zelda many years ago.

I expect area lights and soft shadows to become the norm as ray-traced techniques are adopted. If you have the hardware, it's worth checking out Quake 2 RTX to see what the future might look like.

Lastly, I've added your blog to my growing list of graphics resources: https://github.com/aaron9000/c-game-resources

comment 2y ago · link · parent

This looks great! I am a big fan of the single header format. I've linked Clay from my list of game resources for C developers. Cheers!

https://github.com/aaron9000/c-game-resources

comment 2y ago · link · parent

Thank you, I will check these out - love what you are doing. Please keep it up.

comment 2y ago · link · parent

This is great! I added the link to my list of free game dev resources: https://github.com/aaron9000/c-game-resources

Is there a tool you used to create these materials that you would recommend?

comment 3y ago · link · parent

Yep! No issues with the Steam Overlay.

comment 3y ago · link · parent

I use Nuklear for a Steam game I made in C. It worked well for my needs but there are a few things I still haven't figured out yet - like rendering centered multi-line text. Localizing my game was very straightforward with Nuklear - I didn't run into any roadblocks with fonts or different alphabets. I was able to get the interfaces to be controller-friendly too. Overall, I had a positive experience and will use it again.

comment 3y ago · link · parent

I'm not suggesting C is better or that I made the correct choice here. My takeaway is that C is "doable" but not the most practical.

comment 3y ago · link · parent

I updated the post - really appreciate the attention to detail.

comment 3y ago · link · parent

That makes a lot of sense. Any resources you would recommend? I am getting tired of making C "wrappers" to work with C++ SDKs. Will probably need to bite the bullet on this.

comment 3y ago · link · parent

You are correct in the case of nested pointers. I am using primitive types nearly exclusively. Good observation!

comment 3y ago · link · parent

Reflections on building and publishing a game using a 50 year old language.

20.

Writing a 3D Game in C (in 2022)(aarongeisler.com ↗)

27 points · by aarongeisler · 3y ago · 19 comments

comment 9y ago · link · parent

I really like this. This would've been handy as a student. I definitely prefer this to a textbook.

comment 9y ago · link · parent

Amen

comment 9y ago · link · parent

From my experience (on the hiring side), the good recruiters were autonomous and sourced qualified people. Bad recruiters wasted my team's time and brought and endless stream of unqualified candidates. It seemed like the good ones were 1 in 5.

comment 9y ago · link · parent

I think there is some truth to this. I landed my first startup engineering position via a blog post.

This particular post only took 30 minutes to write - they can be short and sweet.

comment 9y ago · link · parent

I've been working at Oculus (within Facebook) for a couple of months now - I'm enjoying it quite a bit. I worked at startups previously and my work / life balance is much better now. My projects have been interesting as well.

comment 10y ago · link · parent

- Location: Los Angeles

- Remote: Yes

- Willing to relocate: Yes

- Technologies: AWS, Node, React, C#, Obj-C, MySQL, Redis, Elasticsearch, Unity3D

- LinkedIn: https://www.linkedin.com/in/aaron-geisler-7236314b

- GitHub: http://github.com/aaron9000

- Email: aaron.geisler.sloth@gmail.com

Significant experience at small & medium sized startups. Built applications used by millions and had several products featured by Apple, Google, and KickStarter. I have a few years of management experience as well.

comment 13y ago · link · parent

Nice. It displays well on my phone. I also agree with ditching the epilepsy button.

comment 13y ago · link · parent

Nice Work! I love the artwork and character animations. Im leaving you a review.

Can you rate my HTML5 submission for LD 26? http://www.ludumdare.com/compo/ludum-dare-26/?action=preview...

12