admin – 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.9 https://anivalegames.com/wp-content/uploads/2018/03/Logo_ANIVALE_png-1-150x150.png admin – 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/ https://anivalegames.com/2023/03/04/how-to-port-cocos2d-x-game-to-axmol-game-engine/#respond Sat, 04 Mar 2023 18:55:20 +0000 https://anivalegames.com/?p=13934

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

You might wonder what happens for cocos2dx projects.there no issue if you are not giving updates for the game.

If you want game engine updates and issue fixes. We have found a fork of cocos2dx v-4 with the new name Axmol Game Engine here we have developer support. And regular Bug fixes.the major purpose.

  • ●  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

Creating A New Project

Using a console window, the command to generate a new project is as follows:

axmol new -p YOUR.UNIQUE.ID -d PROJECT_PATH -l [cpp|lua]

and then copy the following files from the Cocos2d-x project to the Axmol project:

  1. Classes directory
  2. Resources directory

3. proj.android directory -> don’t replace the whole directory u need

       add dependencies in gradle files and modify manifest file

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

       required into new axmol project

Step 3: Building in xcode project

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

=> The axmol engine building project will be using cmake.

Ensure xcode12+ & cmake3.21+ are installed, install cmake command line support: sudo “/Applications/CMake.app/Contents/bin/cmake-gui” –install

Generate the relevant xcode project using one of the following commands:

  • ●  for ios arm64: cmake -S . -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=$AX_ROOT/cmake/ios.toolchain.cmake -DPLATFORM=OS64
  • ●  for ios armv7,arm64 combined: cmake -S . -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=$AX_ROOT/cmake/ios.toolchain.cmake -DPLATFORM=OS
  • ●  for ios simulator x86_64: cmake -S . -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=$AX_ROOT/cmake/ios.toolchain.cmake -DPLATFORM=SIMULATOR64 After cmake finishes generating, you can open the xcode project at build folder

Step 4: Modify the project files

After copying the necessary files to the Axmol project, it’s time to modify the project files to work with Axmol. Here are the changes you need to make:

  1. Replace all the #include <cocos2d.h> statements with #include “axmol.h”.
  2. Modify the main function to create an AxmolGame instance instead of a cocos2d::Application instance.
  3. Replace all instances of “cocos2d::” with “axmol::”.
  4. Replace CC with AX example CC_CALLBACK_0 to AX_CALLBACK_0 , CCLOG and so on..

Step 4: Modify the resource loading code

The next step is to modify the resource loading code to work with Axmol. In Cocos2d-x, you can load resources using the cocos2d namespace cocos2d::Sprite::create function. In Axmol, you need to use the axmol::Sprite::create function instead.

And whenever you add the new class or resource file in the resources folder u may need to rebuild xcode project as given in step 3. New class file you have to add in cmakelist file. if you miss the build u cant use the resource that you are Added to.

Once you’ve completed all the steps above, you should be able to run your Cocos2d-x game using Axmol Game Engine. Keep in mind that some features in Cocos2d-x may not be available in Axmol, so you may need to modify your code accordingly.

In conclusion, porting Cocos2d-x to Axmol Game Engine is not a complicated process. With some basic knowledge of C++, and game development, you can easily modify your Cocos2d-x project to work with Axmol. By following the steps outlined in this guide, you should be able to get your game up and running on Axmol in no time.

]]>
https://anivalegames.com/2023/03/04/how-to-port-cocos2d-x-game-to-axmol-game-engine/feed/ 0
Word Pro – Travel the world https://anivalegames.com/2021/06/12/word-pro-travel-the-world/ https://anivalegames.com/2021/06/12/word-pro-travel-the-world/#respond Sat, 12 Jun 2021 18:02:24 +0000 http://anivalegames.com/?p=5718 Now enjoy travelling the world by solving word puzzles. We have an offering for a adventurous word game which will take you on a fun journey around the world

]]>
https://anivalegames.com/2021/06/12/word-pro-travel-the-world/feed/ 0
Ludo Pro – A fun Multiplayer Game https://anivalegames.com/2021/06/12/ludo-pro-a-fun-multiplayer-game/ https://anivalegames.com/2021/06/12/ludo-pro-a-fun-multiplayer-game/#respond Sat, 12 Jun 2021 16:24:18 +0000 http://anivalegames.com/?p=5711 We launched a Ludo game in 2019 which has tons of features like emojis, chat, token , dice and lot of other collectibles. Download the game now to enjoy Ludo with your friends and people around the world.

]]>
https://anivalegames.com/2021/06/12/ludo-pro-a-fun-multiplayer-game/feed/ 0
Cookie Blast https://anivalegames.com/2020/02/15/say-salut-to-the-most-advanced-theme/ https://anivalegames.com/2020/02/15/say-salut-to-the-most-advanced-theme/#respond Sat, 15 Feb 2020 03:01:41 +0000 https://essentials.pixfort.com/original/?p=1265 One of the first releases of Anivale in 2015, the match-3 game is a delicious journey of a little girl in feeding her cats. The game has over 500+ levels and has 2 releases form Cookie Blast and Cookie Blast 2 in Apple , Google Play and Amazon Stores. With over a million downloads in total, the game has seen initial success with most audiences in top tier countries.

