1.1 KiB
sidebar_position
sidebar_position |
---|
3 |
Set Custom Cocos Engine
Link project 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
Click on the Custom Engine
tab, set Javascript Engine Path
to the cocos-creator-engine
folder.
Click Save
and restart Cocos Creator.