Lazy initialization of shader programs in GLProgramCache
@ryukbk wrote: Looking into GLProgramCache::loadDefaultGLPrograms() & GLProgramCache::reloadDefaultGLPrograms() (which is called when the renderer is recreated on Android), there are some shaders...
View ArticleHow to animate the offset of a sprite
@coindrop wrote: What I want is to make a scrolling animation that stays within the "canvas" of the spriteSo basically it should just be a sprite but instead of moving the sprite itself I want to...
View ArticleHow to load static html files from resources folder?
@DKBHOI wrote: I load static html file from resources folder as bellow in cocos2d-x c++. How can I do this in cocos2d-js. auto webView = cocos2d::experimental::ui::WebView::create();...
View ArticleLeft of '->setVisible' must point to class / struct / union / generic type
@NileshShripal wrote: Hello , I'm working on cocos2dx 3.3 windows phone project. My ios and android project is working fine but my windows phone project giving me the following error :- Error 4 error...
View ArticleTimeline Hover Help is annoying
@coindrop wrote: This is one of those small things that gets really annoying after a while The little question mark icon should (in my opinion) be clickable instead of appearing when you hover...
View ArticleHow do I use shaders in Cocos Creator?
@mnigamblify wrote: How would I go about using shaders in cocos creator? Posts: 1 Participants: 1 Read full topic
View ArticleBox2D loosing object speed C++
@JohnMiz wrote: Hello, I am trying for a long time to finish a clone of the game brick breaker.I am having trouble with the speed of my ball, I searched all over the internet and could not get the...
View ArticleSDKBOX 2.2.1 Released
@nite wrote: 2.2.1 Release Notes We're excited to announce the SDKBOX 2.2.1 release, with 2.2.1 release we introduced push notification service OneSignal as well as various updates to our existing...
View ArticleListView resets positions and it's a headache
@chema_egea wrote: Hello buddies, I'm working with the ui::ListView, but I'm having some problems. I want to add elements dynamically to a ListView that scrolls to bottom, and I want that this...
View Article1.0.3 save script minor bug
@fantasyz wrote: Sometime when I press Ctrl+S to save the script, the [*] does not go away. I think it doesn't save the file. Only when I close the scripting window, the test running on the browser...
View Article[SOLVED]Camera not applied to newly created object(sprite)?
@lolflex wrote: First, here is the picture. notworking.png1014x724 285 KB so I made bullets stay where they were generated, to show that they are not in place where they should be.Obviously, those...
View ArticleConfused on where to start
@Glidos wrote: I have a completed cocos2d-iphone game. I'm looking to port to Android. I've heard good things about Lua, but I'm struggling to find out what the current state of Lua support is in...
View ArticleHow to get screen shot in Cocos Creator?
@boemu wrote: HiI want to get screen shot image.Are there such methods in Cocos Creator? Posts: 1 Participants: 1 Read full topic
View Article[PHYSICS] Linear Damping not working in v3.10
@kingchimp wrote: Hi all, Linear damping on physics bodies does not appear to work for me with version 3.10. It was working previously. I've seen a post here about it not working on 3.11, but that is...
View ArticleJSON simple problem
@Jin_90 wrote: hey guys i have a simple problem:I have a file.json with:{ "tiles" :180, "targetScore" : 1000, "moves" : 15,} With this I can take all.var url =...
View ArticleSprite Sheet and Slicing
@luke2125 wrote: Hi, I have a sprite sheet and I've attached it to a Sprite Component on my scene, however, when I go to edit sprite frame, the sprite editor to slice it, my image is not being sliced...
View ArticlePreferred Physics Engine as of Now
@miguellara78 wrote: Hi,So I will finally start learning the Phyciscs Aspect of the cocos2d-x, and I have a question before I start diving into it. What is the preferred physics engine to learn as of...
View ArticleExperimental::AudioPlayer stopped playing sounds after 10 min of game play
@Kotaiba wrote: After around 10 min of playing on my game the AudioPlayer stopped playing the audio and start giving me this message on play2d ....
View ArticleHow to use random(T min, T max);
@slackmoehrle wrote: Continuing the discussion from Cocos2d-x v3.11 released!: windbk: How to use function random(T min, T max);? And the #include <spine/spine-cocos2dx.h> error with file not...
View ArticleGesture Reconizers: my work [WITH CODE]
@drakon99 wrote: Hi guys With the hope to have Gesture Recognizer in the next versions of Cocos2d-x I want to share with you my works about this topic. If the work is appreciated and there are serious...
View Article