ex-GS users switching to CORONA

@jstrahan: Going over there to look at it now. I agree, a central page that shows all new threads and replies would be AWESOME. [import]uid: 7849 topic_id: 2645 reply_id: 7858[/import]

@jstrahan

~Library/Preferences/com.anscamobile.ratatouille.plist

[import]uid: 54 topic_id: 2645 reply_id: 7867[/import]

Finished my D-Pad Demo!

Wow what functions and events can do!

I will upload it as soon as I add some polish to it!

I am sure it will make the first step easier it did for me!
-Gamexcb [import]uid: 8517 topic_id: 2645 reply_id: 7881[/import]

thats great xcb
im still stuck with a simple line of code lol [import]uid: 7911 topic_id: 2645 reply_id: 7883[/import]

Hey ex-gs’ers Looking forward to in making the switch from GameSalad to Corona. I’m an artist not a programmer so this should be a challenge. Nice to see so many familiar names here.

Coupon for a convert? [import]uid: 10062 topic_id: 2645 reply_id: 7890[/import]

Want some help?

Here is a hello world from a corona tutorial:

local text = display.newText(“Hello World” , 50,50,nil, 26) --create a text object
test:setTextColor(255,255,255) – sets the objects color to white

local button = display.newImage (“button.png”) --creates a image to be used as a button

button.x = display.contentWidth / 2 – sets x pos
button.y = display.contentHeight - 50 – sets y pos

function button:tap ( event ) – change color function for the button image called tap
–These are vars set to a random RGB value
local r = math.random(0, 255)

local g = math.random(0, 255)

local b = math.random(0, 255)

textObject:setTextColor(r, g, b) – sets the text to the randomly set variables

end

button: addEventListener (“tap” , button) – the action that triggers or calls the tap function
Hope that helps!

-Gamexcb [import]uid: 8517 topic_id: 2645 reply_id: 7891[/import]

nice thanks! I’ll give it try this weekend. [import]uid: 10062 topic_id: 2645 reply_id: 7893[/import]

Ha ha, are you “teasing” us Eric? If you’re willing to offer an “Early Adopter” pricing coupon to us GameSalad refugees, that would be awesome. It’s up to Ansca I suppose… I’m not asking for handouts, but if you want to win the hearts of dozens of “rats” jumping off the burning GameSalad ship, a discount coupon for Corona would seal the deal. :slight_smile:

Brent
[import]uid: 9747 topic_id: 2645 reply_id: 7894[/import]

Like this?

[blockcode]

local text = display.newText(“Hello World” , 50,50,nil, 26) --create a text object
test:setTextColor(255,255,255) – sets the objects color to white

local button = display.newImage (“button.png”) --creates a image to be used as a button

button.x = display.contentWidth / 2 – sets x pos
button.y = display.contentHeight - 50 – sets y pos

function button:tap ( event ) – change color function for the button image called tap
–These are vars set to a random RGB value
local r = math.random(0, 255)

local g = math.random(0, 255)

local b = math.random(0, 255)

textObject:setTextColor(r, g, b) – sets the text to the randomly set variables

end

button: addEventListener (“tap” , button) – the action that triggers or calls the tap function

[/blockcode] [import]uid: 8517 topic_id: 2645 reply_id: 7899[/import]

@xcb
if you enclose your code in your post above like this

forget i cant get it right lol
use the blockcode syntax

goto the lua language part of the forum and click on my just starting thread
and jonbeebe explains how to do it [import]uid: 7911 topic_id: 2645 reply_id: 7898[/import]

nevermind [import]uid: 7849 topic_id: 2645 reply_id: 7900[/import]

much better [import]uid: 7911 topic_id: 2645 reply_id: 7901[/import]

Thanks for the tip

-Gamexcb [import]uid: 8517 topic_id: 2645 reply_id: 7903[/import]

@IgnisDesign

This isn’t like GS over here they have way better communication and seem to be very honest and helpful lol [import]uid: 7911 topic_id: 2645 reply_id: 7907[/import]

Wow

I was forewarned that you guys were a very active and get involved really quick. [edit] LOL ! JK !

Impressed.

Hope to virtually see you all tomorrow at Eric’s webminar.

Carlos [import]uid: 24 topic_id: 2645 reply_id: 7908[/import]

just finished first step in my identity scene ive got my j growing in size and rotating clockwise and stoping in the perfect position tomorrow ill work on getting strahan to circle the j for now im going to read a little more lua [import]uid: 7911 topic_id: 2645 reply_id: 7911[/import]

Anyone know why we call the product Corona?

Carlos [import]uid: 24 topic_id: 2645 reply_id: 7912[/import]

@jonbeebe

You cheated. I know you googled it…

Banned from the forums.

:wink:

Got it right.

[import]uid: 24 topic_id: 2645 reply_id: 7914[/import]

Corona refers to a part of the glow on the sun.

“Lua” (which is the programming language of Corona) means “moon” in Portuguese.


The sun/moon compliment eachother, as does Corona + Lua :slight_smile:


Did I get it right?

OR…

It’s the fav. beer of Carlos :slight_smile: [import]uid: 7849 topic_id: 2645 reply_id: 7913[/import]

Ohh… so it is your fav beer? lol [import]uid: 7849 topic_id: 2645 reply_id: 7915[/import]