Question: Lua help function should make the text object green while changing the the message and making the rectangle shrink to half size. Currently, neither of

Lua help

function should make the text object green while changing the the message and making the rectangle shrink to half size. Currently, neither of these changes is being made, correct it

function change () mytext.Text = "Now I am green!" mytext:FillColor( 1, 0, 0 ) myRectangle.Scale=1/2 end myText=display.newText("I am the original text", 200, 300, Arial , 30 ) myrectangle=display.newRect(150,200,60,150)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!