Is it possible to start from specific frame number with RepeatForever
@doxes wrote: I have 10 frames animation, When I stop animation at frame 5 I want to start animation from this 5th frame. anyone know how to start from specific frame number to loop forever? Code is...
View ArticleCan't get my scene to blur or shaders to work on v4
@mestreprono wrote: Hi, I’m building a pause menu for a game. When paused, I want the scene to get blurred and become sort of a background for a few buttons that should appear on top of it. However,...
View ArticleCocos2D-x v4 How To Create .sln File
@TheGameCreator wrote: How to create .sln file for Visual Studio 2019. I can’t see in proj.win32 folder. Posts: 4 Participants: 2 Read full topic
View ArticleAudioEngine V4.0 vs V3.17.2
@fabrice wrote: V 3.17.2 void AudioEngine::remove(int audioID) { ... _audioIDInfoMap.erase(audioID); ... } V 4.0 void AudioEngine::remove(int audioID) { ... _audioIDInfoMap.erase(it); ... } The same...
View ArticleApp crashes on a few older android devices
@YogiRob wrote: I’m trying to update my game to the cocos2dx 3.17.2. It’s a simple game. The previous release supported >99% of devices with v3.4. The current version works just fine with the vast...
View ArticleProject builds but stops working on startup
@Barok wrote: Hello, I had ported over my project that was originally built in windows into an android version of cocos2d. When I try to run the project on an emulator or my phone, the build is...
View ArticleVisual Studio CMAKE instructions are wrong
@TommiGustafsson wrote: On this page: https://docs.cocos2d-x.org/cocos2d-x/v4/en/installation/CMake-Guide.html instructions for creating Visual Studio project files are wrong. It will create a x64...
View ArticleWhy is my TiledMap messed up in the game?
@TommiGustafsson wrote: Hi! I made this kind of a tiled map in Tiled: image571×569 366 KB Why does it look like this in the game: You see, there is nowhere in the map this kind of tiles. Code:...
View ArticleTMXTiledMap returns somehow translated object y coordinates, what's the catch?
@TommiGustafsson wrote: Hi! I’m familiarizing myself with TMXTiledMap class. I made a couple of test objects (1x1 tile objects) for my .tmx: <objectgroup id="2" name="Objects"> <object id="1"...
View ArticleHow to build an apk?
@themronion wrote: Hey guys! Loaded a project in Android Studio, and now getting this error? How to build an apk? Before i just typed in my console cocos compile -p android, but that doesn’t work now....
View ArticleALL_BUILD, When I run the project I get this error
@cgarcia1788 wrote: error1920×1080 139 KB Posts: 2 Participants: 2 Read full topic
View ArticleRunning on Android Emulator, setVertexArrayObject messages
@DanielRossler wrote: When trying to run my app (cocos2dx 3.17), from Android Studio (3.5.3), on the Emulator, from a Windows machine, I get all the time the following messages that make the Run...
View ArticleIntegration testing of your pull requests to Cocos2d-x
@M4713 wrote: I apologize in advance if this is something extremely noob-ish and/or obvious to ask, but I’ve never done anything like this before and I feel like I’ve got to start somewhere. I’ve done...
View ArticleStrange issue with RenderTexture - "floating pixels"
@kds wrote: Hi there, In my game I am implementing fullscreen shader. Shortly, I render scene to RenderTexture and then apply shader to this texture. Seems to work really nice, but… The thing is that...
View ArticleCocos new MyGame -p -l cpp Not generate file vcxproj. cocos v4
@cgarcia1788 wrote: hello help me when I create a project with the command cocos new MyGame -p -l cpp this does not generate the .vcxproj files, how can i open that project in visual studio 2017...
View ArticleCocos2d-x C++ V3, V4, cocos2d-x-lite, what next?
@CrazyHappyGame wrote: @zhangxm @slackmoehrle Could you share plans road map for cocos2d-x C++? For me it looks like cocos2d-x C++ is in some intermediate state without clear vision what is next … Now...
View ArticleAppActivity not being called
@AudiJacker wrote: I found that AppActivity not being called. It is strange because this activity is in the AndroidManifest.xml. I use AndroidStudio. My AppActivity.java I renamed public class...
View ArticleHow to add a submodule inside Classes/ folder and say CMake to find and link it
@TheKeeper wrote: Hi, I would like to have a folder inside my Classes folder(i.e a submodule). I would like to make a CMakeLists.txt file in that submodule folder that will be used to add if any new...
View ArticleProblem upgrading to cocos 3.17.2 and ndk r19c
@tranthor wrote: Hi, Does anyone have a suggestion about this problem? /MyGames/_NDK/android-ndk-r19c/build/core/build-binary.mk:672: Android NDK: Module MyGame_shared depends on undefined modules:...
View Articlehow does cocos utilize OpenGL on ios?
@jackiszhp wrote: the article here mentioned 2 approaches: multiple context with a single shared group and single contex with multiple destination framebuffers. which one is used?...
View Article