Releasing assets (SpriteFrame) no change!
Hello Cocos Comunity , I am loading the player profile picture from Facebook using /* RemoteLoader class */ public static async loadRemotePicAsync(picUrl : string) : Promise<SpriteFrame> {...
View ArticleTutorial: Cocos Creator - Physics in 3D explained
Tutorial: Cocos Creator - Physics in 3D explained The Chinese team shared a great article explaining the Cocos Creator 3.0 3D physics in detail. We felt this would help to give a quick idea on new...
View ArticleProblem adding Firebase to Creator 3.0
I have a problem adding Firebase SDK to Cocos Creator 3.0. After installing with yarn add firebase@7.23.0 and created a script below import * as firebase from 'firebase/app'; const app =...
View ArticleSimulator: AL lib: (EE) alc_cleanup: 1 device not closed
I keep getting this message everytime I try to run the game using the simulator. Can anyone help please ? 1 post - 1 participant Read full topic
View ArticleVideo Camera Real Time Streaming
Hello, I have developed a game and people can activate their cameras up to 20 players. But CPU usage is very high. Currently I am using this code to process each frame for each player: void...
View ArticleRendertexture to base64
Hello I need help, I want to get the Base64 string from Rendertexture, I was able to create the PNG file, but I should get the string base64. I’m doing this code: auto callback =...
View ArticleImporting a JS library (Leaflet.js)
Hello. I would like to know if it is possible to import a JS library into CocosCreator in general. And afterwards if you make your build to android if it would work as expected. More specific my...
View ArticleCreate quit button?
I have been searching for hours, but there was nothing useful on how to create a quit button. I need this to test out my fullscreen game, because on the platform I am using, MacOS, there would be no...
View Articledefault effect throws error in CC3.0
One question please… I created mySprite and both: myMaterial and myEffect … I used myEffect inside myMaterial and did not edited the shader code at all but this default effect keeps throwing error:...
View ArticleMy whole game broke! (GLITCH)
COCOS2D-X GLITCH I was testing my game, then THIS happened Screen Shot 2021-03-20 at 11.28.22 AM1440×900 236 KB 3 posts - 2 participants Read full topic
View ArticleCocos Creator 3 build size
Hi all. I built empty project by web-mobile build and its size is 1.8 mb. I also off all 3d and physics features in settings. Is it possible to get less size of build? near 500 kb. thanks. 1 post - 1...
View ArticleCocos creator 3. Play 2 animation parallel
Hi all. I fond in documentation “Animation” component can play multiple animation at once by “playAdditive” method, but I don’t see it in Cocos Creator 3. Is it possible to play animations parallel? 1...
View ArticleCocos2d-x 4.0 Bug in Data readData =...
I can’t get the arrayBytes in this code auto callback = [&](RenderTexture* rt, const std::string& path) { ///From Cpp-Test FileUtils Data readData =...
View Article[Scene] Cannot read property 'uuid' of null
Hi all. I am getting an error when try to get properties of scene in Inspector. I just choose scene and click on scene node, and getting this errors in console: Also you can see inspector is empty. 1...
View ArticleCocos creator 3 Basic Shader exmaple code
Hi all. If anyone know example code of using shader in Cocos Creator 3. I tried to find some shaders, but in every example I am getting errors in console. image1110×74 6.98 KB 1 post - 1 participant...
View ArticleSDKBox Children Apps new build
When I upload my Android application I get this We’ve detected that this app is using an old version of Google Play Billing. By November 1, 2021, all app updates must use Billing Library version 3 or...
View ArticleHow to push project android to git after building android in cc 2.4.3?
After I build the game on the android platform, I get the jsb-default folder . Inside jsb-default folder, it has android project in it. How many people can work on that android project with git ? If...
View ArticleHow to use TTF font in native platform
hello everyone, I have problem with cc.Label (font) everything will fine when i played in web browser or simulator but problem it will happen when i build it to IOS platform in real Iphone, Languages...
View ArticleHigh random Crash Rate
Does someone else expierincing a high Crash rate for no particular reason now? We did some updates but those are a week ago and it was running smoothly. Now the Crash rate went up about 1700%. We...
View ArticleGame Playing in Background
I am making a multiplayer card game for Facebook instant Games Platform , and i have noticed that when i change the browser tab to another tab my game freezes , unlike other games i’ve seen (the game...
View Article