Published: July 5, 2024
47
57
1.1k

I'm rewriting my 14 year old "Impact" JavaScript game engine... in C. No reason. Just a lot of fun.

It's amazing how "ergonomic" C can be with the right approach. Years ago I implemented all kinds of containers and piled on abstractions. I was working against the language, now I'm embracing it. Feels good :]

@phoboslab Did exactly same thing 2 years ago (sokol + C), big fan of both impact and sokol. Also made editor with imgui :)

@PixelPicoSean That's amazing! I'm currently in the process of adapting ye old editor to local file support (no more PHP API). Not quite ready to rewrite _that_ in C yet :] Did you make the source available?

@phoboslab Which library are you using?

@Lounes_9 Currently compiles with SDL2 or Sokol and OpenGL or SW render. Pretty easy to extend.

@phoboslab Will there be WASM version?

@MarekKnapek Absolutely!

@phoboslab this game looks sick man

@phoboslab I used it for my first game! And people are still playing. 💙

@phoboslab Please open source it 😬 (or sell licences again would gladly pay for it, the documentation and everything was top notch).

@phoboslab Love the force feedback of the red villains when they get hit.

@phoboslab masochism

@phoboslab Have you tried Zig? Do you think it could be a decent alternative/enhancement to C for a game engine like this one?

@phoboslab commander keen vibes. love it!

@phoboslab where we can play/download it?

@phoboslab Fun is a great reason

@phoboslab Super cool initiative, enjoy :D

@phoboslab Nice to hear. Impact was really nice to work with :)

@phoboslab Congrats. That’s awesome to hear. C is such an elegant and refined language.

@phoboslab I remember this demo/engine. It's been 14 years already?!

@phoboslab PERFORMANCE!!

@phoboslab The first game engine I used

@phoboslab LOVED Impact. Bought the full deal, spent a lot of time getting a 2d platformer running, was wonderful to see a game running in a browser so smoothly.

@phoboslab Cutesy retro vibes! Reminds me a little bit of Fathom by @ADAMATOMIC https://www.youtube.com/watch?...

@phoboslab Crosscode 2 when

@phoboslab OMG, long time no see this game.

@phoboslab Very cool. I really need to learn C.

@phoboslab So fucking awesome!!!

@phoboslab Idk man, i just read C and insta like it. Something in me urge for more C gaming development.

@phoboslab @yacineMTB The basis for gaming should be a learning experience.

Image in tweet by Dominic Szablewski

@phoboslab Would love to see this awesome game ported to the Amiga 🫣🤗

Share this thread

Read on Twitter

View original thread

Navigate thread

1/33