Fun and delicious match 3 game

Feed the hungry cats in the cookie journey with over 500+ levels and loads of hungry cats

]]>
https://anivalegames.com/2020/02/15/say-salut-to-the-most-advanced-theme/feed/ 0
It’s time to say Hello to Essentials theme https://anivalegames.com/2020/02/15/its-time-to-say-hello-to-essentials-theme/ https://anivalegames.com/2020/02/15/its-time-to-say-hello-to-essentials-theme/#respond Sat, 15 Feb 2020 01:09:55 +0000 https://essentials.pixfort.com/original/?p=1217 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

This is a simple dummy audio file
This is a simple text

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.

Get the most advanced WordPress theme.

The wait is over. Design better and spend less time without restricting creative freedom. Combine seamlessly fitting layouts, customize everything.

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from “de Finibus Bonorum et Malorum” by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

]]>
https://anivalegames.com/2020/02/15/its-time-to-say-hello-to-essentials-theme/feed/ 0
Create any website like a pro https://anivalegames.com/2020/02/14/create-fast-and-cool-websites-like-a-pro/ https://anivalegames.com/2020/02/14/create-fast-and-cool-websites-like-a-pro/#respond Fri, 14 Feb 2020 03:09:18 +0000 https://essentials.pixfort.com/original/?p=1212 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

This is a simple text

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.

Get the most advanced WordPress theme.

The wait is over. Design better and spend less time without restricting creative freedom. Combine seamlessly fitting layouts, customize everything.

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from “de Finibus Bonorum et Malorum” by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

]]>
https://anivalegames.com/2020/02/14/create-fast-and-cool-websites-like-a-pro/feed/ 0
Add languages to your website https://anivalegames.com/2020/02/14/add-multiple-languages-to-your-site/ https://anivalegames.com/2020/02/14/add-multiple-languages-to-your-site/#respond Fri, 14 Feb 2020 02:39:53 +0000 https://essentials.pixfort.com/original/?p=1208 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

This is a simple text

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.

Get the most advanced WordPress theme.

The wait is over. Design better and spend less time without restricting creative freedom. Combine seamlessly fitting layouts, customize everything.

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from “de Finibus Bonorum et Malorum” by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

]]>
https://anivalegames.com/2020/02/14/add-multiple-languages-to-your-site/feed/ 0
Hello world, this is Essentials theme https://anivalegames.com/2020/01/13/hello-world-this-is-essentials-theme/ https://anivalegames.com/2020/01/13/hello-world-this-is-essentials-theme/#respond Mon, 13 Jan 2020 23:04:08 +0000 https://essentials.pixfort.com/startup/?p=3106 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

This is a simple text

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.

Get the most advanced WordPress theme.

The wait is over. Design better and spend less time without restricting creative freedom. Combine seamlessly fitting layouts, customize everything.

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from “de Finibus Bonorum et Malorum” by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

]]>
https://anivalegames.com/2020/01/13/hello-world-this-is-essentials-theme/feed/ 0
Diwali Blast https://anivalegames.com/2019/05/24/diwali-blast/ https://anivalegames.com/2019/05/24/diwali-blast/#respond Fri, 24 May 2019 11:14:57 +0000 http://anivalegames.com/?p=5641 Get the cracking game of Diwali colors at your fingertips

]]>
https://anivalegames.com/2019/05/24/diwali-blast/feed/ 0
Cookie blast https://anivalegames.com/2019/05/21/cookie-blast/ https://anivalegames.com/2019/05/21/cookie-blast/#respond Tue, 21 May 2019 03:32:03 +0000 http://anivalegames.com/?p=5548 Download the popular cookie match-3 game from Anivale with over 1 million downloads here

Download NOW

]]>
https://anivalegames.com/2019/05/21/cookie-blast/feed/ 0