一款基于卡牌的塔防游戏,类似于 Supercell 的《皇室战争》的游戏玩法(简化形式), 可以与“非智能”AI 进行比赛。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
GitHub b24b99b4 Update README.md 3 年前
Assets Project updated to 2020.3 LTS 3 年前
Logs Project updated to 2020.3 LTS 3 年前
Packages Project updated to 2020.3 LTS 3 年前
ProjectSettings Project updated to 2020.3 LTS 3 年前
UserSettings Project updated to 2020.3 LTS 3 年前
.gitattributes First recommit 5 年前
.gitignore First recommit 5 年前
.vsconfig Project updated to 2020.3 LTS 3 年前
README.md Update README.md 3 年前

README.md

Unity Royale

A card-based tower defence game replicating gameplay similar to Supercell's Clash Royale (in simplified form). It is possible to play a short match against a "non-smart" AI that just deals cards non-stop.

Built to demonstrate Addressable Assets, it also showcases well URP and custom toon shaders (made with Shader Graph, the lighting done in a Custom Function node), Cinemachine usage, and Timeline Signals. Built for mobile from the ground-up.

Unity version

The project has been tested to work with Unity 2020.3 LTS (any patch). More recent versions might require upgrading work.

Usage

To try out the project, just open the scene called "Main", and press Play.

You can find the ScriptableObjects used as cards under the folder "GameData". The 2nd level (the Cards) are the ones that have been marked as Addressable assets, and can be changed without rebuilding the whole game.

To learn about Addressable Assets, there's this talk from Bill Ramsour at Unite LA:

You can refer to my this talk at GDC for small tips on the usage of Timeline and Signals:

Also, to create a custom toon shader like the one used here you can refer to this talk at Unite Copenhagen:

Keep in mind though that the shader in this project is simpler than the one used in the talk.

Owner and credits

Project created by Ciro Continisio. If you have questions, you can get in touch on Twitter. UI art by Alice Hinton-Jones

The shader can be freely used for commercial purposes, no need for credit (though it would be nice). Assets included are part of a Unity asset pack (see license for details).