Code Monkey home page Code Monkey logo

capture-the-flag's Introduction

CAPTURE THE FLAG [Unity 2020.3.33f1]

This little project has been coded to learn the basics of Unity Netcode functionalities, based on the existing game Teeworlds.

This project is a university assignment on which a base game is given, so i haven'n done everything. However, this base game is a very simplified version so all the net behaviours are made by myself, which is the goal. To end the context, the base version given by the professor implements the movement, map tiling and hook behaviour, but these only works on Host side, which has to be fixed too to work on Server-Client.


Saying this...what did I implement?

  • Server-Client syncronization. Host disappear, only used to quick-testing.
  • Character sprite and color selector.
  • Player name tag above name.
  • Jump correction, as it was uncorrect.
  • Match initialization when 2 players are ready. Sets the timer. Players can join if match has started and timer syncronizes too.
  • Server disconnects player if is full (max 8).
  • In game UI sync. Health and counter of kills and deaths.
  • Bullet system that allows to kill players.
  • Kill feed system that stores 3 last kills.
  • Respawn system. It only respawns player at a position far enough from the others.
  • Player with most kills displays a crown to show he is nÂş1 at the moment.
  • Players can hook on walls, ceilings and players.
  • End game sync. Displays ranking and despawn players.



A walk through the game







capture-the-flag's People

Contributors

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