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.

Ask HN: What is a nice way to begin learning game programming these days?

4 pointsby chriszhangover 4 years ago
One thing I want to avoid is start with heavy and complex beasts like Unity which abstracts away a lot of the basic concepts.<p>I am looking for something more minimal. Game programming from scratch approach. Like the early days when people used to write programs in BASIC building all the graphical components and audio tones step by step.<p>Is there something available today? My requirements:<p>- No game engine.<p>- Portable technology. I should be able to share my game with users on other platforms and systems.<p>- A good learning resource to begin learning game programming from scratch.<p>- Support for graphics and sound.<p>Any help will be appreciated.

2 comments

mrspeakerover 4 years ago
I&#x27;m biased (I wrote a book on it: <a href="https:&#x2F;&#x2F;www.sitepoint.com&#x2F;premium&#x2F;books&#x2F;html5-games-novice-to-ninja&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.sitepoint.com&#x2F;premium&#x2F;books&#x2F;html5-games-novice-t...</a>), but JavaScript is great for making games: certainly no game engine required, and runs everywhere. Just make a loop that runs 60 times a second, then draw images to canvas!<p>I personally like making things from scratch to understand every aspect - but I think the &quot;fantasy consoles&quot; really give the best feeling of the good-ol&#x27; BASIC days. I love Pico-8. It costs (not much) money, but the creator invented the genre of fantasy console and I think has the best &quot;vision&quot;. There are some others that are more feature-rich and open source (Tic-80 is a popular one).<p>If I&#x27;m just prototyping an idea or just want to muck around, I&#x27;ll do it in Pico-8. If I want to make something bigger and more serious, I do it in JavaScript with my own libraries and code (for 3D I&#x27;ll use Three.js or roll-my-own WebGL - like this &quot;from-scratch minecraft clone&quot;: <a href="https:&#x2F;&#x2F;github.com&#x2F;mrspeaker&#x2F;webgl2-voxels" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mrspeaker&#x2F;webgl2-voxels</a>).
op03over 4 years ago
I like this dude&#x27;s approach - <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=sKCF8A3XGxQ&amp;list=PLW3Zl3wyJwWOpdhYedlD-yCB7WQoHf-My" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=sKCF8A3XGxQ&amp;list=PLW3Zl3wyJw...</a>