Search found 2 matches

by kotwarrior
Thu Oct 02, 2014 4:12 am
Forum: Support and Development
Topic: [solved] Resetting a table back to it's original values
Replies: 10
Views: 6502

Re: Resetting a table back to it's original values

You could also try and set the original table as a metatable of the given table, just cache it using this function: local cache = function(tab) local extra = tab; setmetatable(tab, extra); end; and retrieve it using this one: local retrieve = function(tab) return getmetatable(tab); end; To access th...
by kotwarrior
Thu Oct 02, 2014 4:01 am
Forum: Support and Development
Topic: Would this work? [EASY]
Replies: 2
Views: 2753

Would this work? [EASY]

Hello! So, I'm new to LOVE2D (just started today), but I have around 2 years in Lua experience. I just wanted to confirm with the love library, this is how I'd create an image and a label saying the message in the region. Also, this would be how I can make the image and printing disappear when the s...