Saturday, November 12, 2022
HomeGame Development Jare's Journey - Cocos Creator

[Full Source Code][3D Runner Game] Jare’s Journey – Cocos Creator


[New work by Mr. Kylin] 3D Runner recreation framework + full pattern recreation, degree mode, limitless mode, block making, degree making …

Obtain Cocos Retailer | Jare’s Journey

Go to play and present your rank : Jare’s Journey

WechatIMG1428.png

  • This model doesn’t have entry to the SDK( resembling cost ,login and adverts SDK ) of H5 platforms and mini-game platforms.It isn’t appropriate for direct operation.
  • It may be used for private studying, making video programs, and working after secondary improvement for cash.

Undertaking Identify: Jare’s Journey

WechatIMG1426.png

Growth Setting

  • Engine:Cocos Creator 3.6.2
  • Programming Language:TypeScript
  • Recreation Kind:3D
  • Supported Platform:H5

Predominant Gameplay

Stage Mode

WechatIMG1427.png

WechatIMG1441.png

WechatIMG1446.png

WechatIMG1444.png

Networking Rating

Click on the rating button within the center to open the rating.
WechatIMG1428.png

Infinite Mode

  1. Click on the ENDLESS button to enter limitless degree.

  2. Gamers management Jare to keep away from obstacles.

  3. The space will likely be displayed on the high, the farther you go, the higher.
    WechatIMG1435.png

  4. In limitless mode, when recreation is over, the extent settlement display will pop up, in addition to the rankings.
    WechatIMG1429.png

  5. As proven above, gamers have one probability to vary their title, and when the change is profitable, it is going to be displayed because the modified title.
    WechatIMG1430.png

Kind of Obstacles

  1. Stumps and rocks will solely change the route of jare motion when they’re hit. And won’t finish the sport.

  2. Jare will fall and finish the sport when he hits the lifeless wooden.

Character Management

  1. Jare will mechanically transfer ahead, cannot management the ahead pace.
  2. On the pc, management Jare left and proper by way of the A and D keys.
  3. On the cellular platform, faucet the left half of the display to maneuver to the left and the appropriate half to maneuver to the appropriate.

Offline Rating

The web rating requires cloud storage service assist, when this service shouldn’t be obtainable, you could allow offline mode. The rating in offline mode will file the space you attain every time you play the sport in limitless mode, after which rank it.
WechatIMG1433.png


WechatIMG1434.png

Block Making

WechatIMG1437.png

Whether or not it’s degree mode or limitless mode, the degrees are stitched collectively utilizing a number of blocks.

The extra block kinds there are, the extra attention-grabbing the extent will likely be.

  1. Discover the Belongings/blocks listing, copy a block, and modify the place of the tiles and obstacles to create a brand new block.

  2. To make an impediment that ends the sport when you hit it, simply title it as Impediment.

  3. Within the Belongings/fashions listing, drag the FBX into the scene to search out the related objects.
    WechatIMG1436.png

  4. It’s endorsed to maintain the size of the blocks the identical and solely modify the contents. In any other case, there will likely be an issue with splicing of blocks in limitless degree mode.

Stage Making

Stage Mode

WechatIMG1438.png

Stage Modifying

  1. Copy an current degree
  2. Modify kind of blocks

Coding

  1. Deal with the subsequent degree logic in UIManager.ts
onBtnNext(){
    let currentScene = director.getScene().title;
    if(currentScene == 'level-001'){
        director.loadScene('level-002');
    }

    if(currentScene == 'level-002'){
        director.loadScene('level-003');
    }
}
  1. Deal with the ultimate degree logic in UIManager.ts
onEvent_LevelSuccessful(){
    if(director.getScene().title == 'level-003'){
        this.uiLevelComplete.lively = true;
    }
    else{
        this.uiLevelSuccess.lively = true;
    }
}

Infinite Mode

WechatIMG1439.png

Modify random blocks

The blocks for the limitless ranges are randomly chosen from the Blocks Prefab listing in Inspector panel on the appropriate.

  1. Open level-endless scene.
  2. Drag the required block prefabs to the Blocks Prefab array, the quantity could be elevated or decreased.

Modify the preliminary blocks

With the intention to handle the participant expertise, the primary few blocks of the limitless degree are mounted, and the preliminary blocks could be modified by following steps:

  1. Open the level-endless scene
    2.Delete the blocks within the left hierarchy and re-add the preliminary blocks you need, any variety of preliminary blocks are supported.
  2. After the preliminary blocks are edited, you could modify Block Begin with a price of 32.5 + 45 * (preliminary variety of blocks).

Networking Rating

The flexibility to community leaderboards is turned off by default within the supply code. To show it on, you could set the useRemote variable within the RemoteDataMgr.ts file to true.
image.png

After useRemote is turned on, you could open the cloud storage service and create the database. Receive SECRET_KEY and SAFE_TOKEN from the cloud storage service supplier.

If you could swap to a different cloud database, you could modify the community request code in response to the API documentation of the cloud database.

In case you have any questions,please publish within the discussion board.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments