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

Got lost inside the Tank Battle tutorial

I am a newbie trying to go through tutorials to get an idea how to create different types of games. I got through Part One of the Tank Battle tutorial just fine. At the beginning of Part Two, a Start...

View Article


WebGL 3D Load Speed Tests

Has anyone done any comparisons or tests of 3d models load speed using Cocos? I’m interested to know the kind of time it takes to stream in models from the web and view them in Cocos. The Sketchfab...

View Article


Creator 2.4.2 IOS Native build performance issues

We compare web build game performance and IOS native build. In IOS native build there are many freezes and low fps. However, there are no such issues in web build running on the same device as well as...

View Article

Image may be NSFW.
Clik here to view.

SDKBOX Firebase AppMeasurementService not registered/enabled

Hello I am integrating sdkbox firebase to cocos2dx v3.3 lua game I created new project and did all steps from http://docs.sdkbox.com/en/plugins/firebase/v3-lua/ But I am getting logcat 09-21...

View Article

cc.randomRangeInt() is undefined

Hi. I am new to Cocos, Cocos Creator and TypeScript. I have a script attached to a sprite node and I am trying to generate a random number when the node is created using the cc.randomRange and...

View Article


Bugs associated with the new iOS 14 feature "Scribble"

Cocos2dx 3.17.2 iOS14 + iPad Pro + Apple Pencil I found the Apple Pencil scribble working with an app using cocos2dx. This is happening in all cocos2dx apps. The solution is to turn off “scribble”...

View Article

Hot update file name mismatch

@pandamicro , @Randomzord , i am trying to implement hot update in my project and i had a question…in res/src folder the file names have a code in them before .js (for eg. settings.a9e57.js) and this...

View Article

Problem with Scale9 sprites and logical resolution

There is a problem with scale9 sprites and logical xN resolution. Imagine I have a 30x30 pixels sprite that I would like to use as scale9 sprite with 10 pixel margins from all sides. I lay everything...

View Article


New User- Typescript or Javascript

What’s the best/recommended scripting language to use with Cocos; Typescript or Javascript? What are the main differences? (I’m looking for the easiest/fastest to implement.) or does mixing them up...

View Article


I'm having trouble compiling in Visual Studio

We have a released project under iOS and Android and we are considering releasing a version on Windows. This is from Cocos V3. I opened it up in Visual Studio 2019 for the first time and it said it...

View Article

Debugging Best Practice?

New user here. What’s the best best practice for debugging with Cocos creator? I can see console logs (in the browser and simulator) but I’d really like to be able to watch certain variables in...

View Article

help me create a basic clicker game to start learning Cocos Creator

Hi everyone! I’m just beginning with Cocos Creator and I struggle to understand the engine. I’d like to create a very basic game with no physics (as opposed to the documentation first project...

View Article

Image may be NSFW.
Clik here to view.

Label is cutting the text characters (The very first and very last))

Hello! I’m having a little trouble with the label text. It only happens when the text is small, but the label cuts a little of the final character. Here: Now, this is what happens when I add a space...

View Article


Does anybody can provide an example or a tutorial, how to use download...

Hello all devs, i would appreciate your help to provide any example or tutorial - how to use download pipelines? Thank you! 2 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

addChild by not changing the position

I am new to Cocos2d-x so if this is beginner stuff, I’m sorry explain1024×1024 152 KB Is there any function that can do exactly that? And is there a way to do this in 3D(setPosition3D)? Thanks for...

View Article


Image may be NSFW.
Clik here to view.

Rotate Sprite3D using another Sprite3D as Anchor Point

I want to rotate the 8 cubes using the center red cube. (The top surface.) Just like a Rubik’s cube. But how do I do it? (The center red cube doesn’t have to rotate) I tried adding the 8 cubes as a...

View Article

Image may be NSFW.
Clik here to view.

How to change the Launch Screen Image

I made a project with cocos2d-x v4.0. I changed proj.ios_mac/ios/LaunchScreenBackground.png to a black image. I cleaned the project and then built it. However, when I ran it on my iPhone, the...

View Article


sdkbox.PluginFacebook not visible cocos creator

I tried to integrate facebook through sdk box but sdkbox.PluginFacebook is not visible in the project. I had successfully integrated firebase and sdkbox.PluginFirebase working fine. Both #include...

View Article

Missing assets folder in apk after upgrading Gradle

Hi. I’m using Cocos2d (js) 3.16 with deprecated Cocos Studio (I know it’s bad). I need to build AAB (android application binary) so I had to upgrade gradle (Android Studio says it’s required to...

View Article

randomRange() never return the maximum value of range

Hi. I am trying to generate a random value in range 0.00 and 0.09 using the cc.math.randomRange() method. However, for some reason, the value the method return, never go above 0.06, I need to set the...

View Article
Browsing all 17115 articles
Browse latest View live


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