How easy is this from GameSalad to Corona?

Hi guys,

I really want my game to be accessible on Android, but I am afraid of putting in months and months of work in this to delay the launch even further.

http://gamesalad.com/g/33440

That’s a link to the HTML 5 version of the game where you guys can play it and tell me how difficult it would be to port over.

(P.S It’s a bit tough with a mouse and this is just a few of the levels)

Thanks! [import]uid: 16185 topic_id: 13449 reply_id: 313449[/import]

It will be very easy to port it over. :slight_smile:
coding the position of the blocks can be bit tedious so make sure you look at 3rd party tools section for tools which can help you with that. Best of luck with your project. We will be here to help you if you want… let me know if you need some initial coding help to get started.

Cheers
Renjith
[import]uid: 71210 topic_id: 13449 reply_id: 49363[/import]

Initial coding help? That. Will. Be . Awesome. Would love to have launched this game free with iap to unlock all the levels. [import]uid: 16185 topic_id: 13449 reply_id: 49394[/import]

:slight_smile: just post your queries and I will be happy to help you… [import]uid: 71210 topic_id: 13449 reply_id: 49396[/import]

Hey uptimistik,

As technowand said this will not be hard; although initially if you don’t have any prior non-GS app experience it might seem overwhelming I guarantee you it will become intuitive very quickly.

If you want resources to help you learn some basic (but vital) stuff quickly, check out my website, Techority - it has 4 parts to a mini series called “Corona For Newbies” and is a good place to start.

Peach :slight_smile:
[import]uid: 52491 topic_id: 13449 reply_id: 49442[/import]

Hey Peach! I remember u from GS! (I’m pretty new at GS too lol) Your site is great but still unsure if I should stop my project at this stage to tackle coding which I have zero experience with.

Maybe I should do like FireMaple and launch with GS then port it over once it’s on the store. [import]uid: 16185 topic_id: 13449 reply_id: 49465[/import]

Do you have any prior coding experience ? in C Java or anything ? learning corona coding won’t be that difficult… in fact it will be easier than you will ever imagine.
Peach will be the apt person to ask if you are coming from GS.

Happy Coding !

Renjith
www.technowand.com
[import]uid: 71210 topic_id: 13449 reply_id: 49467[/import]

I have zero coding experience. No Java, C+ nuttin…So is it that I need a bit of this to understand what’s going on in Corona?

GameSalad is easy to use but I hate the load times and I want IAP for this game…

[import]uid: 16185 topic_id: 13449 reply_id: 49469[/import]

programming knowledge is not that essential…but good to have… any way coding the game you shown is not that difficult… you just start coding it …we will be here to assis you… :slight_smile:

let me see whether I can send a sample code for doing that which will help you get started… :slight_smile:
[import]uid: 71210 topic_id: 13449 reply_id: 49471[/import]

ok see the below code or download full folder of sample at
https://github.com/technowand/Ball-Game-Demo
This is just a sample and is done in less than an hours time. feel free to ask me if you have any doubt in the code.

oh…sorry…I forgot to say… Welcome to coding with Corona… :slight_smile:

[lua]-- setting the physical world
local physics = require(“physics”)
physics.start()
physics.setGravity(0,9.8)

–adding background
local background = display.newImage(“backdrop.png”)

–adding pipe
local pipe = display.newImage(“pipe.png”,50,0)

–adding block1 --newImageRect : adds image in the specified dimension
local block1 = display.newImageRect(“block.png”,120,20)
block1.x = 80 ; block1.y = 130
block1.rotation = 35
block1.alpha = .3
physics.addBody(block1,“static”,{isSensor =true})

–adding block2 --newImageRect : adds image in the specified dimension
local block2 = display.newImageRect(“block.png”,120,20)
block2.x = 200 ; block2.y = 240
block2.rotation = 25
block2.alpha = .3
–set isSensor = true - object won’t bounce on block
physics.addBody(block2,“static”,{isSensor =true})

–adding flag level complete when ball reach flag
local flag = display.newImage(“flag.png”,310,265)
physics.addBody(flag,“static”)
–adding the ball
local ball = display.newImage(“ball.png”,50,0)
ball:setReferencePoint(display.CenterReferencePoint)
ball.x = 77 ; ball.y = 0
–ball is dynamic- it will fall down
physics.addBody(ball,“dynamic”)
–function to call when the wooden block is touched
– we basically make the block full visible and set isSensot = false - object bounce on block
local function blockTouch(event)
if event.phase == “began” then
event.target.alpha = 1
event.target.isSensor = false
elseif event.phase == “ended” or event.phase == “cancelled” then
event.target.alpha = .3
event.target.isSensor = true
end
return true
end
block1:addEventListener(“touch”,blockTouch)
block2:addEventListener(“touch”,blockTouch)
local function touchedFlag(event)
local winTXT = display.newText(“WIN”,display.contentWidth/2,display.contentHeight/2,nil,50)
end
flag:addEventListener(“collision”,touchedFlag)[/lua] [import]uid: 71210 topic_id: 13449 reply_id: 49490[/import]

No way did you do that so fast. You must have cheated… lol

That is incredible!!! OK. Going to try and understand what u did and go through the tutorials now! Thanks much guys!! [import]uid: 16185 topic_id: 13449 reply_id: 49492[/import]

welcome aboard …

c. [import]uid: 24 topic_id: 13449 reply_id: 49504[/import]

Hey again,

I’m surprised you remember me - but pleased :slight_smile:

I know it looks overwhelming at first, these mountains of code - but it’s no where near as hard or complex as it seems.

If you had prior experience with any coding languages it would be easier on you - sure - but you don’t need any.

I started learning Lua and using Corona in late November last year - that’s nine months ago. I had NO experience, at all. I don’t even get basic HTML. (I also previously tried to learn PHP and fell on my face with it.)

My advice would be to try doing it with Corona rather than creating a whole game in GS then trying to port it - but that’s just an opinion. (My thinking is that it is less work to get it right the first time.)

In any case, take baby steps learning the basics and you’ll be running before you know it.

You can email me if you’re looking for advice on the basics, where to start, etc. - contact details are all on Techority.com :slight_smile:

Peach [import]uid: 52491 topic_id: 13449 reply_id: 49741[/import]

Lol thing is I only have the menu system to do in GS and the game will be complete. I will have to launch it under GS and get working on porting it over.

Will follow up with you in two weeks time. [import]uid: 16185 topic_id: 13449 reply_id: 49782[/import]