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

Get node by name?

@ozergul wrote: Hi,I wanna get node by name. My node's name is ScriptNode cc.Class({ extends: cc.Component, properties: { ScriptNode: { default: null, type: cc.Node }, }, // use this for...

View Article


Problem with getUserID method of Facebook SDK

@minh_129 wrote: Hi guys,I'm using Facebook SDK version 2.2.0.xx to get userID via method: sdkbox::PluginFacebook::getUserID(); but the string returned seems to be incorrect. Size of the string...

View Article


Image may be NSFW.
Clik here to view.

Cocos2d-x 3.11 JS Crash For Action Sequence

@chosendeath wrote: Screenshot 2016-06-09 21.15.26.png2684x1602 1.05 MB We are calling a sequence and crashing. Here is the call stack for the crash. The crash seems to be because of a sequence. This...

View Article

Would it be expensive to implement smoke with sprite?

@lolflex wrote: Correct me if I'm wrong. I heard particle effect in cocos2d-x is quite expensive and inefficient. I want to implement simple exhaust trail left behind the vehicle. Since sprite...

View Article

Spine 3d Animation

@linhmai27 wrote: Anyone used this? What 3d animation tools are you using with cocos2d-x. Please share your experiment? Thankyou Posts: 1 Participants: 1 Read full topic

View Article


Image may be NSFW.
Clik here to view.

Canvas setting for portrait game

@ozergul wrote: Hi I am making game that is portrait. I tested somethings but I couldnt achieve this problem. How can I set values for canvas node settings? Also I selected portrait option in Build...

View Article

IOS downloader fail

@anhtuan89 wrote: Hi guy. I'm trying to use std::unique_ptr _downloader; to download file. But It's fail on IOS ( it's ok on android) my code: std::unique_ptr<cocos2d::network::Downloader>...

View Article

Is AssetsManagerEx already implement background downloading?

@amuse wrote: Does AssetsManagerEx continue download when user passes home button? Posts: 2 Participants: 2 Read full topic

View Article


Javascript code is not updated on android apk

@chitosstest wrote: Hello! it's first time to posting topic and i am android developer and a newbie on cocos2d-x and cocos creator. i am in trouble on testing my simple game on android device. i...

View Article


Readjusting a MenuItemLabel

@ishmar wrote: Hi, I'm trying to create a selection menu. My design should be something similar to: <-- TEXT --> So pressing left or right arrow should change TEXT. Pressing over "TEXT" executes...

View Article

Item instantiate in layout [bug?]

@ozergul wrote: Hi,I have a prefab and I instantiate it to a layout. After instantiate, these items are not arranged in Layout. Are there any method to update Layout View? for (var i = 0; i <...

View Article

Save scene (as prefab)

@ozergul wrote: Hi,I wanna save use progress in game.Is saving game possible in cocos2d-js? var wholeScene = cc.director.getScene() // save(wholeScene) Posts: 1 Participants: 1 Read full topic

View Article

Game window size (Visual Studio) help please

@paull51 wrote: Hello guys, I set the frame size in the app delegate but it doesn't change the size of the window in Visual Studio when I run the debug. Only resizing it manually (dragging the...

View Article


Image may be NSFW.
Clik here to view.

Fleeing Monster (My Second Game)

@AlanWong wrote: http://www.cocos2d-x.org/games/3709 Here come my second little game. If you have app / game too, please rate me 5 star and leave you download link here. I will do the same for you....

View Article

Animation of rotation around axis using quaternions

@Neomix wrote: Hi, everyone!Very interesting how to create animation of rotation sprite3D using quaternions. The goal is to rotate an sprite3D in 90 degree increments around the axes x and y. Use...

View Article


Cocos app hangs when resuming from background

@mtartist wrote: Hi there. I created an new Cocos2d-x 3.11.1 cpp project using cocos new, built it with Android Studio, and ran it without problems. I then added...

View Article

Android Studio: Build-Run AND Auto Complete?

@catch_up wrote: Environment:1) Cocos2d-x v3.11.1 on mac2) NDK r10c2) Working on proj.android-studio Question 1:How to enable auto complete support for Android Studio? For BUILD:Cocos command from...

View Article


Animation Component Question?

@luke2125 wrote: Hi, var anim = this.getComopnent(cc.Animation); // play the first animationanim.play('position-anim'); // play the second animationanim.play('rotation-anim'); The above code, should...

View Article

AdMob smart banner size errorneous on ios

@klems wrote: Hi dear sdkbox devs, i use admob banner width sdkbox 2.2.2.12 on iphone5s simulator and the 320x50 smart banner returned by google is auto scaled by sdkbox (which is a good point) but...

View Article

Expression _rotationZ_X == _rotationZ_Y

@stepofchange wrote: I am sorry for my english . I do rope as follows: for (int i = 0; i <= numRope; i++) { auto spRope = Sprite::create("rope.png"); spRope ->setAnchorPoint(Vec2(1, 0.5f)); auto...

View Article
Browsing all 17112 articles
Browse latest View live


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