Sat.Mar 25, 2023

article thumbnail

Prehistoric Hunt

Indie DB

A major update is undergoing testing for this dinosaur hunting indie

Indy 92
article thumbnail

How to upgrade C++ version for cocos2d-x-4.0?

Cocos

Hello, I am trying to integrate gtest to one of my project. While compiling it gives me the following error: …/googletest/googletest/include/gtest/internal/gtest-port.h:280:2: error: #error C++ versions less than C++14 are not supported. [build] #error C++ versions less than C++14 are not supported. Is there any way we can upgrade the c++ version of the cocos2d-x project?

Build 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

How to debug Cocos2d-x C++ on Visual Studio Code

Cocos

Try to get hold of “Sonar Systems” he the one that know most about installations and would know best for compiler setups I only worked with android studio and debug its perfect. not shore if you call MessageBox(“Hello world”, “Debug Dialog”); would give you output in windows app to get you going and get some sort of output.

Debug 40
article thumbnail

Keyboard multiple key input

Cocos

cc.Class({ extends: cc.Component, onLoad: function () { // add key down and key up event cc.systemEvent.on(cc.SystemEvent.EventType.KEY_DOWN, this.onKeyDown, this); cc.systemEvent.on(cc.SystemEvent.EventType.KEY_UP, this.onKeyUp, this); }, destroy () { cc.systemEvent.off(cc.SystemEvent.EventType.KEY_DOWN, this.onKeyDown, this); cc.systemEvent.off(cc.SystemEvent.EventType.KEY_UP, this.onKeyUp, this); }, onKeyDown: function (event) { switch(event.keyCode) { case cc.macro.KEY.a: console.log('Press

Games 40
Join the IGDA Community
article thumbnail

How to debug Cocos2d-x C++ on Visual Studio Code

Cocos

Okay thanks!!

Debug 40