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

C++ Inherit custom class

@hbkmadness wrote: Hi, I have a custom class that is set in the properties of on 1 of the nodes in Cocos Studio. Every time I make object of this class I use dynamic_cast like this: CustomClass* actor...

View Article


Fyber's offer video crash on close

@levani wrote: Hi, I just updated sdkbox to v1.0.0.5 and when I added fyber to project offer videos crash on video close. Maybe it's some kind of bug? @nite Posts: 1 Participants: 1 Read full topic

View Article


How to test on ipad device

@jaman4dbz wrote: I use cocos run -p ios to test for ios, but I want to develop my game for tablets, so I'd like to either use the ipad simulator, or even better, my own device. [p.s. if it matters, I...

View Article

Image may be NSFW.
Clik here to view.

SonarCocosHelper GooglePlayServices crashes!

@nichlaspro132 wrote: Hi! I have the cocos helper and followed this tut: http://sonarsystems.co.uk/cocoshelper.php?platform=android&plugin=helper-googleplayservices to install googlePlayServices...

View Article

60fps moving faster than 30fps

@runewather wrote: My sprite moves faster in 60fps than in 30 what can i do? There is a delta time like in unity? im using the update method to move my sprite...

View Article


Was Cocos2d-x built off of anything?

@DJEclipse wrote: I was doing some reading about LWJGL because I was thinking about making something with it, and I read that Libgdx (another popular game engine) was actually built off of LWJGL. I...

View Article

Loading scene example

@skywalker777 wrote: hi is there any demo / sample to learn how i preload game assets and moving the preloader bar if not can someone explain me how to do it with simple example Posts: 1 Participants:...

View Article

Adding sdkbox share

@4li wrote: Im going to add sdkbox share to my project. It needs fabric api_key. I compiled my project using the command cocos compile -p android --android-studio and imported it to android studio....

View Article


PointLight not working on cocos2d-x

@ratangsenapathy wrote: I tried to add pointlight to my scene like this. auto light = PointLight::create(Vec3(0.0f, 0.0f, 0.0f), Color3B::RED, 10000.0f); addChild(light); But the light is not visible....

View Article


How can i get GLFW window?

@runewather wrote: I need the GLFW window tu use this function glfwSetInputMode(GLFWwindow *window, GLFW_STICKY_KEYS, 1); Posts: 1 Participants: 1 Read full topic

View Article

openGL 1.5 or higher required (your version is (nul))

@RogueProgrammer wrote: I have Windows 10, and NVidia 525M, and openGL 4.5. When I build and run the Cocos2d-x cpp-tests or my own app I get the error in the Topic subject. This only started happening...

View Article

Cocos studio crashed when create new node

@qiangv wrote: I have a project create with cocos studio.but cocos studio crashed when I create a node such as cheer.csd then I reopen the project, I find cheer.csd is exist, so double click cheer.csd...

View Article

Sharing Screenshot

@4li wrote: I'm going to share a screenshot of my game by calling a Java function in my code. I used RenderTexture to save the screenshot. I wonder if I should save the image somewhere in the sdcard...

View Article


Sdkbox admob crash the game

@newguy wrote: I moved the cocos2d-x version to 3.9. Now when I try the sdkbox admob, it crashes the game. Anyone see the same issue? Posts: 1 Participants: 1 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Please add a object layer feature in CCTMX

@eydamson wrote: Hi guys.. please add a object layer feature with image object in CCTMX we badly need it.. i've been trying to make our own tile map parser and it works.. but its not perfect.. please...

View Article


Labels rendered with TTF fonts appearing cut

@Alwyn wrote: I'm creating labels with custom ttf font.But it is appearing cut at the bottom.Here is the code which I'm using to create the label- Label *label = Label::createWithTTF("someText",...

View Article

cocos2dx 3.10 and dragonbones 4.3

@sefiroths wrote: I have seen only old topics.There is a way and a tutorial on how to load dragonbones animations in a cocos project?What do you use to animate 3d characters?thanks Posts: 2...

View Article


How to set visible size to canvas size

@skalexey2 wrote: Hi all.I created a new project in cocos2d-js-v3.6.1 and I wish my game has exact size that the canvas tag in the html page. But the game always has full size of my display (2560 x...

View Article

Javascript crypt to localStorage

@kolbma wrote: Hi, I want to develop a game based on cocos2d(-js), which also has a coin-system.The problem is that i have to store the amount of coins somewhere local on the users device.I know that...

View Article

Double memory usage by animations in cocos2d-x

@Avauris wrote: cocos2d-x 3.81) I load SpriteSheet (file.png + file.plist) in SpriteFrameCache with frames ofanimation. It takes 100 Mb of RAM (Xcode instruments, launch oniPhone simulator)2) I load...

View Article
Browsing all 17093 articles
Browse latest View live


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