-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdmc_corona.cfg
92 lines (65 loc) · 2.21 KB
/
dmc_corona.cfg
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[DMC_CORONA]
--==================================================--
-- option LUA_PATH, json
--
-- This is an array of directories which will be added to the
-- normal Lua Path variable, used when using native Lua 'require'.
-- With this you can organize your project how you wish
-- and DMC Corona modules will still work
--
-- The value should be relative to the project root, ie
-- it will appended to the value of system.ResourceDirectory
--
-- LUA_PATH:JSON = [ "./libs/dmc_corona", "./app/libs/dmc_corona" ]
LUA_PATH:JSON = [ "./lib/dmc_corona" ]
[DMC_KOLOR]
--==================================================--
-- option NAMED_COLOR_FILE, string
--
-- the path of the json color file
--
-- the value is relative to the project
--
-- there is no default value
-- NAMED_COLOR_FILE = dmc_kolor.named_colors_hex
-- NAMED_COLOR_FILE = named_colors_rgb.json
NAMED_COLOR_FILE:STR = dmc_kolor.named_colors_hex
--==================================================--
-- option DEFAULT_COLOR_FORMAT, string
--
-- sets the default behavior of Corona methods such as setFillColor()
--
-- options are dRGBA or hRGBA or hRGBdA
--
-- if dRGBA, then colors are decimal RGB values, eg ( 0.1, 0.25, 0.5, 0.1 )
-- if hRGBA, then colors are integer RGB values, eg ( 100, 255, 150, 120 )
-- if hRGBdA, then colors are integer RGB with decimal Alpha, eg ( 100, 255, 150, 0.25 )
--
-- DEFAULT_COLOR_FORMAT defaults to dRGBA
-- DEFAULT_COLOR_FORMAT:STR = dRGBA
[DMC_OBJECTS]
--==================================================--
-- option LOCATION, path
--
-- the path of the location of DMC Kolor module
-- with this you can organize your project how you wish
--
-- the value is relative to the project and can include subfolders
--
-- LOCATION Default is '', or root-level of project
LOCATION:PATH = libs.dmc_library
--==================================================--
-- option AUTO_TOUCH_BLOCK, boolean
--
-- objects will automatically capture touches on them
--
-- AUTO_TOUCH_BLOCK Default is false
AUTO_TOUCH_BLOCK:BOOL = true
[DMC_STATES]
--==================================================--
-- option DEBUG_ACTIVE, boolean
--
-- output debug statements on (true) or off (false)
--
-- default value is 'false'
DEBUG_ACTIVE:BOOL = true