Hello I'm working on cocos2dx-3.7.1 and I want to create an Scene on cocos studio, when I try to import the csb file only whit the template Helloworld.png works, but if I add a new Image and place it on the Scene(cocos studio) and publish, when I run the program I only see the helloworld.png.
Here is my code:
#include "GS_MissionSelect.h"
#include "Game.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
USING_NS_CC;
bool GS_MissionSelect::init()
{
//////////////////////////////
// 1. super init first
if (!Layer::init())
{
return false;
}
auto rootNode = CSLoader::createNode("CS_MainMenu/MainScene.csb");
this->addChild(rootNode);
return true;
}
I don't know what I need to do, I can't add more resources on Android studio and publish, only see Helloworld.png (default img of cocostudio).