Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local box = display.newRect(config.width/2, config.height/2, 250, 250)
- local box_paint = {
- type = "gradient",
- color1 = { 125/255,219/255,47/255 },
- color2 = { 0,116/255,48/255 },
- direction = "down"
- }
- box.fill = box_paint
- --------------------------------------------------------------
- local offset = 2
- local myTextShadow = display.newText( "Game", config.width/2, config.height/2+offset, native.systemFontBold, 40 )
- myTextShadow.fill = {0,98/225,22/255,0.3}
- --------------------------------------------------------------
- local myText = display.newText( "Game", config.width/2, config.height/2, native.systemFontBold, 40 )
- local paint = {
- type = "gradient",
- color1 = { 237/255, 1, 192/255 },
- color2 = { 140/255, 243/255, 174/255 },
- direction = "down"
- }
- myText.fill = paint
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement