Jump to content
Posted 07 October 2012 - 08:40 AM
Posted 07 October 2012 - 04:40 PM
Posted 14 October 2012 - 12:38 AM
Posted 14 October 2012 - 10:10 AM
LuaJIT can match and in some cases beat C code, not that it matters if your limiting factor isn't the execution speed of the script, but the time you have to put things together, and the ease in creating, debugging, maintaining and expanding it. Also, some scripting languages provide partial or full AOT compilation.
Scripting language won't be ever faster than language you're running the script on.
Scripting language is being interpreted on the fly, so why would it be faster?
Just implement these animations in C#.
1) depends on how you define "faster", if you mean execution speed, then there aren't many languages equal to (or faster) than full or partial AOT compiled code (you can actually use C# for scripting via Mono, speed is really dependant on the JIT/VM engine behind the code), C# is actually JIT'ed in many cases.
1) Are scripting languages faster than C# for animations? Is that why we would want to use them?
2) Is this only for time/movie like animations and not animations that require input (such as pressing up to animate my sprite to move up compared to a cut scene that plays regardless of input).
3) Good, possible, and best scripting lanuage to use for animation?
Edited by Necrolis, 14 October 2012 - 10:23 AM.