GithubHelp home page GithubHelp logo

fps-demo's Introduction

FPS-demo

只完成了角色的小demo,做了部分脚本,包括但不限于:角色控制、视角移动、部分动画状态机、枪械瞄准、枪械射击、移动与射击的声音,子弹碰撞检测。

该demo存在的bug:

1. 换弹后,再进行瞄准,无法进入瞄准动画 解决方法:在检查换弹是否结束的协程中,最后将换弹图层动画重置为0.

2. 手枪瞄准射击一次后就变成了腰射

3. 切换手枪后FOV发生变化,手枪瞄准后,FOV变为一致

4. 切换到手枪后无行走动画

后期要改善的:

  1. 枪械瞄准时取消随机散布

  2. 切刀

  3. 手枪与突击步枪后坐力应该不一样

fps-demo's People

Contributors

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