I coded a shoot 'em up alone at 18 after learning Lua in a single week

I coded a shoot 'em up alone at 18 after learning Lua in a single week

9 pointsby DamixLord4 comments

Comments

Hacker News

Have you seen this 2D game engine called Love? It's for Lua, and I've heard it's very good

https://love2d.org/

by 369548684892826

Yes, I've heard about it; I'm working on it.

by DamixLord

> because I do weird things like declaring variables that are as long as a highway

Don't let people talk you out of descriptive variable names. It makes code much more readable, easier to understand, and will help when you come back to it later. We're not battling to save every bit anymore and editors have auto-complete.

Congrats on the project, I can't say much more, because GitHub locked me out for clicking between files too fast... I guess that's a thing now.

by al_borland

Thanks

by DamixLord

Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Have you seen this 2D game engine called Love? It's for Lua, and I've heard it's very good

    https://love2d.org/

    by 369548684892826
  • Yes, I've heard about it; I'm working on it.
    by DamixLord
  • > because I do weird things like declaring variables that are as long as a highway

    Don't let people talk you out of descriptive variable names. It makes code much more readable, easier to understand, and will help when you come back to it later. We're not battling to save every bit anymore and editors have auto-complete.

    Congrats on the project, I can't say much more, because GitHub locked me out for clicking between files too fast... I guess that's a thing now.

    by al_borland
  • Thanks
    by DamixLord

Related stories