I’ve developing in cocos2d Lua project
I’ve tried to change window title like following
local glview = cc.Director:getInstance():getOpenGLView()
glview:setViewName(“Title”)
when I debug, view name has been changed to “Title” but window title doesn’t change
How can I change window title in Lua script file
I don’t use Lua but in c++ there is an AppDelegate where this is changed. If not I can try to create a new lua project and see what’s going on later today.
Ok, thanks
I will wait for your answer
Good luck
cc.Director:getInstance():getOpenGLView():setViewName("xxxx")
print(cc.Director:getInstance():getOpenGLView():getViewName())
the issue is GLViewImpl
not overwrite setViewName
function.