Corona SDK is a cross-platfrom software development kit for both Android and iOS.

learn more… | top users | synonyms

-1
votes
1answer
24 views

Problem with Corona SDK [on hold]

I will learn game developing with Corona SDK, but when i import a corona project the app does not display well: All projects see equals. Thx
0
votes
1answer
65 views

How to create soft Icecream like particles with Liquidfun and Corona

Currently using the "elastic" flags for particle behavior, which looks decent when it is flowing downwards but when the icecream collects in cup it is too liquidy. Also this gives it a springy bounce ...
-1
votes
2answers
52 views

Why does Corona SDK not build a .apk file?

I'm trying to put a game I created in Corona SDK on my Galaxy S5. I go to the Corona Simulator, click Build for Android.. Then I fill out the information, and then I hit build. The problem is, it's ...
2
votes
2answers
77 views

Corona SDK, display.contentWidth and height does not get the expected values

I'm drawing a simple rectangle to fill the entire screen. local bg=display.newRect(0,0,display.contentWidth,display.contentHeight) Instead of drawing a full screen rectangle, all i get is this: ...
0
votes
0answers
42 views

(Corona SDK) sounds and buttons show up in simulator, not in an Android device

I'm a noob in android game development, started with corona sdk and outlaw. My project runs just fine with the corona simulator on my win8, however, when building it to my android device (galaxy s3) ...
0
votes
1answer
55 views

Phone crash when try to use vibration on Android

Im developing an app that when you click a button the phone has to vibrate, the issue is that the phone just chashes. Saing that I need permitions to vibrate. I've already set this permition in the ...
1
vote
3answers
123 views

Is there a tool to batch resize images to nearest power of two, on a specific side? [closed]

For example, i have multiple images with similar properties like width = 66 and height = 62, i would need the resulting image to be 64x60, keeping its ratio. is there any Gimp plugin example, or a ...
0
votes
1answer
78 views

file:write restarts Corona app

