Questions tagged [Corona SDK] (26)

1
answer

Why corona sdk error?

local widget = require("widget") -- the background of the app display.setDefault("background", 37/255, 39/255, 46/255) -- color the default text display.setDefault("fillColor", 0) number = 9; numberMinusButton = widget.newButton { shape = 'roundedRect', -- form buttons raidus = 5, -- radius of corners width = 60, heig...
Jerad.Pfeffer asked April 16th 20 at 10:45
1
answer

Why is the app on corona SDK puts the RAM?

Why is the app on corona SDK puts the RAM? Code main.lua: function update(e) display.newRect(w/2, h/2, w, h):setFillColor(0,0,0,1); display.newText(os.date('*t').sec, w/2, h/2); end; Runtime:addEventListener( "enterFrame", update ); Code shows seconds, 5 minutes later this code to run the RAM hammered... How can I fix t...
eldred.Schulist89 asked April 8th 20 at 18:35
1
answer

How to remove objects in corona?

I have a game on corona.And I need to remove objects that went beyond the screen how to do it?I searched through the Internet but he failed to do it what to do?
Mona.Kuvalis36 asked April 7th 20 at 09:17
2
answers

How to fix a bug in Corona SDK?

When I added the event listener to the green circle(boostButton) Corona began to fail. Here is the code:local score = 0 local boost = 1 display.setDefault( "background", 10/225, 10/225, 10/225) display.setStatusBar(display.HiddenStatusBar) local circle = display.newCircle(display.contentCenterX, display.contentCenterY, 50...
Arlie_Koch33 asked April 1st 20 at 15:44
0
answer

How to make a text input field, and so called keyboard?

How to make a text input field, and so called keyboard you can save the text and later he was displayed on the Screen of the app for example your Name and remained there until uninstall the application Please help with example
nasir.Klocko38 asked March 31st 20 at 22:04
4
answers

Corona SDK for the desktop legally?

We chose to create the first game engine Corona SDK. At first I resisted (OOH ANOTHER JAPANESE, UUU C++ one to LOVE), but then I thought that learning another language is not difficult and the engine seems like development is simple. Yes, it is cross-platform, but somehow one gets the feeling that but is geared for iOS/Andr...
gaylord_Armstrong asked March 25th 20 at 12:43
1
answer

Why not change the text in Corona SDK?

Disassemble an example from the official documentation Corona (work with text). Write like this:local weightGroup = display.newGroup() local myWeight = display.newText(weightGroup, "MyText", display.contentCenterX, -7, 'SuezOne', 42):setFillColor(186/255, 98/255, 98/255) myWeight.text = "Kek" It gives me an error:08:57:31.4...
bo_McKenzie7 asked March 25th 20 at 12:05
1
answer

How to determine the direction vector of the object when cornering?

Do turn object using:function endlessRolling(tank1) tank1.rotation = 0 transition.to(tank1, {time=2000, rotation = 360, onComplete = endlessRolling}) end endlessRolling(tank1) For the movement I want to use setLinearVelocity. In the documentation it is specified 2 values object:setLinearVelocity( xVelocity, yVelocity ), b...
derrick asked March 24th 20 at 11:59
0
answer

After several transitions begins to slow down, what to do?

After a few transitions between scenes starts to slow down, why this might happen ?
Roderick95 asked March 24th 20 at 11:31
1
answer

How to make the "tracers" in corona SDK?

Hello, how to make for example traces a moving object(e.g. machine) or the smoke from the burning aircraft, which are on the trajectory of these objects. In what direction to dig? Can prompt something from the documentation?
blaze7 asked March 24th 20 at 10:59