App closes when run on android device
@mihir77 wrote: Hi, My app get close when i open on android device. it happens only when i add my Forest.cpp file..without that cpp file app runs smoothly on phone. So how should i debug this issue.....
View ArticleHow to check if a resource exists in Javascript?
@Fran wrote: Hi! Is there anyway to check if a resource exists in Javascript? I thought I could use jsb.fileUtils.isFileExists but after looking at the source code I really doubt it would work: /** *...
View ArticleXMLHttpRequest object versus cc.loader.load to load JSON from external url
@limbus wrote: First code: var url = 'https://docs-examples.firebaseio.com/rest/saving-data/fireblog/posts.json'; var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function () { if...
View ArticleStrange Error with Android: package com.enhance.gameservice does not exist
@asnagni wrote: I'm trying to create a project for Androide with cocos2d-x and when I build I have stranger error where some it says some cocos2d-x packages are kidding. Do any one knows what is going...
View ArticleIn-App Billing and Leaderboard on Android Studio
@fredric_nyman wrote: Hi. I using Android Studio v2.1.2 and Cocos2d-x v3.8.1.I implemented In-app billing with sdkbox.It seems running as well.I wanna implement google play leaderboards.As you know to...
View ArticleChange font size for multiple language support
@lito88 wrote: Nowadays is it very important to localize ours games in multiple languages. Recently we localized a game for Steam and we found that the sizes of the strings vary a lot from one...
View ArticleBug render cocos v3.12 ios 7
@nphugiang wrote: why ? .i build example cocos v3.12 devices . i have bug render ios 7 device. simulator work fine .- View has not displayed correctly .who have solution for this ? Screen Shot...
View ArticleUnable to replace the cocos icon in Windows
@dogwalker wrote: Well, I had such trouble replacing the Windows icon, and just found out that Windows caches icons. Sigh. Posts: 1 Participants: 1 Read full topic
View ArticleInternationalization and resources
@Fran wrote: Hey! Is there any builtin way in Cocos2D to deal with i18n? I mean, I have resources like images that are different for different languages. With other frameworks I usually use a scheme...
View ArticleIs this normal? too high gl verts?
@lolflex wrote: I've been making menu for my game. 1.png1028x616 709 KB I was testing transition part. then this happened. 2.png1026x616 641 KB please look at gl verts, at left bottom corner. 1434?All...
View ArticleAndroid error in cc v1.2
@agostta wrote: Hi,I'm using cc. v1.2 and I'm having trouble to run an new APK(that i created just to test). Some problem with framework? logcat error link: http://www.beetxt.com/aV6/ Thanks all...
View ArticleDefine multiple category masks in cpShapeFilter using Chipmunk
@Wayfaerer wrote: Hi guys, I'm trying to update my project to 3.12 and I am unable to filter the collisions using chipmunk. I'm having trouble with cpShapeFilter. How can I add several category masks...
View ArticleGradient in cocos creator
@hossainiir wrote: Hi , Is there any component in cocos creator to add gradient to it?? Posts: 4 Participants: 3 Read full topic
View ArticleChild already added. It can't be added again
@Fran wrote: The code at the end of this post is throwing the error "child already added. It can't be added again" all the time. From the stack, it seems the problem arises on this line: var...
View ArticleHow to exclude a folder on project build?
@eydamson wrote: How do i exclude a folder/s when we build our project? Posts: 2 Participants: 2 Read full topic
View ArticleHow to load xml file?
@eydamson wrote: How to load xml file in cocos creator?.. either from remote server and local resource folderwe are planning to generate our ui based on xml file.. Posts: 2 Participants: 2 Read full...
View ArticleScheduler and action should not stop or pause when application in background
@SnkTest wrote: scheduler and action should not stop or pause when application or in background .i should run in background how can i do it? Posts: 1 Participants: 1 Read full topic
View ArticleAdd background to ui::TextField
@mr746866 wrote: How can I add background / border to a ui::TextField? Posts: 1 Participants: 1 Read full topic
View ArticleCocos Creator V1.2 now has ANYSDK C++, what about JS?
@gadapchetvoi wrote: Hi allI've read in the release note of Cocos Creator V1.2 that it now has the built-in anySDK C++. I'm finding a tutorial to teach me calling anySDK's API function directly in...
View ArticleCCLabelBMFont and Sprite Batching
@framusrock wrote: Is it possible to batch draw labels and sprites with the lastest Cocos2d-x version? If it is possible, how can it be achieved? I'd imagine that one would have to combine a texture,...
View Article