Skip to main content

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

I was able to get the first 2 examples working, but I'm having trouble with the last one.

(I'm assuming typeof is supposed to be a placeholder thing since I couldnt get it working, although admittedly I'm not positive on that since I'm still new to all this syntax stuff.)



As of right now, the box1 contraption is non-responsive as I haven't been able to get it to alert.
(+3)

"typeof" is a unary operator in Lil which tells you the name of the type of any value:

typeof "foof"      # "string"
typeof 123.4       # "number"
typeof (11,22,33)  # "list
(+1)

Beastmode, thank you for the clarification.