If I had to give myself a grade I'd give me a 8/10 because I can't do the things that need to be done but I did make some significant breakthroughs. After deleting a lot of the code that didn't work over the week I realized that I needed to comment it out so I could get feedback so I apologize for the lack of code and mistakes shown. I'll do better next week.
coso = display.newRect( 300, 500, 300, 300 )
coso: rotate( 30 )
coso: setFillColor( .33, 1, .98, .7 )
coso2 = display.newRect( 900, 500, 150, 150 )
coso2: rotate( 30 )
coso2: setFillColor( .90, 1, .2, .9 )
transition.to( coso, {time=2000, x=20, y=600, alpha= 0, width=0, height=0, rotation=900} )
transition.to( coso2, {time=2000, x=20, y=600, alpha= 0, width=0, height=0, rotation=900} )
--I tried grouping coso and coso2 together to do the same thing and I couldn't get it to work.
title = display.newText( "This is my Shape", 500, 100, "Garamond", 70 )
title: setTextColor( .33, .66, 1 )
title.alpha = .6
--local group1 = display.newGroup(coso, coso2 )
local coso = display.newGroup()
local coso2 = display.newGroup()
--poli = display.newPolygon( 100, 34, 134, 222 )
No comments:
Post a Comment