GithubHelp home page GithubHelp logo

crymonofps's Introduction

CryMonoFPS

CryEngine 5 C# FPS Template.
Video: https://youtu.be/QemlT37_fSM

A custom FPS control in CryEngine C#. A lot of code are adapted from the C# thirdperson template which then modified to be an FPS game. Then more features are added by little research about using the C# API.

Features:

  • WASD key movement (based on the TPS template)
  • Mouse camera move rotation (based on the TPS templated, modeified to be an FPS camera)
  • Jump and sprint
  • Xbox and Playstation is assigned in the /Assets/libs/config/defaultprofile.xml but has NOT been tested with native controller input.
  • Hybrid shooting mechanic, uses raycasting under 20 meters, but bullet will act as projectile if aim target is more than 20 meters away. (Shooting is also based from the TPS template with a modification to use both raycasting and projectile under certain conditions).

Some Notes:

  • You probably have to load the Game.sln file at the root folder first and compile the solution to get the latest binary working. Some codes were updated without the new compiled binary uploaded here.
  • This project was created on CryEngine 5.6.6 build 79 and Visual Studio 2017
  • There are two solutions files. The one in the root folder is the game logic project solution, contains any gameplay mechanics implementation. The one located at Code/Game.sln is the program solution. Came with the CryEngine blank template, contains the game structure as a running program. So you may want to use the one at the root folder to modify the game logic.
  • Input mapping uses the /Assets/libs/config/defaultprofile.xml file and then controlled in the Player.cs
  • This is a pretty basic FPS controller but hopefully can help people to get started with C# in CryEngine

crymonofps's People

Contributors

waimus avatar

Stargazers

 avatar  avatar

Watchers

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