一款基于卡牌的塔防游戏,类似于 Supercell 的《皇室战争》的游戏玩法(简化形式), 可以与“非智能”AI 进行比赛。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
GitHub b24b99b4 Update README.md 1 year ago
Assets Project updated to 2020.3 LTS 1 year ago
Logs Project updated to 2020.3 LTS 1 year ago
Packages Project updated to 2020.3 LTS 1 year ago
ProjectSettings Project updated to 2020.3 LTS 1 year ago
UserSettings Project updated to 2020.3 LTS 1 year ago
.gitattributes First recommit 3 years ago
.gitignore First recommit 3 years ago
.vsconfig Project updated to 2020.3 LTS 1 year ago
README.md Update README.md 1 year ago

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).