TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

4 点作者 chriszhang超过 4 年前
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 条评论

mrspeaker超过 4 年前
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>).
op03超过 4 年前
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>