Coder Social home page Coder Social logo

devmcclu / project-freegun Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 6.0 1.66 MB

Open Source, multiplayer 2D shooter made in Godot

License: Other

GDScript 100.00%
godot game shooter-game shooter godot-engine gdscript godotengine godot3 game-development mit-license

project-freegun's Introduction

Project FreeGUN

Project FreeGUN is a FOSS 2D shooter made in the Godot Engine. Everything in the game is free and open source; the code, art assests, etc. The goal of the project is to be a framework to be built upon for other games. The game is built around mouse and keyboard controls, and should work on Windows, Linux, and macOS.

Dependencies

  • Godot 3.1 (will not work with 3.0.6 or earlier!)

Setup for game development

  • Navigate to the desired install location
    cd Project
    
  • Inside the target folder, clone this repository
    git clone https://github.com/devmcclu/Project-FreeGUN.git
    
  • Open the project in Godot
  • Now you are ready to make your game!

Setup for FreeGUN development

  • Navigate to the desired install location
    cd Project
    
  • Inside the target folder, clone this repository
    git clone https://github.com/devmcclu/Project-FreeGUN.git
    
  • Checkout the 'develop' branch
    git checkout develop
    
  • Open the project in Godot
  • Now you are ready to contribute to Project FreeGUN!

Development Roadmap

Check out our Trello to see our roadmap for development. Don't worry though if you have something not on the board, all ideas are welcome!

License

Available according to the terms in LICENSE (MIT)

project-freegun's People

Contributors

devmcclu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

project-freegun's Issues

Incorrect synchronization of bullet/gun between peers in multiplayer

Game-breaking Bug ๐Ÿ‘Ž :

In multiplayer whenever a peer's (say, Player1's) ammo is depleted and he/she switches to gun0 (initial gun w/ infinite ammo) via the gun1 button ("1"), the other peer (say, Player2) does not register the weapon switch and no bullets of Player1 are instanced in Player2's game, effectively making Player2 invincible. The same occurs vice-versa - (Player1) becomes invincible, but the difference is that on Player1's game client the bullets of Player1's gun are not instanced/visible when Player1 shoots but, on Player2's client the bullet's can be seen emerging from Player1's gun and Player2 can be damaged and can die from them.

How to recreate the bug:-

  1. Start 2 instances of the same game on the same LAN.
  2. Start a normal "multiplayer" match.
  3. Any one player (say, Player1) should pick a limited-ammo gun pickup (say, gun1 w/ ammo = 5).
  4. Player1 should deplete all his ammo of gun1 to zero
  5. THEN Player1 should switch to the initial gun (gun0 having infinite ammo) and SHOOT THE GUN normally
  6. Notice Player1 on Player2's client, Player1 is not shooting ANYTHING

Therefore there's an error in multiplayer sync which causes gun of enemy peer to not shoot OR his bullets not to be instanced (idk which) AFTER he switches from a depleted gun to the infinite gun.

Dev plz fix @devmcclu

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.