GithubHelp home page GithubHelp logo

network-based-fps's Introduction

Network-Based-FPS

第一次尝试使用Unity开发网络游戏,客户端框架暂定为GameFramework

策划方案

一、 游戏概述

1、 游戏暂定为第一人称多人射击游戏
2、 可以实现多人在线游玩
3、 游戏模式设定为对战和生化(暂先实现对战模式)
4、 提前设定好枪支,后续进行类似CSgo的枪支购买功能

二、 游戏机制

1、玩法和规则

对战模式

  • 单人或者团队模式进行对战,谁先拿到设置的比分,就取得胜利。

生化模式

  • 僵尸玩家只能近战攻击,若攻击到人类玩家则将其转化为僵尸阵营,僵尸死亡不能复活,最后场上仅存的阵营取得胜利。

2、游戏操作

使用WASD进行移动,鼠标移动控制枪支准星,鼠标左键进行开枪(右键瞄准是否实现暂定),ESC唤出游戏菜单实现退出和返回,(B键唤出商店进行枪支购买),Ctrl实现下蹲,Enter键唤出聊天框。

三、游戏元素

1、游戏玩家

玩家分为人类和僵尸,暂定为网络下载模型。

2、游戏枪支

枪支首先实现手枪和步枪,具体参数待定

3、游戏商店

点击对应枪支图标进行购买

4、游戏地图

先制作对战模式,CS1.6中的fy_iceworld雪地地图

5、游戏聊天框

使用回车键唤出游戏聊天框并输入聊天内容,其将在游戏左下角显示。

6、计分板

游戏画面顶部中间显示游戏计分板,顶部右侧显示击杀和阵亡数据

四、游戏流程

开始游戏后连入服务器,进入游戏房间,购买枪支进行游戏

界面设计

参考资料

GameFramework Demo
基于GameFramework框架开发的游戏-StarForce
笨木头与游戏开发
Fast-Paced Multiplayer
What Every Programmer Needs To Know About Game Networking
...

network-based-fps's People

Contributors

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