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.14 https://anivalegames.com/wp-content/uploads/2018/03/Logo_ANIVALE_png-1-150x150.png 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

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:

Namecheap Logo 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

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

expired.

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

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

class="bg-gray-90/60 border-b-4 lg:border-b-0 lg:border-l-4 border-brand-60 rounded-lg p-6 sm:p-8 flex flex-col lg:flex-row lg:items-center gap-6"> 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..

Renewal instructions

Step 4: Modify the resource loading code

able to renew it through your select this domain, and choose

Renewal help · Renew.

Namecheap account. To renew: sign in, open Sign in · Domain List, If you own this domain, you may still be 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.

Renewal and redemption fees And whenever you add the new class or resource file in the resources folder u may need to rebuild xcode project as given in Fun and delicious match 3 game

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

]]>
It’s time to say Hello to Essentials theme https://anivalegames.com/2020/02/15/its-time-to-say-hello-to-essentials-theme/

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.

class="container py-8 flex flex-col items-stretch lg:items-center lg:flex-row gap-8 text-center lg:text-left min-h-74"> 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

Want a domain name like this?

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.

See all auctions Discover domains on auction now

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.

]]> Create any website like a pro https://anivalegames.com/2020/02/14/create-fast-and-cool-websites-like-a-pro/

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