I am attempting to implement an auto-save feature into a mobile game. I have the following code writing to the save file: function saveFunc(input) local saveData=input local file = io.open( ...
-2
votes
2answers
374 views

Moving background animation

How can I create a moving background animation with corona like in this game? https://www.youtube.com/watch?v=dyXxyApKtvM it looks like it uses a single image and stretches it in a loop. I've search ...
-2
votes
1answer
186 views

How should I start with Android development? I am basically a PHP HTML JAVASCRIPT developer [closed]

I am a PHP developer wanting to learn Android game programming. I tried java with ADT and android SDK, but I found Java confusing because of its complex Object-Oriented structure. I've heard we can ...
1
vote
2answers
383 views

How can I clear the entire display in Corona?

How can I clear the entire display? I have tried doing display.remove(obj) and obj:removeSelf() on everything that was drawn, but it seems to miss a few things and I am unsure why. A very basic ...
2
votes
1answer
120 views

How to set speed based on screen size

I am making a breakout clone for mobile and was wanting to make the ball speed to be related to the screen size. Larger screen would mean faster speed. Right now I have it set like so: ...
1
vote
2answers
119 views

Is it possible to develop web-based games using Corona SDK?

Some clients asked me to develop 2D web-based games and later on they might want to release those games on mobile platforms. I know Corona and I don't want to rewrite my code twice. Is it possible to ...
1
vote
2answers
146 views

LUA - Keeping track of game state for a digital card trading game

I am building a card game. Let's say it's similar to Magic the Gathering, Hearthstone, etc. The problem I am trying to figure out is how to architect "auras" and how much damage each card takes. ...
2
votes
2answers
92 views

Breakout intersection logic issues

I'm learning Lua and thought I should try my hand at making a Breakout clone. It is pretty much playable, but there seems to be odd intersection logic at some points, specifically the ball-brick ...
1
vote
0answers
55 views

Overlay scene not showing

I have 2 scenes: One main scene with a button, and another scene with only 1 text. button action in Main Scene: local options = { effect = "fade", time = 400, params = { ...
0
votes
1answer
722 views

How to shoot on direction of touch

I'm new to the Corona SDK(and I also suck in trigonometry) and I'm trying to achieve this: Shoot a bullet from the player, towards the direction of the point the user touched, but always with ethe ...
1
vote
3answers
954 views

corona sdk scale images

How to scale images to full screen on all devices, i want to use % The method I've seen so far is to define pixels image_variable_name = display.newImage( "testimage.jpg", 100, 300 ) I want to do ...
2
votes
1answer
165 views

How does one update the physical state of an object after scaling it in Corona?

I am new to Corona and Lua. I have the following question: I have an object cake with these physics parameters (doesn't really matters): ["cake1"] = { { ...
0
votes
1answer
274 views

How to generate an explosion? [closed]

I'm currently working in an Angry Bird-esque game, where the user flings a bomb at buildings and the bomb explodes. How do I create explosions in Corona? Essentially some sort of area of effect ...
1
vote
2answers
131 views

update image properties

Is there a way to update the location of an image? I'm currently calling my image dynamically using: itemImage = display.newImage(inventory[t.ID][1]) t. being my target ID. But in order for ...
-1
votes
1answer
317 views

What is the current state of 2D game SDK's [closed]

There seem to be so many to choose from. SDL Cocos2D-x Cocos2D-iphone Corona Unity I am having a very hard time looking these over to decide why I want to use one over the other. Advice on what ...
1
vote
0answers
482 views

Corona sdk events dispatched with dispatchEvent() are handled directly upon call. Why so? [closed]

I noticed to my surprise that an event created with dispatchEvent(event) gets handled directly when called, and not together with other events at a specific phase of the frame loop. Two main reasons ...
0
votes
1answer
295 views

A specific but basic tutorial for Corona SDK? [closed]

I have been looking at Corona SDK and it would be helpful if I could see a tutorial/example to accomplish the following: Load an image as a background/map Draw a circle on the screen user can tap ...
1
vote
1answer
989 views

Android performance/issues with Corona SDK?

I know this is a fairly broad question. We are looking to develop a mobile game and want to use a multi-platform engine/SDK. We like what we see with Corona but in doing some reading, we are seeing a ...
2
votes
1answer
932 views

For a real-time PvP game, what network service would get the job done?

The game is between two players, real time, and has to be very synchronized - latency will certainly favor one player over the other. It's built for iOS and Android and every touch on one end has to ...
2
votes
3answers
3k views

Isometric 2D game without tiles. Is there a solution?

Is it possible to create an isometric view of the game without the use of tiles? I've already searched in stackoverflow.com and gamedev.stackexchange.com, but I could not find a simple solution for ...
1
vote
1answer
495 views

Corona SDK: Animation takes a long time to play after “prepare” step

First off, I'm using the current publicly available build, version 2011.704 I'm building a platformer, and have a character that runs along and jumps when the screen is tapped. While jumping, the ...
1
vote
1answer
360 views

what's wrong with this Lua code (creating text inside listener in Corona)

If you double/triple click on the myObject here the text does NOT disappear. Why is this not working when there are multiple events being fired? That is, are there actually multiple "text" objects, ...
2
votes
2answers
2k views

How do I draw a border around a display object in Corona Lua?

What would be the easiest way to draw a thin border around a display object in Corona Lua? You could assume it's rectangular image display object. EDIT - re "this question shows no research ...
3
votes
3answers
3k views

How do I move an existing display object behind another in Corona Lua?

If I have two existing display objects in Corona, lets say do1 and do2. Assume do1 is drawn first then do2, so do2 will be on top. Is there a way to say "put do2 behind do1" in corona Lua? If yes can ...
-6
votes
1answer
370 views

Accelerometer to control handstans man?

In my game i have to control handstand man using accelerometer. i used this code: function acc:accelerometer(e) if(e.yGravity > 0.1 and e.yGravity < 0.2)then ...
1
vote
1answer
413 views

How to increase force for every touch?

In my game the character can fall in two directions. The user clicks right or left button to "push" the character to balance them, so they don't fall. I'm not sure how to increase the forces applied ...
2
votes
1answer
241 views

Corona SDK Continuous Integration

Is it possible to build corona applications from console? Or how can I automate build process?
1
vote
2answers
5k views

Efficient tile maps in Corona SDK

I need to create a tile map based level system for Corona SDK that loads files created with Tiled [1]. It also needs to support user touch scrolling and zooming. I've searched the Corona forums for ...
3
votes
5answers
843 views

Do you have to rewrite Corona SDK apps for different devices?

I am using the trial windows edition of Corona, but I want to develop for iOS - the windows version only supports android, so my question is will I have to rewrite any parts of my application for iOS ...
2
votes
2answers
2k views

physics.addBody() with custom shapes in Corona SDK

Does the physics.addBody() only work with Circles and Rectangles? Or is it possible to physics.addBody() on vector shapes or sprites or with masks or something?
0
votes
2answers
840 views

In Corona SDK, how do you extract the x1, y1, x2, and y2 coordinates from a line display object?

I used this command to create a line: local myLine = display.newLine( 0,-110, 27,-35 ) How can I get the coordinates from myLine? I've looked here and here but the closest thing I could find is ...
2
votes
1answer
635 views

help animating a player in Corona SDK [closed]

Working on a game in the Corona SDK with Lua and I need help so the player animates on the line drawn. Right now he animates at the beggining and the end but not on the line. Here is the player code: ...
2
votes
1answer
344 views

Is it possible to build an app with Corona with only a PC, and expect it to reasonably run well on an iPhone?

So I understand that Corona allows me to "write once," and deploy on both iPhone and Android. And I understand that I cannot get any iPhone app into the app store without having (at the moment of ...
1
vote
1answer
597 views

Rotating an object at the user specified speed in corona

I am developing a globe animation, in which the speed of the rotation changes with the length of the user's drag event.The globe when touched and moved attains positive acceleration,reaches maximum ...
5
votes
2answers
2k views

Physics or Time-Based Animation In Corona SDK (iOS) Using Box2D

I am part way through creating a Doodle Jump clone for iOS using Corona SDK. I'm currently using the physics engine (box 2D). It's not a straight clone, but I need the basic principles in place to ...
-4
votes
1answer
1k views

Which programming language is used to develop an app in corona?

What is Corona & Which programming language is used to develop an application in corona? What physics Engine is corona using? and any other information that is absent in their site?