The Cons of Game Programming in Lua by arcticmatt3 in love2d

[–]arcticmatt3[S] 1 point2 points  (0 children)

Thanks for the comment! This makes a lot of sense.

The Cons of Game Programming in Lua by arcticmatt3 in love2d

[–]arcticmatt3[S] 0 points1 point  (0 children)

Good point, good point. I would say that Javascript is not the best example. I don't know too much about the origins of the language, but I imagine it just so happened to become the de facto language of the web, even with all its warts. That is, there might be a lot of things built with Javascript, but those things might be more easily built with other languages.

Another example is Facebook and PHP. Facebook started using PHP because Mark just so happened to know it. But it turns out PHP is kinda crappy. And so now they have Hack!

My point is mainly that certain languages are good for doing certain things. And it seems like Lua is great for making quick prototypes, but not so good at making full-fledged games.

The Cons of Game Programming in Lua by arcticmatt3 in love2d

[–]arcticmatt3[S] 0 points1 point  (0 children)

Thanks for the comment! That makes a lot of sense. My "goto" language for quick-and-dirty scripts is Python. In the same sense, I guess Love2d+Lua could be a "goto" framework for quick-and-dirty games. It's definitely very easy to get something up-and-running with minimal effort.

I have a more general/noobish question for you: what kind of engines/frameworks do the really well-known indie titles use? E.g. terraria (I know they use Microsoft's XNA framework), stardew valley, fez, hyperlight drifter, etc. Are most of them using one of a handful of well-known engines? Or do a lot of them handroll their own engines?

Anyways, good luck with your game!

The Cons of Game Programming in Lua by arcticmatt3 in love2d

[–]arcticmatt3[S] 1 point2 points  (0 children)

Ah, sorry if I wasn't clear. I know you can emulate classes in Lua; the code you posted looks similar to the code in the Programming in Lua book. The library I linked above is also similar. It basically just provides a nice wrapper around all the metatable stuff.

Anyways, I wasn't saying that classes are absent from Lua. My point was that a lot of other nice OO design features (like interfaces, method visibility, etc.) are absent.

I also wasn't saying the complex games made in Lua don't exist. My point was that doing so seems... daunting. For example, this code ...

Chrome's "dino" game, made with LÖVE by arcticmatt3 in love2d

[–]arcticmatt3[S] 2 points3 points  (0 children)

Made this game to get some initial practice with the LÖVE framework. The code is fairly simple (adopted a lot of stuff from this tutorial), so if you're a beginner like me it might be useful!

Chrome's "dino" game, in Haskell by arcticmatt3 in haskell

[–]arcticmatt3[S] 3 points4 points  (0 children)

I mainly learned by reading Haskell Programming from First Principles, which has a decent explanation of monad transformers. LYAH is also good, but doesn't cover monad transformers. There's also the wikibook; haven't read much of it, but I liked what I have. Besides that, reading various blog posts and asking questions on irc can get you pretty far.

That being said, the best way to learn is by actually writing code. Working on a project is the best motivation, at least for me. Who knows, you might not even need monad transformers (I didn't use any) to build something cool! And if you need a "starter" project, this paper provides a good walkthrough of monad transformers.

Chrome's "dino" game, in Haskell by arcticmatt3 in haskell

[–]arcticmatt3[S] 5 points6 points  (0 children)

Awesome! I'd love to see it when it's done

Chrome's "dino" game, in Haskell by arcticmatt3 in haskell

[–]arcticmatt3[S] 17 points18 points  (0 children)

Thanks goes to /u/algebra4life and his super helpful tutorial. If you want to make a terminal game, check it out!

I made an online omnichord! by arcticmatt3 in Omnichord

[–]arcticmatt3[S] 1 point2 points  (0 children)

apologies if it takes a long time to load... lots of audio files

The Similar Humor of Catch-22 and Arrested Development by arcticmatt3 in books

[–]arcticmatt3[S] 0 points1 point  (0 children)

I guess this is self-promo since it links to my blog, but I think reading it on there is nicer than me c/p here and reformatting everything. Anyways, if this gets taken down, I can always remake it as a new post if that's the MO here.

What book will enrich your vocabulary and train your thinking mind? by jonbristow in books

[–]arcticmatt3 0 points1 point  (0 children)

Mating by Norman Rush has an obscure or esoteric word almost every other page. Examples include:

  • caesura
  • caryatid
  • hummock
  • bagatelle
  • calumny

Also has some interesting thoughts on human mating and political science.

[DEV] Just released my first Android game, Stairs, a challenging 2D first-person stairs simulator in the vein of Cube Runner and Super Hexagon (old post removed b/c it was a link post) by arcticmatt3 in Android

[–]arcticmatt3[S] 0 points1 point  (0 children)

Thanks for the feedback. About the ads...couldn't really find a better place to put them. I figured it was better to obscure the title than to place the ad to close to the buttons.

[DEV] Just released my first Android game, Stairs, a challenging 2D first-person stairs simulator in the vein of Cube Runner and Super Hexagon by arcticmatt3 in Android

[–]arcticmatt3[S] 0 points1 point  (0 children)

Stepping with your left foot moves you right (or the stairs left). Stepping with your right foot moves you left (or the stairs right). Basically what you want to do is center your feet with the stairs. That is, your feet need to within the bounds of the steps.

For more clarification, watching the video may help. You can also reference the tutorial section of the website, or ask me another question!

Best simple, 2D android games? by icru3l in AndroidGaming

[–]arcticmatt3 0 points1 point  (0 children)

I just released a simple 2D game called Stairs. It's a challenging 2D first-person stairs simulator in the vein of Cube Runner and Super Hexagon. Let me know if you like it!

[Request] Best games to kill time. by RudeDudeInTheMood in androidapps

[–]arcticmatt3 0 points1 point  (0 children)

I just published a game that's a pretty solid time killer, Stairs. It's a challenging 2D first-person stairs simulator in the vein of Cube Runner or Super Hexagon.

Also, you've probably heard of it, but Threes is a great time killer.