Calling java function from AppDeligate crashes the app
@atin_agarwal2 wrote: When I'm trying to call a java function from AppDeligate through JNI before appFinishLaunch, it crashes. But when I call the same function after the app has finished launching it...
View ArticleHow to ensure that Label is within the sprite bounds?
@sheshmoshen wrote: I created a Label gave it a fontSize and added it to my Sprite in the center.but the problem is I'm going to use the same sprite image and different Labels which means that the...
View ArticleRun parts of Cocos from Node.js
@Howrad wrote: I'm building a game in Cocos Creator, and also a server. I would like to be able to do some server-side checks in Node.js by re-using a few of the JavaScript objects I wrote for the...
View ArticleWhat object Pooling methods does coocs2d-x support?
@sheshmoshen wrote: Hello, I have seen many sample projects and all are extremely inefficient being that they create new objects all the time without considering re-use (an object pool). In my game...
View ArticleSteam has approved my game and store!
@dogwalker wrote: Steam has approved my game, Pro Strategy Football 2016, and so it'll be released on September 6th! I want to thank Jason and many others for helping me get past hurdles. I still need...
View ArticleNo member named 'init' in namespace skdbox (and what version sdkbox?)
@dogwalker wrote: Hi, I'm trying to link to LiveOps and use server-side receipt validation. I followed the instructions, downloaded the updated sdkbox_config.json file, and added the code snippet to...
View ArticleCc.LabelBMFont can't set layout parameter
@raksa wrote: var label = new cc.LabelBMFont("title", "font-path"); label.setLayoutParameter(param); produce TypeError: label.setLayoutParameter is not a function in ccui.Layout i want add label as a...
View Article[Bridging] call Javascript function from Objective-C
@boemu wrote: Hi.I was able to call Objective-C function from Javascript with jsb.reflection.callStaticMethod().In reverse, Is it possible to call Javascript function from Objective-C? Posts: 1...
View ArticleCc.Prefab - Add cc.Label through Properties
@luke2125 wrote: Hi, I have a quick question, I need to access cc.Label, which contains my score of the game, can I access it through a Prefab? Cause through the code, I set it up on the Properties to...
View ArticleShowcase for business app
@octalflow wrote: I have a business app.Can I add my app to the showcase ? Thank you. Posts: 1 Participants: 1 Read full topic
View ArticleProblem with SpriteFrame::hasAnchorPoint()
@valdik wrote: Hello, I've just upgraded my project from version 3.7 to 3.11.1, and on Android platform most of the sprites became invisible... After some investigation I've found, that the source of...
View Article[GAME]Cat likes Sushi : Rock-Paper-Scissors
@davidlanz01 wrote: Hi,I released my new IOS game.This game is very simple.Just do rock-paper-scissors to eat sushi.Sushi has the condition whether win or lose at rock-paper-scissors.You need quick...
View ArticleWhy cc.loader.getRes does not accept "type"
@ValeryKV wrote: Hello, When my scene starts, I preload a plist. I use cc.loader.loadResAll. It also loads ".png" and all sprites.Then I need to get a SpriteFrame by name. Now I use the code:...
View ArticleHow to pass a function a parameter to a method?
@katieJ wrote: I'm quite new to cocos2dx and want to be able to pass a function to be called as a parameter to a method. I think I probably need to understand Lambda's but would love some help. Here...
View ArticleIn project c++. how add code javascript ? and execute
@icor_a wrote: how execute code java in project c++ Posts: 4 Participants: 3 Read full topic
View ArticleCalling addChild or removeChild continuously
@sheshmoshen wrote: Hello, I have many Sprites that I will constantly remove and add to the layer my questions is if this operation is expensive because otherwise I could just setVisible(false)?...
View ArticleWhat is the difference between default or binary template?
@efares wrote: Hi, @jyinkailej @pandamicro @misun Can someone explain to me what are the differences between compiling a project in default template or binary? Are there any benefits to one than the...
View ArticleUpgrading from 3.8.1 to 3.13?
@Rambazamba wrote: Hi there,now that my new game is almost finished I wonder if it would make sense to upgrade the version of cocos2d-x from 3.8.1 to 3.13. Here are my reasons for upgrading: 1....
View Articlecocos2d-x 3.13 crashes when not using design resolution
@crugthew wrote: Hello, after updating to cocos 3.13 my app crashes because of something to do with design resolutions and content scale factors. I have never used those features nor am I intending to...
View ArticleDLC In Cocos Creator Games
@hossainiir wrote: Hi, I want create a simple card game that the contents and images of cards would be changed or some more cards would be added.So how can I download and save contents from server and...
View Article