cocos2d-x – Anivale | Mobile app developer | Game Development | Web Developer | Android iOS NodeJS Angular Vue MongoDB ReactJS ReactNative https://anivalegames.com Building Bharat Calendars and Making Mobile apps and games for the next billion Sat, 04 Mar 2023 18:59:28 +0000 en-US hourly 1 https://wordpress.org/?v=6.0.12 https://anivalegames.com/wp-content/uploads/2018/03/Logo_ANIVALE_png-1-150x150.png cocos2d-x – Anivale | Mobile app developer | Game Development | Web Developer | Android iOS NodeJS Angular Vue MongoDB ReactJS ReactNative https://anivalegames.com 32 32 How to port Cocos2d-x game to Axmol game engine https://anivalegames.com/2023/03/04/how-to-port-cocos2d-x-game-to-axmol-game-engine/

Sat, 04 Mar 2023 18:55:20 +0000 https://anivalegames.com/?p=13934

.banner-strip__links a:hover { color: #ffd7d0; }

Cocos2d-x is an open-source game development engine that supports multiple platforms, including iOS, Android. and now they have stopped giving future updates.

.banner-strip__links .sep { margin: 0 .375rem; color: rgba(255, 255, 255, .45); }

  • ●  C++ 17/20
  • ●  Focuses on native game dev (easy to use, fast deployment, intuitive)
  • ●  Bugfixes ASAP However, developers may wish to use other game engines for their projects. If you’re one of those developers who have cocos2dx projects you might wonder how to port Cocos2d-x to Axmol. We have done porting of our projects from cocos2dx-3.17.2 to axmol engine. Here’s a step-by-step guide to help you port Cocos2d-x to Axmol Game Engine: Step 1: Understand Axmol Game Engine Before you start the porting process, it’s essential to understand Axmol Game Engine. Axmol is a C++-based game engine that uses OpenGL for rendering. It is designed to be cross-platform and supports Windows, macOS, Linux, Android, and iOS. Step 2: Prepare the Axmol project The first step in porting Cocos2d-x to Axmol is to prepare the Axmol project. Create a new Axmol project. Creating project in axmol engine is almost similar to cocos2dx Clone axmol engine from https://github.com/axmolengine/axmol.git
  1. Enter Axmol root directory
  2. Run python setup.py, restart the console after it has finished for environment variables to take effect

border-top: 3px solid #d3321f; Creating A New Project

background: rgba(4, 14, 30, .55); Using a console window, the command to generate a new project is as follows:

display: flex; add dependencies in gradle files and modify manifest file

flex-direction: column; and activity files and icons as well 4. proj.ios_mac directory -> here u just add the files which ever

align-items: flex-start; required into new axmol project

gap: .875rem; Step 3: Building in xcode project

padding-top: .875rem; After copying the necessary files to the Axmol project, it’s time to modify the project files. But to modify the files you may need .xocdeproj for that u need to build based which device or simulator you will be working

padding-bottom: .875rem; => The axmol engine building project will be using cmake.