General discussion about LÖVE, Lua, game development, puns, and unicorns.
-
qaisjp
- Party member
- Posts: 490
- Joined: Tue Sep 04, 2012 10:49 am
- Location: United Kingdom
-
Contact:
Post
by qaisjp »
tv_user wrote:qaisjp wrote:Code: Select all
tab[i], tab[r] = type(tab[r])=="table" and shuffle(tab[r]) or tab[r], type(tab[i])=="table" and shuffle(tab[i]) or tab[i]
I just love these mind-twisting assignment operations! Nice and simple solution qaisjp!

danke

Lua is not an acronym.
-
Nixola
- Inner party member
- Posts: 1949
- Joined: Tue Dec 06, 2011 7:11 pm
- Location: Italy
Post
by Nixola »
(Thanks)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Users browsing this forum: Amazon [Bot], Google [Bot] and 2 guests