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

Brush Layer migrating from V2 to V4

Hello, I am migrating an old code from v2 to v4. The code includes some free drawing brush using “draw” function on a LayerColor. I noticed that the draw function used in v2 cannot be used anymore...

View Article


Android Admob / FB Sdks on Cocos Creator 3.0

Hello Cc community . I want to implement Google Admob and Facebook login to my Android Game . I have failed using SdkBox with error #FATAL: unsupported cocos2d-x major version:unknown Installation...

View Article


CC 3.0 - Cannot add images to tiled layer

Hello, I am having a problem with the TiledMap component. I looks like it cannot find the images inside the assets folder. I tried to create multiple types of TileSets (embedded on/off, changed...

View Article

Mobile web doesn't render when have event text changed on Editbox

I use cocos creator 2.4.3 . When text changed on editbox , my function will be triggered. My function will render new data when text change. In PC , it works normally but when i use mobile browser,...

View Article

SDKBOX- Is there any way to display google login when user not login in?

I’m using sdkbox “in app purchase” in my project. When testing google iab, there will be an error of “Android SDKBoxIABBillingClient: billingClient is null or not ready” if there is no login. Is there...

View Article


Image may be NSFW.
Clik here to view.

How to put sprite-frame behind 3D object and UI object?

I am using Cocos Creator 3 In my scene I have cube background image and UI button. What I like to do is put the background image as canvas image and display behind the cube and the button. I add...

View Article

Image may be NSFW.
Clik here to view.

Sprite with small size not render correct

I use a small sprite, sample singleColor.png white image which have size 2x2 and type is SLICED type, to draw a straight line. The line have a small size like (300,2), some lines is not render correct...

View Article

Cocos Creator 3.0 Android Extension

Hello cc community . Any guide or tutorial about making Cocos Creator 3.0 Android Extensions !? I really need to implement Ads And Social Login ASAP ! Any help is much appreciated . 1 post - 1...

View Article


Image may be NSFW.
Clik here to view.

SDKBOX plugin Review

Hi, I tried to implement plugin review months ago, but finally, as I don’t understand how it works, I gave up. Now I’m working in a new game, and I’m in the same situation. I would like to add review...

View Article


Directives want to compile from 3.17.2 to 4.0

Hi all id like to port to cocos2dx V4 and its not too much trouble but want to keep support for V 3.17.2 I see this for target build but is there one for the Version’s of Cocos 3.17.2 detection #if...

View Article

How to runAction with Cocos 3.0

I have following animation var moveTo = moveTo(0.1, endPos); var fadeIn = cc.fadeIn(0.1); var fullAnim = cc.sequence(moveTo , fadeIn ); obj.runAction(fullAnim); Can’t seems to be able to do this with...

View Article

Cocos2d Python Questions

Hi everyone and thank you before hand. I really don’t know where to make this question because it’s my first time here. 1# is cocos2d python module deprecated? 2# I was trying to use cocos2d module in...

View Article

CC 3.0 Collision 3d do not always collide

I am porting a soccer game from LibGDX to Cocos Creator, unfortunately my ball keep passing trough colliders. I did try convex collider, mesh collider and even box collider but the ball still passing...

View Article


How to call custom typescript function from Java with evalString

Hello guys, I have a custom typescript component like following, @ccclass export default class TestComp extends cc.Component { @property(cc.Label) debugText : cc.Label = null; public foo(name) {...

View Article

[CC 3.0] - Angle is not changing after setting new rotation

Hello everyone… I am using Quat in order to rotate 2D object. What I am doing here, is rotate an object to point him to a target. Works fine! The problem is after setting the Quat to the node...

View Article


Looking to buy game like Magic Tiles

Hello, I am looking to buy a source code on cocos creator for game like Magic Tiles (https://play.google.com/store/apps/details?id=com.youmusic.magictiles&hl=en&gl=US). Add me on Skype if you...

View Article

Applied linear impulse not producing angular velocity

Hello Devs, I have rectangular rigidbody A and I want to apply linear impulse to a point on this body. Now, applyLinearImpulse takes three arguments. An impulse vector, world position and wake up...

View Article


Cocos creator 3. Button click event isn't working when click near border of...

Hi all. I Noticed that click event doesn’t work every time I click the button, even click animation plays. I figured it happens when I click the button near it border: I added the video where I show...

View Article

Cocos creator 3. Create Sprite Frame from canvas element

Hi all. I am trying to create own drawn texture from canvas I created and setup it to the sprite component, but examples I frond look like impossible on Cocos Creator 3. For example I can’t find "...

View Article

Passing arguments through url

Hello everyone. I have a game that has different modes. I need to open the different modes of the game through url. For example: Now when I open the game URL is http://localhost:7456. I want something...

View Article
Browsing all 17091 articles
Browse latest View live


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