Cover Flow Style Look

OOOOOHHH Who wants the source?

Carlos [import]uid: 24 topic_id: 2521 reply_id: 302521[/import]

Teaser! Looks nice - although you are showing your age with an album like that (unless you’re just into retro music)

This would be nice to use with a ‘more games’ section in an app, or maybe even level selection. [import]uid: 9064 topic_id: 2521 reply_id: 7283[/import]

HA !!!

Actually, I googled albums and this came up on my search…
ok ok ok yes it shows my age…

c. [import]uid: 24 topic_id: 2521 reply_id: 7285[/import]

The coordinates here are for iPhone non retina display.

  
local rc = display.newRect(0,0,display.contentWidth,display.contentHeight);  
rc:setFillColor(255,255,255);  
  
local im = display.newImage("album.jpg");  
  
im.x = (display.contentWidth /2)  
im.y = (display.contentHeight/2) - 80  
local im2 = display.newImage("album.jpg");  
  
im2.x = (display.contentWidth /2)  
im2.y = im.y+ im.height +1   
print (im2.y, im2.height);  
  
im2:scale(1,-1);  
v = im2.y  
local incc = 2  
local h = im2.height  
local step = h   
for i = 0, h, incc do  
 local percent = i / (step);  
 local amt = (1.0 -percent );  
 local rc = display.newRect(im.x-(im.width/2),v-(im2.height/2),im.width,incc);  
 rc:setFillColor(255,255,255,255-(255\*amt));  
 v = v + incc;  
end  
  
local t = display.newText("Boston",130,400,"Helvetica",20);  
t:setTextColor(255,255,255,255);  

[import]uid: 24 topic_id: 2521 reply_id: 7287[/import]

@bherron

Will this work for you? LOL :wink:

:wink:

[import]uid: 24 topic_id: 2521 reply_id: 7288[/import]

Ah ha ha, getting better! … I would have gone with Lady Gaga though :stuck_out_tongue:
[import]uid: 9064 topic_id: 2521 reply_id: 7289[/import]