I have a function that whenever I pass a string into, it turns into a table and I don't know why. Any help is very appreciated. Here's my code: Her ...
I have a function that whenever I pass a string into, it turns into a table and I don't know why. Any help is very appreciated. Here's my code: Her ...
I have a function to move a point over to different positions. I have a positions table containing all the Xs and Ys of each position, a position coun ...
My game is pretty simple, it consists in avoiding some falling objects. When the player collides with the object three times, a message appears saying ...
I have problems with making multiple objects with random movement speed. For example, I need to make 1000 objects and move them with random speed in r ...
I'm making a shooting game with solar 2d, everything was working fine but after some time I feel that the games frame rate is dropping, but I did step ...
I'm trying to create a function that would choose one of four objects from a table that would then create it. Essentially what's meant to happen is if ...
I don't know why my code doesn't work. I just want to stop the next character if the character in front of him is still. My thought was to setLinearVe ...
Is there a way to prevent the characters starting at the same time? I tried this but every single character still starts the action the moment the ani ...
I already found a similar question on this website but the answers didn't really help. I'm creating a game on Solar2d /Corona sdk and I'm trying to cr ...
I want to display a text with a number and to update the number when pressing a button. Here is what I got right now: After pressing the button the ...
I'm coding with Solar2d in Lua and I wanted to pick data from an SQL table. So I was thinking to use the sqlite3 plugin, but it's unclear how to use i ...
How can I draw a line graph in Corona SDK? I have 3 numbered tables (zero days, benign, malignant) which needs to be plotted in the graph and draw a l ...
I’m using network.request like this: and receiving the response in my network listener as such: I am receiving the body response of the request ...
It's really annoying and confusing since I am used to pygame and Figma. ...
I am developing an app using the Google Exposure API and trying to turn on Debug Mode. In the documentation it says: To enable debug mode on a dev ...
In this script: , I want this code: to run after timer.performWithDelay() has call function moveB() 5 times but they run the same time even if i ...
In my game there are two objects (eyes) and I need to make them turn in the direction where the screen was clicked.I found an example listener on the ...
So I have been working on a checkers game in Corona and have been working in Lua just to get a hang of it and while making the pieces of my checkers b ...
So I am trying to install Solar2D (formerly known as Corona SDK) to make a mobile game. After installing the dependencies, when I run Solar 2D I get t ...
How to indicate the sizes of objects and their coordinates when developing a mobile game. For buttons, I tried to indicate a percentage of the screen ...