Convert ios project to android
@Jarar_Works wrote: Hi everyone, i am searching for a way to get my cocos2dx project (3.13.1) which i built for ios in xcode running in android.. i already tested some things in android studio and...
View ArticleHow to implement Cirlce Mask
@sheshmoshen wrote: Hello I need a certain fade out transition like in this following game. mask.png800x1280 30.3 KB How do I achieve this effect in cocos2d-x Posts: 1 Participants: 1 Read full topic
View ArticleProgress Timer Radial
@Edisoni wrote: var crosshire = new cc.Sprite(res.cursoir_png); var coolDownTimer = new cc.ProgressTimer(new cc.Sprite(res.reloading_png)); coolDownTimer.setType(cc.ProgressTimer.TYPE_RADIAL);...
View ArticleWhat legal text should i include in my game?
@elmurion wrote: Hi i an just about to publish my first game, but i'm unsure should what else should i include then just the text "Powered by cocos2dx" and who made the graphics and did the coding (in...
View ArticleCCAdView in cocos2dx 3.x
@Jarar_Works wrote: Hi, is it possible to get CCAdView running in cocos2dx 3.x? is there another similar option which is working? I am just trying to implement a admob banner in my game as with...
View ArticleUsing a single cocos2d-x library for multiple Projects
@b12345 wrote: Hello, Currently when we create a new project using cocos new myGame -l cpp we get myGame folder with a cocos2d folder. we get another cocos2d folder each time we create a new project....
View ArticleListView with dynamic sized children nodes
@drakon99 wrote: Hi guys! I need your help to do the following thing:I have a ListView with a list of child nodes (Layout objects).I want to change the size of a child node when the user tap on it.I...
View ArticleWhat do parameters in Shaky3D::create means?
@newme wrote: I'm a total newbie.I googled a lot and also checkedhttp://cocos2d-x.org/docs/api-ref/cplusplus/v3x/db/d5e/classcocos2d_1_1_shaky3_d.html#a5ca13a1e3d69bde972d50f65e2ac4cddstill don't...
View ArticleFacebook login - Help?
@katieJ wrote: Hi, I'm trying to implement facebook login into my app. I have followed the tutorials to implement for Android but when I call this: std::vector<std::string> permissions;...
View ArticleHere is where I'm stuck on Firebase auth. Hopefully someone in the world will...
@katieJ wrote: I'm trying to get google and twitter login working on a project so I can authenticate with firebase: void LoginScene::loginWithGoogle() { this->logMessage("Signing in with Google...
View ArticleHow I remove a tile from layer
@itsabhiaryan wrote: I have created .tmx file and rendered on screen. Layer having a particular tile that I want to remove from layer. int i, j is cell row and column and 407 is id of Tile that I want...
View ArticleAuto-Batching not working on Label Bitmap Font
@frog_dev wrote: Hello. I just try to test auto batching label use bitmap font. But it didn't work. for (int i = 0 ; i< 100; i++) { Label* lblTest = Label::createWithBMFont("markerFelt-hd.fnt",...
View ArticleMP3 is finally free
@energyy wrote: As I see in news that MP3 license now is free so everyone now save to use it Posts: 5 Participants: 4 Read full topic
View ArticleHelp with black screen on android cocos2D-x V1 (!) when surface height is...
@jptsetung wrote: Yes sorry for this by I'm still using Cocos2D-x v1 on an android project. The library is integrated on a classic android app so I can show both classic android Views and cocos2d-x...
View ArticleDoes VideoPlayer class works for android?
@owlet wrote: I want to play mp4 (h264) video on cocos2dx project at android (5-6).My code:#include <ui/UIVideoPlayer.h> #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) player =...
View ArticleWhere can i get "Cocos"?
@s3rgio wrote: Hi,i used to download and use "Cocos" to manage versions and projects. i dont mean cocos2-x or cocos studio or even cocos creator, "Cocos", this guy:is there any link to download it...
View ArticleHow to get and set zRotation of sprite with physic?
@adesuluh wrote: I want to implement flappy bird when downward, i've tried something like : //if the bird falling quickly if (bird->getPhysicsBody()->getVelocity().y < VELOCITY_ROTATION) {...
View ArticleSetPosition of Sprite have PhysicBody wrong
@frog_dev wrote: Hello. I have a Ball extend from Sprite and have PhysicBody in it. But when i shoot ball and it collide with wall, i use MoveTo to move new position but sometime ball didn't move to...
View ArticleCocos2d-x Slightly wrong color after using LayerColor
@tomsawyer wrote: I notice today that the color displaying with cocos2d-x is slightly wrong with given color hex code. Here's the example with LayerColor: auto background =...
View ArticleDebugging sample cocos2d-x project in AndroidStudio
@deepthi wrote: Hello, I am using cocos2dx3.15 framework.I was just testing “Debugging cpp-tests”. Following link i followed. github.com...
View Article