Make games on your phone.
Get the app!
AndroidiOS
Castle
14 Comments
Next up
I find an interesting thing in Castle, but I couldn't a way to use it... Tags: #dontHelp #dontJoin #dontTeam #party
The deck is shutting down...
Reply
I think it's just way the developer dumps existing functions to a metatable, like I've seen something like "var.print = print" even though until now i still don't understand what's the purpose. And i think since castle.xyz is engine on top of engine—which is love2d— it could be that it's a love2d function like "love.graphics" whereas it's common to use it for sketching early prototype and testing grids, like "love.graphics.rectangle("fill"or"line",x,y,width,height)", and since that is in metatable, means there is a barriers, which mean only people who see the block code in the actual castle source code will know how it works and how to operate it. But this is still hypothetical, and I'm not really sure. Meanwhile I'm still learning how to make game in Love2D.
fire2Reply
"_cjson":{ "_NAME":"cjson", "encode":"f()", "decode_max_depth":"f()", "_VERSION":"2.1devel", "decode_invalid_numbers":"f()", "encode_keep_buffer":"f()", "null":userdata: 0x0000000000000000, "encode_number_precision":"f()", "new":"f()", "encode_max_depth":"f()", "encode_invalid_numbers":"f()", "decode":"f()", "encode_sparse_array":"f()" }
fire2Reply
But i may know how to use castle.haptic because it prints this: Haptic not triggered: creator is not a partner
fire1Reply
I think also string.dump() idk
fire1Reply
Not even chathpt knew it😭🙏 (i just discovered it today)
fire1Reply