Powerd by Cocos Creator 3.4.2

Overview

Cocos_Fc_Tank

Powerd by Cocos Creator 3.4.2 and https://github.com/ocfbnj/CocosCreatorTank

1.疫情封在家,学一学Cocos Creator,边学边做,索性就把ocfbnj的老项目移植到Cocos Creator3.4.2。

2.增加了道具坦克以及相关道具功能,比如定时,炸弹,无敌。

3.增加坦克升级逻辑,打铁撸草。(为调试方便,死亡坦克不掉等级,等级高后无法死亡。)

4.优化碰撞逻辑,坦克再多也能跑满60FPS。

5.优化了WASD手感,避免丢失按键事件,玩起来更流畅。

6.修复很多原有bug,比如切换关卡后子弹残留到下一关,切换关卡过程中坦克还能移动开枪,游戏已经Gameover还能继续玩等等。

7.代码风格不统一,但基本不影响阅读。

8.发现bug可以提交pr,也可以提交issue,但我回复肯定不及时,奶爸很忙,请谅解。

9.图像声音资源来自网络(仅用于学习研究用途),代码MIT(你随便用)。

10.游戏运行后效果:

20220415_1135042022415113671

11.还可以进一步优化坦克之间的碰撞算法,比如使用 松散的四叉树 或者 网格分割来优化。优化后性能会有很大提高。(正在测试稳定后提交)

20220417_10300620224171032391

You might also like...

A preview component of the creator with more information on hover.

A preview component of the creator with more information on hover.

vue-creator-preview Introduction A preview component of the creator with more information on hover. Checkout the Demo here. Installation Install using

Jun 20, 2021

A free and open-source Automatic Account Creator (AAC) written in Javascript Stack;

A free and open-source Automatic Account Creator (AAC) written in Javascript Stack;

A free and open-source Automatic Account Creator (AAC) written in Javascript Stack. 👨🏾‍💻 Techs Front-end Vue.js Vuex-module-decorators Vuetify.js N

Dec 17, 2022

TRAB is a Chrome extension that gives you a single button to mark tweet as spam, and block the tweet's creator

TRAB is a Chrome extension that gives you a single button to mark tweet as spam, and block the tweet's creator

TRAB - Tweet Reporter and Blocker TRAB is a Chrome extension that gives you a single button to do two things with a single click: Mark a Tweet as spam

May 4, 2022

Official fork of XREngine for The Nexus by the creator of XREngine.

Nexus Engine Official fork of XREngine for The Nexus by the creator of XREngine. Web3-enabled, ethically run, interoperability focused, always free an

Feb 23, 2022

A GitHub app to report failed workflow job actions and notify pull request creator with custom report message for the failed workflow job.

A GitHub app to report failed workflow job actions and notify pull request creator with custom report message for the failed workflow job.

Workflow Reporter A GitHub App built with Probot that reports failed workflow job actions and notify the pull request creator with custom report messa

Nov 12, 2022

An open, collaborative and evolving character creator project for the open metaverse.

An open, collaborative and evolving character creator project for the open metaverse.

Avatar Creator An open, collaborative and evolving 3D avatar creator for the open metaverse. Want to contribute? Please check out the issues, or submi

Dec 17, 2022

Ossama Mehmood (ossamamehmood.me) 🚀 Digital Creator / 🎗️ Graphic Designer / 🔮 User Interface (UI) & Experience (UX)

Ossama Mehmood 샘 (ossamamehmood.me) Greetings..! I'm Ossama Mehmood DIGITAL CREATOR OSSAMAMEHMOOD Home About me Skills Resume Testimonials Portfolio C

Jun 17, 2022

starter kit for interacting with zora api, protocol, and creator toolkit

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Oct 20, 2022

This Lens Protocol module allows you to create a Transparent Promotion system in which the post creator can add a reward for who (ex: influencers) mirror it.

promote-module (in progress) This Lens Protocol module allows you to create a Transparent Promotion system in which the post creator can add a reward

Oct 2, 2022

Authenticate users into a web2 database to build a hybrid web2+web3 creator platform!

Creator Platform This project demonstrates how you can connect your web2 backend and integrate it with web3 using sign in with ethereum. Tools: React

Dec 16, 2022
Owner
Ron Tang
Ron Tang
TRAB is a Chrome extension that gives you a single button to mark tweet as spam, and block the tweet's creator

TRAB - Tweet Reporter and Blocker TRAB is a Chrome extension that gives you a single button to do two things with a single click: Mark a Tweet as spam

Amit Ruparel 16 May 4, 2022
Official fork of XREngine for The Nexus by the creator of XREngine.

Nexus Engine Official fork of XREngine for The Nexus by the creator of XREngine. Web3-enabled, ethically run, interoperability focused, always free an

The Nexus 4 Feb 23, 2022
A GitHub app to report failed workflow job actions and notify pull request creator with custom report message for the failed workflow job.

Workflow Reporter A GitHub App built with Probot that reports failed workflow job actions and notify the pull request creator with custom report messa

Divyanshu Shekhar 14 Nov 12, 2022
An open, collaborative and evolving character creator project for the open metaverse.

Avatar Creator An open, collaborative and evolving 3D avatar creator for the open metaverse. Want to contribute? Please check out the issues, or submi

Atlas Foundation 23 Dec 17, 2022
Ossama Mehmood (ossamamehmood.me) 🚀 Digital Creator / 🎗️ Graphic Designer / 🔮 User Interface (UI) & Experience (UX)

Ossama Mehmood 샘 (ossamamehmood.me) Greetings..! I'm Ossama Mehmood DIGITAL CREATOR OSSAMAMEHMOOD Home About me Skills Resume Testimonials Portfolio C

Ossama Mehmood 샘 2 Jun 17, 2022
starter kit for interacting with zora api, protocol, and creator toolkit

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

tranqui.eth 40 Oct 20, 2022
This Lens Protocol module allows you to create a Transparent Promotion system in which the post creator can add a reward for who (ex: influencers) mirror it.

promote-module (in progress) This Lens Protocol module allows you to create a Transparent Promotion system in which the post creator can add a reward

Alessandro Manfredi 9 Oct 2, 2022
Authenticate users into a web2 database to build a hybrid web2+web3 creator platform!

Creator Platform This project demonstrates how you can connect your web2 backend and integrate it with web3 using sign in with ethereum. Tools: React

thirdweb templates 6 Dec 16, 2022
Transition effect for Cocos Creator

Transitions This project is based on Cocos Creator 2.3.0. Online Demo : http://2youyou2.com/transitions Usage Add transitions node to the scene, the t

yinkaile 112 Nov 15, 2022
App development framework based on cocos creator3.1.1

todo: Waiting for English translation cx-cocos App development framework based on cocos creator3.1.1 一个基于cocos creator3.1.1的应用App和游戏开发框架 关键词:cocos cre

null 63 Dec 7, 2022