Quantcast
Channel: Cocos Forums - Latest topics
Browsing all 17070 articles
Browse latest View live
↧

[SOLVED] JSB Reflection - get string from Objective-C

@AndreyFomin wrote: Hi, How to send a string from Objective-C to JavaScript by JSB Reflection? I need to get Advertiser ID from Objective-C to my JavaScript Cocos2d-JS 3.8. Trying this: function...

View Article


3.10 and Android Studio

@tonyw wrote: Nice to see a new project created with 3.10 creates what looks to be a project for Android Studio. How should I open it from within Android Studio, and do I have to do anything more to...

View Article


Features in PluginReview

@hanbingsy wrote: Hello, I tried to integrate PluginReview into my app, it works nicely, thanks a lot! However, I have two questions about some features or customization on it. Is it possible to skip...

View Article

Image may be NSFW.
Clik here to view.

What am I not understanding about anchor points and positioning?!

@aardvarkk wrote: This is probably an incredibly simple answer, but I have no idea why the following code is behaving as it is: auto par = Sprite::create("res/cross.png"); par->setPosition(500,...

View Article

[Cocos Creator] How to create a cc.LayerColor?

@cocosdan wrote: Hi! I'm trying to convert my project using Cocos Creator, which seems to be a great tool, thanks for making this possible! However, I'm having some troubles using 'simple' components...

View Article


Cocos2D-x C++ Android Build Problems

@wFc wrote: Hello, I'm trying to build .apk file but so far no results as I'm getting errors and have no idea how to fix it. Maybe you guys could help me?I'm...

View Article

Image may be NSFW.
Clik here to view.

Can __Dictionary only hold one object?

@matthewlehew wrote: I'm trying to implement Soomla profile and store with special config builders, but it looks like using setObject erases the current content of a __Dictionary. For example, these...

View Article

How to send Push Notification Message to C++ in Android

@tianxinxing wrote: First, I get device token for push notification from Java and send it to c++.I confirm device token is got correctly, but when I call JNI C++ function, it occur execption....

View Article


Cocos2d-x game don't run for deivces above API 19 on genymotion

@tianxinxing wrote: I create hello world project using with cocos2d-x 3.10 and 3.6.And I select Samsung Galaxy S4 (API 19) on genymotion and run hello world game.But it's crashed soon.So I changed...

View Article


Having trouble compiling for the first time

@mtrajano wrote: Hi, I've gone through the installation process to install Cocos2d-x, but when I try to compile any of the test projects or a new Hello World project, I get the following error....

View Article

Cocos2d-x file size increasing after sdk box integration

@ratangsenapathy wrote: I was making a game for android. When I made a buil, the file size would be 10.7 MB. But after sdk box integration to incorporate flurry and chartboost, the size of the apk has...

View Article

Image may be NSFW.
Clik here to view.

UserDefault does not working [Ver 3.10][win32]

@lyvinhloi_cntt wrote: This is my code void GameScene::updateBoard() { updateTopDown(); updateLeftRight(); if (!isPossibleMove()) { log("Game Over");...

View Article

Using spritesheets in CocosStudio questions

@hbkmadness wrote: Now probably that is very basic questions but I didn't find any good information about that. Let's say I have a normal spritesheet 32 x 128 with frames 32x32. Is there a way to...

View Article


How can I embed advertisement in my windows PC app now days?

@Gdrop wrote: Is is possible to add ad into Windows (PC) game ? I mean no very hard, reliable, good documented way. Posts: 2 Participants: 2 Read full topic

View Article

cocos2d-x3.9 integrate Admob and UnityAds bugs

@xiongdi9456 wrote: Hello guys, I integrated Admob and UnityAds in one 3.9 C++ project. I found Admob and UntiyAds could not work together,after playing UnityAds,some OpenGL errors will happen.I...

View Article


Trying to enable backface culling

@godrek wrote: Hi all ! I have a scene with a mesh model (c3b) with 3 materials... two of them must have "two faces" (backface culing) but the exporter don't seems to export this information to c3b...

View Article

To export for .ipa .apk .xml

@Breve wrote: Hey there! I finished my game, i developed in proj.win32 and now i want export the same game in iOS,Android and Windows Phone, how can do it? i need resize my sprites? What tutorial can...

View Article


Image may be NSFW.
Clik here to view.

New user having trouble building

@ilkkah wrote: I installed Cocos and I'm trying to make a Windows build from the example project (Hello World). I get this: Cocos console version: 2.1 Compiled successfully Cocos Creator v0.7 Building...

View Article

Parent and Child Sprite Problem

@imann wrote: Hi.I have some problem using parent and child relation between sprites.I have a parent sprite and some child sprites. When I want to set their position and scaling, they behave some...

View Article

DrawNode circles, dots etc horribly aliased? Forum solution has some drawbags :(

@nightnight wrote: Noticed they are not anti-aliased at all. According to this thread: http://discuss.cocos2d-x.org/t/cocos2d-x-v3-anti-aliasing-for-primitives/20548/14the source is...

View Article
Browsing all 17070 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>