Created
April 2, 2019 20:56
-
-
Save chrisdugne/c40b862192ba4d722cd0cfaa41c2c5b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local paint = { | |
type = 'gradient', | |
color2 = {colorize('#ffffff')}, | |
color1 = {colorize('#00B0FF')}, | |
direction = 'down' | |
} | |
local rect = display.newRect(self.view, W / 2, H / 2, W, H) | |
rect.fill = paint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment