Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

thanks!

yeah, are you already familiar with the commonly used fake ternary in Lua: “x and y or z”?

x is interpreted as a boolean value there, but y and z can be any type, so in this case they are strings, and the value that comes out of that is given to the “print” function. does that make sense?

I wasn't familiar with that, but it's good to know! Thanks for the explanation!