Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Does LuaJit work with latest Gideros? — Gideros Forum

Does LuaJit work with latest Gideros?

tharektharek Member
edited June 2017 in General questions
Does LuaJit work with the latest Gideros and the Android export? I've tried and retried the solutions and instructions posted on this forum but to no avail.

The 2 errors I came across were main.lua related:

1) "Could not access/find main.lua.jet" - which stops main.lua compiling and app crashes with "main.lua could not be found".
2) White screen/nothing happens - A project with just a main.lua exports and runs fine. But when I add another lua file (even empty), the app does nothing and there are no logcat errors.

Thanks in advanced for any help and sorry if I'm unclear.

Comments

  • SinisterSoftSinisterSoft Maintainer
    Accepted Answer
    I no longer use it because Android 64-bit is just around the corner, as it bitcode on iOS..

    We also added a few things to our built-in version of Lua that can make it a lot faster than regular lua.

    Likes: tharek

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • tharektharek Member
    I no longer use it because Android 64-bit is just around the corner, as it bitcode on iOS..

    We also added a few things to our built-in version of Lua that can make it a lot faster than regular lua.
    Ah okay, thanks for the reply. Do you use anything else to help speed up games instead?
  • SinisterSoftSinisterSoft Maintainer
    Yes, // for integer divide, the bitwise operators <<, etc, the larger or smaller <> or >< , the conversion from radians to degrees ^< or from degrees to radians ^> and macros for things like pi.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • tharektharek Member
    @SinisterSoft Thanks, I'll keep these in mind.
  • YanYan Member
    Yes, // for integer divide, the bitwise operators <<, etc, the larger or smaller <> or >< , the conversion from radians to degrees ^< or from degrees to radians ^> and macros for things like pi.
    does convertation to deg\rad works faster than math functions ?
    vk.com/yan_alex
  • SinisterSoftSinisterSoft Maintainer
    edited June 2017
    Way faster!

    It's as fast as any other operator.

    Likes: antix

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • antixantix Member
    I really need to start using these arcane symbol combinations in my own experiments, thanks @SinisterSoft!

    Likes: SinisterSoft

    +1 -1 (+1 / -0 )Share on Facebook
  • SinisterSoftSinisterSoft Maintainer
    They are especially handy because the math libs use angles in radians, but the graphics use angles in degrees.

    Likes: antix

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • YanYan Member
    Way faster!

    It's as fast as any other operator.
    Well it seem I have a refactor task now, thanks =)

    Likes: SinisterSoft

    vk.com/yan_alex
    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.