Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
2 answers
507 views

randomseed problem - same seed, different numbers on different platforms

We try make same random levels in our game. So, we use randomseed (Lua) with same seed number. We tried more iOS devices and everything is OK. We see same numbers, same levels for each seed. But if we ...
buffy.cz's user avatar
1 vote
0 answers
98 views

I need black bars on the left and right sides Corona sdk for Android

How a can make game with not all screen in horizontal orientation? I need black bars on the left and right sides like on the picture. my config.lua application = { content = { width = 320, height = ...
Marlen0893's user avatar
1 vote
1 answer
282 views

What options are there to call Lua code within an android project?

I want to take this open-source project, which is a build calculator for the online game Path of Exile, and port it to an android app. The project, called Path of Building (PoB), is written fully in ...
Koervege's user avatar
0 votes
0 answers
1k views

How to decompile luajit binary bytecode?

I have an Android app which runs luajit byte code for some thinks, and code is called by library "libluajit.so". How to read luajit byte code, and how to convert it into normal lua script to ...
Darko Milošević's user avatar
0 votes
0 answers
110 views

Why accessing database via lua script deletes -wal file?

I have a question concerning SQLite & Lua. Basically i'm trying to use SQLite in WAL mode in my Android app. However if i perform a particular set of operations with database from my Lua script, ...
chromesearcher's user avatar
2 votes
1 answer
2k views

Why data is lost in SQLite database with WAL mode on when connection is not closed properly?

Problem: data is not available to SELECT from new connection to SQLite DB with WAL mode (Write Ahead Log) on if previous connection hasn't been closed properly. Main question is: why data is lost and ...
chromesearcher's user avatar
0 votes
1 answer
93 views

How to update Android MediaStore in time by lua script?

The lua script will download pictures and videos on your Android phone, you need to restart your phone to find it. After searching for related information, I found that it is related to MediaStore, ...
xiaoxiao's user avatar
-2 votes
1 answer
87 views

I use Lua script to copy mp4 files, but other apps(tiktok) cannot find the video [duplicate]

Setelah salinan yang berjaya gagal, sistem video Android tidak dapat mengesan video copy.mp4, dan juga tidak dapat mencari video copy.mp4 yang akan diterbitkan di TikTok. local ts = require("ts&...
xiaoxiao's user avatar
1 vote
1 answer
491 views

I downloaded the mp4 file using Lua script, but TikTok(Other apps) cannot find the video

After successfully downloading the mp4 file using the Lua script on the Android phone, the system Videos cannot detect the 1.mp4 file, and the video cannot be found in TikTok to publish. I downloaded ...
xiaoxiao's user avatar
0 votes
0 answers
627 views

How to get android device Unique ID in a Game Guardian Lua script

I'm writing a script in lua, and want to secure it with their device id , so it cannt be passed on. Is there a secure way to get their unique device id?
apr0vleptos's user avatar
0 votes
1 answer
103 views

Corona SDK: Possible to save/resume the URL in a webview when switching applications?

I am developing an app using Corona SDK in which the primary activity takes place within a webview. Everytime I switch to another app, and then go back to my app, the app essentially restarts, with ...
deservestarseed's user avatar
1 vote
0 answers
329 views

How can I report the Lua stack trace safely when crashes happened?

If the code that Lua invoked in C++ contains an invalid pointer, a crash may happen. But the unwinded stack trace only contains C++ function like 'lua_xxxx'. It is hard to determine what happened ...
Yyao's user avatar
  • 413
0 votes
1 answer
123 views

How do I switch to another scene in the Corona SDK?

I have a main scene in the Corona SDK (main.lua) On this scene there is a button, when you click on which there should be a transition to another scene (home.lua). How do I do this? Preferably using ...
OLEG CHEHMAKIN's user avatar
0 votes
0 answers
51 views

Will using .isVisible make a game crash

I am making an app in Corona Simulator where you have dozens of things going across the screen and when you tap on them then they disappear. I am currently using the object.isVisable function and then ...
Owen Hushka's user avatar
0 votes
1 answer
104 views

How to delete a clone when touched

I am working on a program that will create a bunch of clones, and it will delete a clone when the clone is taped on. I only want it to delete the clone that is taped on. I am having an issue with the ...
Owen Hushka's user avatar

15 30 50 per page
1
2 3 4 5
24