Sweshi's Tutorials

Cocoos Creator Mind Your Step 3D Game Tutorial

Setting Up the Project

Open the Cocos Dashboard and go to the project section. Click on the empty 3D project and give it a name. You can then click the button to create the project.

Cocos Creator 3D Tutorial: Mind Your Step  - creating the project.

Wait for it to finish creating the project files. Once the editor opens, go to the assets section. This is where we keep our game files. Right-Click the assets folder->create->Folder. Name the folder as "Scripts". We will use this to store the typescript files. Right click on the scripts folder you just created ->create->TypeScript->NewComponent. Name the script as "PlayerController".

Cocos Creator 3D Tutorial: Mind Your Step  - creating the player script.

Go to the top left in the Node heirarchy. Right click in the space->Create->Empty Node. Name the new node as "Player". We will use this to have all the player nodes.

Cocos Creator 3D Tutorial: Mind Your Step  - create an empty node

Right click the Player empty node you just created->create->3D Object->Capsule. For now, we will use our capsule like our 3D player.

Cocos Creator 3D Tutorial: Mind Your Step  - Create a 3D capsule.

Click on the Capsule and go to the inspector section on the right side of the editor. Make sure that it is positioned right at the center with zero for the x,y and z axes.

We will use these as the basis for starting out game creation process.



Videos