coronasdk Questions

6

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 the following error: /home/user/CoronaSimulator/...
Vitrification asked 10/6, 2020 at 10:56

6

Solved

If I have a file structure like this: ./main.lua ./mylib/mylib.lua ./mylib/mylib-utils.lua ./mylib/mylib-helpers.lua ./mylib/mylib-other-stuff.lua From main.lua the file mylib.lua can be loaded ...
Santiagosantillan asked 4/2, 2012 at 23:7

13

Solved

I've been trying to use Corona SDK's Facebook API to post the score on the game I'm developing on facebook. However, I'm having a problem with it. During the first time I try to post to facebook, I...
Illuminator asked 18/4, 2013 at 2:27

4

Solved

There is only one function in LUA I could find online, but it gives wrong values (measured with professional online tools). It appears that from the sunrise till some time after the noon the math...
Taps asked 17/2, 2016 at 20:42

5

Solved

I may have missed this, but is there a built-in method for serializing/deserializing lua tables to text files and vice versa? I had a pair of methods in place to do this on a lua table with fixed...
Sverige asked 31/1, 2012 at 4:9

1

Solved

I'm setting up an inventory management system in a new Corona game. I'm testing the initial setup by creating a sample displayObject in a scene and then changing the visibility of that object on ta...
Overcurious asked 30/5, 2019 at 22:33

5

Solved

I'm using Corona SDK to post data to my C# server: headers["Content-Type"] = "application/x-www-form-urlencoded" headers["Accept-Language"] = "en-US" local body = "color=red&size=small" loca...
Hambley asked 26/7, 2014 at 10:22

4

Solved

I am trying to extract the characters from a string of a word in Slovak. For example, the word for "TURTLE" is "KORYTNAČKA". However, it skips over the "Č" character when I try to extract it from t...
Peltry asked 9/4, 2014 at 6:0

6

Solved

How do I call a function that needs to be called from above its creation? I read something about forward declarations, but Google isn't being helpful in this case. What is the correct syntax for th...
Scevo asked 20/5, 2011 at 4:7

11

I tried corona sdk free edition, i really liked it. The problem is, that im not so good developer to use corona paid edition for my small project, i'm aware that i'll not earn my money back. ...
Chivaree asked 14/7, 2011 at 6:25

3

I'm having an issue displaying the elements of an array in Lua programming language. Basically, i created an array with 3 elements, and i'm trying to display its contents in a for loop on the coron...
Mackinaw asked 1/9, 2011 at 17:53

3

Solved

I have 2 different Lua files, main.lua and game_model.lua. I'm trying to save some details in a JSON file (I googled that using a JSON file would be the best way to save a user's settings and score...
Indore asked 13/12, 2014 at 11:48

6

I and my team are developing a game using corona sdk, our game is supposed to work on both iphone and android devices. When testing with android sdk 2.2 the performance seems to be poor, although ...
Messuage asked 23/10, 2011 at 12:53

1

I have some notifications in Corona. The problem is, the text is too big, and I would need to show bigger (multi line) notifications, like the Gmail app, for example. Here is what the notifications...
Maquis asked 10/9, 2016 at 23:3

1

Solved

I am learning Lua for a university class in mobile application development and recently we covered the ellipsis operator (...) allowing a dynamic amount of arguments. Out of curiosity I decided to ...
Phipps asked 15/8, 2016 at 9:42

7

I am developing an application in corona where I need to reload the same screen again and again.I don't have any idea as how to do it,Can anybody explain me this with a code
Greenway asked 1/11, 2011 at 5:22

2

I have a game project to re-implement Breakout. I want to display two words, each word on a line. They are joined by the bricks block. Inside, the top line is the first name, aligned left. The bott...
Foamflower asked 20/7, 2016 at 14:44

1

I have programmed for many years, and the issue I am presenting now is probably one of the strangest I have come across. There is a block of code in my app which randomly generates a sequence of t...
Flatling asked 9/2, 2016 at 1:55

1

Solved

I'm not sure how, but we managed to create a table with two keys exactly same. When performing for loop over pairs of the table and printing keys and values we get: 1 true 1 true and we thought ...
Decurion asked 3/12, 2015 at 9:55

1

Solved

I am trying to submit my app to the app store using Application Loader , but the submitting process stuck at Verifying assets with the App Store. I have been trying to submit my app for two days an...
Espresso asked 6/10, 2015 at 18:56

1

I'm getting a crash on my iPad 2 when building my Corona SDK app with a distribution profile, and putting it on my device via a USB cable. I'm testing a bug that happens when the internet is not co...
Seem asked 28/7, 2015 at 5:49

1

Solved

I am currently making a Corona app where I would like to include Japanese text. For those of you who do not know, it appears that Japanese has multiple languages to write in text (Kanji, Hiragana, ...
Rugose asked 23/6, 2015 at 17:46

3

I am aware that the Instagram API was down a few hours ago, but it seems to be back up now. The problem is, when we post data to Instagram saying to like a specific photo, we get this error: {"me...
Westernism asked 5/1, 2014 at 3:44

3

Solved

I have this in menu.lua local db = require "databaseconnection" ... local function onEndBtnRelease() local thisandthat = db.getLoggedIn() native.showAlert( "Corona SDK", thisandthat.." teststrin...
Selimah asked 10/3, 2014 at 14:31

2

Solved

When I run the code it tells me there's an error which is ')' expected near '=': function restartLvl() for i = 1, #balloonTexts do display.remove(balloonTexts[i]) print ("restart level") end ...
Basswood asked 11/3, 2014 at 8:10

© 2022 - 2024 — McMap. All rights reserved.