Giter Club home page Giter Club logo

theknight_unitydemo's Introduction

TheKnight_UnityDemo

2023.02.03

这是一个简陋的Demo,运行平台是Windows,Demo的基本玩法是:

鼠标左键点击地板移动,键盘A、D键辅助控制视角旋转,鼠标滚轮拉近/移远镜头。

在游戏过程中按S键可以保存游戏数据(玩家的血量、等级以及当前场景信息),按Esc键回到游戏主菜单,点击continue会载入玩家的血量等级和场景,但是场景中的怪物都会重新刷新,请注意如果在按下S保存了游戏数据,再次点击New Game的话,之前保存的数据会被覆盖。

游戏中有四种敌人分别是史莱姆、乌龟、兽人和Boss石头怪,每种怪物都有两种攻击模式,并且怪物有站桩和巡逻两种状态,除此之外Demo中有暴击设定,如果玩家或者怪物打出了暴击,都会造成对方进入眩晕状态。

Boss石头怪的攻击比较特殊,如果玩家距离它很近,它的普通攻击会对玩家造成击退效果,如果玩家离得远石头怪的攻击方式改为向玩家投掷石头,玩家可以通过攻击石头将石头打倒Boss身上来对其造成伤害。

玩家通过击杀怪物来提高自己的等级,每次升级玩家的生命值会补满并且攻击力提升

场景中还有三处传送门(不包括玩家点击New Game后角色出生点背后那个传送门),玩家走到传送门面前按E键可以进行传送,Boss那里的传送门是跨场景传送到一个小房间处,也可以小房间的传送点再传送回来,另外两处传送门是同场景中的传送。

theknight_unitydemo's People

Contributors

soincredible avatar

Stargazers

问玉 avatar

Watchers

 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.