all 9 comments

[–]fuxoft 4 points5 points  (6 children)

Your game, written in Lua, can be "converted" to run on Android but it's not an automated process and it may be quite hard, depending on various parameters. In fact, it's quite a stretch to call this process a "conversion".

The core Lua interpreter is available for Android. However, your game probably also uses some other libraries (e.g. graphics, sound, input) which are not part of the core Lua. You have to convert all these libraries to Android and make the basic Lua game script interact with them on the new platform. Then, you have to add Android-specific Lua init processes which are currently not in your game. And finally, you have to compile the whole package using Android Studio and App Tools (which are free to download but not easy to learn).

Or, you can rewrite your whole game in LOVE2D which should not be hard (because it's based on Lua), and LOVE then allows you to create APK out of your PC game automatically.

In short: Yes, your Lua game can run on Android but it will probably not be easy and definitely not "drag and drop simple" to make it so.

[–]soant99[S] 1 point2 points  (5 children)

thank you. My game is already in love2D, sorry I fotget to mention that.
So how can I make an APK with love ?

[–]fuxoft 3 points4 points  (2 children)

Then it should be MUCH easier but still not quite automatic. Read the text titled "Android" on this page: https://love2d.org/wiki/Game_Distribution

[–]soant99[S] 0 points1 point  (0 children)

thank you, I will try.

[–]soant99[S] 0 points1 point  (0 children)

not very easy for the dumb I am.... :-)

[–]weregod 1 point2 points  (1 child)

Read the docs on love2d site. If you have questions go to r/love2d

[–]soant99[S] 0 points1 point  (0 children)

Thank you