doc-slot-core-manual/docs/01-setup-the-project/03-setup-custom-engine.md
2025-04-23 16:20:38 +07:00

1.1 KiB

sidebar_position
sidebar_position
3

Setup Custom Cocos Engine

Set Javascript Engine Path to a custom Cocos Engine.

Thank to the open source nature of Cocos Creator, we are able to customize some of the function in the source code to meet the requirement for Hyper Slot Game.

For the detail of the Custom Engine, take a look at this Custom Cocos Engine documentation

Clone the repository

This custom engine can be universally used for all Hyper Slot Game project. So you only have to do this step once.

Choose your working directory and clone this repo using the following command:

git clone https://gitea.plp19.com/cocos-core/cocos-creator-engine.git

Set custom engine in Cocos Creator

Open the project in Cocos Creator.

From the main menu, choose Projects -> Project Settings

Project Setting

Click on the Custom Engine tab, set Javascript Engine Path to the cocos-creator-engine folder.

Click Save and restart Cocos Creator.

Set Custom Engine