GithubHelp home page GithubHelp logo

battlehawk00 / unitygame-cardwar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hhmy27/unitygame-cardwar

0.0 1.0 0.0 255.76 MB

This is a card game developed by Unity3d/使用Unity3D开发的卡牌游戏

JavaScript 1.30% C# 98.06% ShaderLab 0.64%

unitygame-cardwar's Introduction

卡牌游戏

欢迎访问我的blog!https://blog.csdn.net/hhmy77/article/details/81454748

版本

使用Unity 5.6.0f3开发,插件使用Dotween 卡组预览 卡组预览 打出卡牌效果 打出卡牌效果

文件

Effect为粒子特效,cardwar文件中为项目文件

介绍

这款卡牌游戏是模仿MOBA中的英雄对线,玩家的卡牌代表着英雄的行动。游戏目的是摧毁敌方防御塔。

规则

敌方英雄

当玩家每打出一张牌时,敌方英雄也会做出一次操作。

根据关卡数的不同,敌方英雄会有不同的技能

场上小兵

场上的小兵各有不同的属性加成(HP,DEF,ATK),当你击杀掉小兵时,你将获得它的全部加成(两点),其它情况你只会获得一半的属性加成(一点)(比如说被防御塔击杀,被小兵击杀)。

你的攻击力会加成到所有卡牌上 你的防御力会抵消受到的所有伤害 敌方英雄同理

按下回合结束后,总血量高的一方小兵会获得胜利,对敌方防御塔造成小兵攻击力总和的伤害 小兵的仇恨是防御塔-》英雄-》小兵

制约

当对方场上还有小兵时,你攻击敌方英雄会吸引敌方小兵的仇恨,受到敌方小兵攻击力总和的伤害作为惩罚。 同理 攻击敌方防御塔,会受到敌方小兵攻击力总和加上敌方英雄攻击力的伤害作为惩罚。

逃跑按钮

逃跑按钮模仿的是MOBA游戏的回城。当你按下逃跑按钮,会立即结束这回合,同时你的HP会补满,但是会失去所有怒气。下一回合照常进行 ##英雄死亡事件 如果英雄被击杀,则立即结束这回合,同时敌方英雄获得5点ATK的奖励。

行动力

每回合玩家将抽取7张牌,同时只能打出5张牌

卡牌种类

(目前只做了战士的职业,所以用战士的卡牌来介绍)

普通攻击牌

使用打击牌会获得怒气,发动技能

技能牌

技能牌需要一定怒气值发动

事件牌

没有发动条件,但是会有随机效果的卡牌目前只有第一个模式和第一个职业可以选择,共有3个关卡

unitygame-cardwar's People

Contributors

hhmy27 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.