TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: The full source code and assets for my custom game engine and game

128 pointsby mknsrialmost 2 years ago
I always enjoy reading posts about indie game development and looking at the source code of games other people have built. So for any game I release I naturally I want to do the same.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Mknsri&#x2F;HockeySlam">https:&#x2F;&#x2F;github.com&#x2F;Mknsri&#x2F;HockeySlam</a><p>Hockey Slam is a hockey shootout game on Android which I built almost from scratch. Some of the engine features include 3D graphics with PBR materials, a rudimentary physics system, replays, a multithreaded job system and a hot-reload DLL platform for developing on Windows.<p>I detailed the creation of the game in it&#x27;s own post, but now that time has passed I am releasing the source code and assets under the MIT license. You can still find the making of here: <a href="https:&#x2F;&#x2F;hockeyslam.com&#x2F;makingof" rel="nofollow noreferrer">https:&#x2F;&#x2F;hockeyslam.com&#x2F;makingof</a><p>I&#x27;m happy to answer any questions you might have.

11 comments

funcantoralmost 2 years ago
You should probably give credit to Casey &#x2F; Handmade Hero with regards to your windows platform code. Well its kinda scattered around, so probably just credit in general.
评论 #36676453 未加载
评论 #36675541 未加载
AustinDevalmost 2 years ago
I work in tools for game devs and it&#x27;s great to see more open-source work like this it&#x27;s very hard to find good modern open-source game examples.
评论 #36676492 未加载
bootloopalmost 2 years ago
Any idea what you would have to do to get it running on iOS?<p>Did you release it? If so, how is it doing compared to your expectations? (I looked for it on the Play store but couldn&#x27;t find it)
评论 #36676471 未加载
评论 #36675869 未加载
ne0flexalmost 2 years ago
More of a general nooby question: what would be a good way to read through code like this? Where to start? How to understand what&#x27;s going on and when? etc.
评论 #36679331 未加载
axusalmost 2 years ago
Congrats on finishing the game, it&#x27;s an accomplishment
评论 #36676506 未加载
fwsgonzoalmost 2 years ago
I&#x27;m also making a game from scratch and reinventing wheels. What is the processing that you are doing for GLES? I see the GLSL_PREPROCESS in the GLSL.
评论 #36672236 未加载
dumdumchanalmost 2 years ago
Why did it get deleted from Play Store?
评论 #36676445 未加载
idriosalmost 2 years ago
You wrote an Android app in C++.<p>...how!? How did you even learn how to do this? I&#x27;ve never seen a github repo or documentation or tutorials that even mentions doing this. Nothing on the developer.android website, nothing in any YouTube tutorials. I&#x27;m blown away.
评论 #36680517 未加载
penjellyalmost 2 years ago
if youre wondering why its not on the play store<p>&gt; The game has been since delisted on the Play Store, however you can download the APK here.
评论 #36676508 未加载
ezekgalmost 2 years ago
Very cool. Can you point me to the main game loop? I usually start from there when reading source code for games, but I&#x27;m having trouble finding yours. Probably just my inexperience, but any links would be great.
评论 #36738714 未加载
rudedoggalmost 2 years ago
Congratulations on releasing your game! Doing this all yourself is a major achievement.<p>Also, the graphics look great.
评论 #36690890 未加载