Comments

Log in with itch.io to leave a comment.

C is such a pain! Personally, I'd rather focus on the game and its logic than to grapple with this low level of control.

C is flexible so it's used a lot. I never liked it even when it was all there was besides Assembly. LUA is about the same level of control (with some odd workarounds) and I find being able to code the logic and draw functions separately to be pretty neat. Though there are many limitations to both so when you want to get something done fast it's not the best option especially these days.

I was trying to do this myself and was having a hell of a time converting the c to lua. Thank you so much for uploading this example!

You're very welcome! There is some code that only recently became available in LUA to match C code (like a goto statement that mimics C's "continue" command) so it was tough to figure out, but super fun.

I have also converted his first two DOOM tutorials to LUA, but since there's no third I've not bothered to upload it. So keep an eye out for that, too!