Tagged Questions
-1
votes
0answers
20 views
Assertion fails with events in lua, Corona SDK
So I have two objects, an Enemy and Bullet Object. In the level there are several different instances of Enemy Objects, about 16. Each of which are linked to their own Bullet Object. keep in mind ...
0
votes
1answer
135 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 ...
0
votes
1answer
52 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
vote
1answer
222 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
1answer
442 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 ...
2
votes
2answers
877 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 ...
1
vote
1answer
3k 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 ...
0
votes
1answer
970 views
attempt to call field 'removeBody' (a nil value) in Corona, Lua [closed]
In Corona SDK, I am using the director class to switch between scenes. main calls menu.lua, where if you tap on a button it takes you to level1.lua, which uses car.lua for the cars in the game.
...
2
votes
1answer
542 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:
...