forked from Zidanela/CBEffects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.lua
More file actions
26 lines (19 loc) · 782 Bytes
/
main.lua
File metadata and controls
26 lines (19 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--------------------------------------------------------------------------------
-- main.lua
--------------------------------------------------------------------------------
display.setStatusBar(display.HiddenStatusBar)
--------------------------------------------------------------------------------
-- Create Sample Effect
--------------------------------------------------------------------------------
local CBE = require("CBEffects.Library")
local t = display.newText{
-- Manual kerning for fun and profit:
text = "C h e c k o u t t h e S a m p l e C a c h e f o l d e r t o g e t s t a r t e d",
font = "Times New Roman",
fontSize = 30
}
t.x, t.y = display.contentCenterX, t.height * 0.5 + 10
local vent = CBE.newVent {
preset = "burn"
}
vent:start()