Hacker News new | ask | show | jobs
by Waterluvian 1010 days ago
There's hundreds or thousands of these indie game engines because, yes!, it is a lot of fun to write them. You'd learn a lot. The #1 tip though is that you're writing a game, or an engine, not both. So commit to doing one of those tasks. Usually you end up with a bunch of toy games and no steam left to want to really polish them into something complete.
4 comments

> The #1 tip though is that you're writing a game, or an engine, not both.

Not sure I agree. I have always done both.

Ostensibly I am writing a game but not using someone's engine. And then my own "engine" comes out of the effort.

Then I write a second game and pull over the rendering-sound-etc-code from the first game. This "engine" gets further refined as a result of being pressed into service for the new game.

Often it improves with each iteration and I move the newer version back to older games and refactor them as required.

> The #1 tip though is that you're writing a game, or an engine, not both.

Most of the people who follow this advice will never ship anything. Stop worrying and do what you want. It's okay to reinvent the wheel if you want to learn how to make a wheel, or if you just find it fun.

While I agree with your sentiment: most people who DON’T follow the advice will propably not ship anything either as shipping is hard and rare in any case.
Or if you need a special wheel adopted to your needs. Because you were annoyed, that the common generic wheels blasted the way you drove them ... but also could not use a expensive high performance wheel, because they come in different sizes.

(But remember, if you want to ship fast, or at all, usually better stay with the common wheels and sizes)

I wish AAA game developers would listen to this advice. How many times has trying to write a new game engine for one IP ended with the game in development hell?

No, 343 Industries, you don't need your own custom engine. Just use Unreal.

Do you know of any that use JavaScript/typescript?
Here's the more popular dozen or so: https://github.com/collections/javascript-game-engines

If you want to know about the really small indie ones that are less for actual use and more for just "I want to make a game engine" I would check out the various gamedev Discord and Reddit channels. There's always people showing off their work.

Yeah, I was thinking more terms of pico8 where you have the the editor which basically has everything included to make the game.
Phaser, as game engine, Pixi.js as a powerful render library (FRVR.com games were made formerly with Pixi.js). You can use Cocos Creator (not Cocos2D-x)
They’re more like frameworks or libraries. CC isn’t open source and the editor doesn’t work on Linux.
2d phaser (photonstorm) 3d babylonjs (microsoft)
Thanks! Looks promising.