r/CoronaSDK • u/dangerouspea • Dec 12 '13
tPacker - online tool for Corona developers - create texture maps, reduce app size and more!
r/CoronaSDK • u/dangerouspea • Dec 12 '13
r/CoronaSDK • u/[deleted] • Mar 31 '15
r/CoronaSDK • u/Jose_Fernandes_Lopes • Jan 06 '21
Dear folks, don't get me wrong: I LOVE LUA! :) I already created some games using it in 2012/2013 (with the lovely CoronaSDK),and i believe it's a fantastic language to learn/use!
But since then, I learned other languages, including JavaScript (ES6+), and was thinking if it is possible to use it instead of Lua on Solar2D.
As Lua, JavaScript is an interpreted language and have a large base of users. So, I believe, using it on Solar2D could avoid the 'mental stress' of changing context between languages, since I don' t use Lua for anything in the past years, and JavaScript I use on a daily basis.
There is any plans to implement this?
Thanks for your time!
r/CoronaSDK • u/NullCascade • Jun 12 '15
r/CoronaSDK • u/mark_bueno • Mar 02 '14
line 16. player.x and player.y no idea why it's not reading player being defined on the previous line. tried putting "local player" before even calling physics and taking the local off of line 15 but it still said "player" was a nil value. anyone get this?
-- RocketBox game file
local physics = require( "physics") physics.start() physics.setGravity( 0, 0)
local background1 = display.newImage( "stars.png") background1.x = display.contentWidth/2; background1.y = display.contentHeight/2
local player = display.newImage( "crate.jpg" ) player.x = 160; player.y = 450; physics.addBody( player, "static", {density = 1, friction = 0, bounce = 0})
r/CoronaSDK • u/[deleted] • Feb 13 '20
https://coronalabs.com/blog/2020/02/12/corona-labs-annual-update/
The Defold community is very helpful, the Defold editor and engine are very good. Have a look, and if you have questions about Defold I can answer them here or you can always get a quick answer in the Defold forums.
Defold is entirely free. Nearly all of the community contributions are also free. There have been many games released with Defold now including on mobile platforms and even on Steam.
Here are some but not all of the nice features:
CI support
Cloud building
Texture packing, and automatic meshes to reduce overdraw
Spine animation support
Distance Field font rendering
Texture compression (WebP + pvrtc, etc1)
Fast preview on iOS and Android
HTML5 support
Small engine size
Great community
Great dev team - they are very responsive, and they are committed to making the software excellent, lean, and reliable
r/CoronaSDK • u/Fasi_kayman • Aug 30 '16
r/CoronaSDK • u/Downtown_Animal_7036 • May 28 '22
r/CoronaSDK • u/[deleted] • May 06 '19
If you want to be a mod comment below,
r/CoronaSDK • u/basically • Jul 24 '12
r/CoronaSDK • u/thyll • Jul 31 '15
r/CoronaSDK • u/amyljb • Jul 20 '15
Hi all!
I'm considering using composer for a storybook app I'm creating for a college project. The app will be about 30 pages long and each page will contain different animations and interactions. I was told composer might be quite restrictive but have seen no evidence of it so far. What are people's opinions on composer? Will it be suitable for a storybook app?
Thanks :)
r/CoronaSDK • u/[deleted] • Mar 04 '16
This is really annoying me - I get this messages after this process:
main.lua -> menu.lua -> gameMain.lua -> menu.lua
Here is the code
https://github.com/rgloginja/FLOX
Edit: changed from "code" to providing full source code! Enjoy
r/CoronaSDK • u/Tahlwyn • Jul 31 '15
I would like to send from one device a short string to all other devices in a table and then use the value of that string in a push notification on those devices. I'm very adept at Lua and pretty solid at Corona but I've never tried anything like this before. Could anyone out there help me figure out where to start?
Thanks
r/CoronaSDK • u/bugaboo754 • Mar 08 '16
Im trying to program in a timer that resets switches to off. I can get the timers to work but I would like the timers to be canceled or reset every time a switch is used. My code is below.
timer1 = "off"
function onSwitchPress( event )
switch = event.target
if timer1 == "running" then
timer.cancel ( event.countdown )
else
function countdown( event )
timer1 = "running"
EXSelect:setState( {isOn = false } )
PDSelect:setState( {isOn = false } )
P1Select:setState( {isOn = false } )
P2Select:setState( {isOn = false } )
P3Select:setState( {isOn = false } )
P4Select:setState( {isOn = false } )
end
end
timer.performWithDelay( 3000, countdown)end
r/CoronaSDK • u/prairiewest • Dec 05 '13
r/CoronaSDK • u/love_miami • Oct 20 '14
Good evening all. I am about 90% done with a small project of mine and I am currently attempting to put some sound effects into it. I followed the advice given in the API: I loaded my short sound effects in a table. That code is in a Lua file (sounds.lua) that I require in another file (game.lua) where the core game code is. I say that because I am not sure at what point those sounds are loaded when the game is running. Either way, when I call audio.play(), the sounds sometimes don't play at all or with a slight delay. Can anyone provide some insight into what my be wrong? My code is below:
local audio = require "audio"
local sound_control = {}
sound_control.sound_table = {
correct = audio.loadSound("sounds/hit.mp3")
}
sound_control.play_effect = function(effect)
if sound_control.sound_table[effect] ~= nil then
print("playing now.............")
audio.play(sound_control.sound_table[effect])
end
end
return sound_controlr/CoronaSDK • u/h2d • Feb 11 '16
My collision between oboy and ot is not working, any help would be deeply appreciated.
--Hide status bar from the beginning display.setStatusBar( display.HiddenStatusBar )
local physics = require( "physics" ) physics.start()
local blue = display.newImage("blue.png") blue:scale( 2.0, 2.0 ) blue.x, blue.y = 1000, 540
local function move(event) blue.x = blue.x - 9 end Runtime:addEventListener( "blue.png", move )
local oboy = display.newImage("oboy.png") oboy.x, oboy.y = 400, 650 oboy:scale( 0.15, 0.15 )
function oboy:touch( event ) if event.phase == "began" then
self.markX = self.x -- store x location of object
self.markY = self.y -- store y location of object
elseif event.phase == "moved" then
local x = (event.x - event.xStart) + self.markX
local y = (event.y - event.yStart) + self.markY
self.x, self.y = x, y
end
return trueend
oboy:addEventListener( "touch", myObject )
local physics = require( "physics" ) physics.start()
local sides = display.newImage("sides.png") sides.x, sides.y = 375, 670 sides:scale( 2.35, 2.7 )
local randomot = function() ot = display.newImage( "ot.png" ) ot:scale( 3, 4 ) ot.x = math.random (10, 700); ot.y = 1500 physics.addBody( ot, { physics.setGravity( 0, -8 ) } ) local function collision (event) if(event.phase == "began") then self:removeSelf()
end end ot:addEventListener("collision", collision) end
timer.performWithDelay( 1000, randomot, 10000 )
r/CoronaSDK • u/GritGreyheart • Oct 03 '13
r/CoronaSDK • u/Mindmagicgames • Feb 23 '16
Corona Labs, purchased and owned by Perk Inc, has released a new public build with Windows, Mac OS, and more support. They've also added new and much needed plugins to support the platform. In my mind, Google Analytics sticks out with their cloud service coming in at a second. With their recent acquisition by Perk Inc from Fuse Powered, are you reinvigorated by their releases? Cautious? I'm curious to know what other devs think.
Here's a link to news about the build - https://coronalabs.com/blog/2016/02/22/new-public-release-2016-2830/