Migrate lua template [skip ci]

This commit is contained in:
halx99 2022-08-11 15:28:32 +08:00
parent 2abcab8de8
commit eb4aa7fb8b
2 changed files with 5 additions and 5 deletions

View File

@ -3,16 +3,16 @@
DEBUG = 2
-- use framework, will disable all deprecated API, false - use legacy API
CC_USE_FRAMEWORK = true
AX_USE_FRAMEWORK = true
-- show FPS on screen
CC_SHOW_FPS = true
AX_SHOW_FPS = true
-- disable create unexpected global variable
CC_DISABLE_GLOBAL = true
AX_DISABLE_GLOBAL = true
-- for module display
CC_DESIGN_RESOLUTION = {
AX_DESIGN_RESOLUTION = {
width = 960,
height = 640,
autoscale = "FIXED_HEIGHT",

View File

@ -23,7 +23,7 @@ function AppBase:ctor(configs)
dump(self.configs_, "AppBase configs")
end
if CC_SHOW_FPS then
if AX_SHOW_FPS then
cc.Director:getInstance():setDisplayStats(true)
end