SDK Files Won't Open

I'm a Gideros user which is a Lua based 2d engine similar to Corona. I have downloaded the Corona SDK's and every .lua file opens fine in ZeroBrane Studio except any files named photon.lua. These files make ZeroBrane Studio crash.

Opening these files in NotePad or NotePad+ reveals loads of strange symbols and stuff.

Is there any way to get these files as plain text files?

Regards.

Answers

  • vadimvadim admin
    edited December 2016
    photon.lua is compiled Photon lua library. We do not provide sources for this library.
    Lua should successfully load this file in runtime with photon = require("photon") command. After such import all Photon modules are available via photon var.
    See samples in SDK package. Among them you will find standalone demos running with lua.exe w/o Corona.
    Libraries are not supposed to be opened in editors.
  • Ahh, thanks for that, I was unaware that such things even existed. I suppose I will try some of the demos and see how it goes :smile:
Sign In or Register to comment.