Articles tagged with “advanced” include techniques which are useful to know, but which I believe need to be used with extra caution. Caveat emptor!
A useful way of dealing with a Bezier curve is to split it into two curves. I’ve found a nice way to do that and will record it here. Advanced recipe? Weird.
It’s time to try a serious Bezier mover in SLua. The result, in my biased view, is quite nice. Lurvely. Added: Caveat.
I really just wanted to say “variadic”. That’s the official term for functions with a variable number of arguments. Let’s see how those work in SLua. [Updated: 12 May 2025]
By way of summing up, at least until the next article, today we’ll look at a complete example of a simple SLua class, and a diagram showing where the metatable that makes it work fits in.
Do not tread beyond here unless you want to begin to learn what goes on behind the curtain.
Wild idea: What if we didn’t put code in dataserver that knows so much about Person, but instead let the Person handle all the dataserver events? We could have a standard dataserver event that handles many different requests.