Coder Social home page Coder Social logo

settlrs's Introduction

settlrs

Godot multiplayer hex strategy game for mobile.

Including;

  • Touch Top-down Camera Controller
  • Simplex-noise map generation and resource distribution
  • Technology, units, cities, roads and resources.
  • Dijkstra’s Algorithm based One-Turn pathfinding.
  • Tech Tree
  • Fog of War - 3d default (needs to be optimised) or simple 2d
  • Civilizations
  • Firebase implementation - Accounts and multiplayer games
  • Audio player

Fog of war 3D - This is the default fog of war, it uses a rasied hex and instanciates edges along the edges of the fog. It is un-optimised currently and will use more processing and a ltitle more graphical power than the simple 2d fog of war. 2D - This simple version of the fog of war can be enabled by commenting out or removing all code marked "#Disable if using 2d Simple fog" on Hexmap.gd, City.gd, Unit.gd and of course FogOfWar.gd Set the fog of war mesh to a y transform of only 0.05 or so and enable no depth test on the material flags. This will run a little lighter and however you may have to tweak it a bit as it will currently draw over objects like units and cities in a undesired way.

The Hex implementation is based on RedBlobGame's tutorial https://www.redblobgames.com/grids/hexagons/ The pathfinding implementation is based on RedBlobGame's tutorial https://www.redblobgames.com/pathfinding/a-star/introduction.html

Feel free to use any parts of this project as a base for creating strategy games in Godot.

settlrs's People

Contributors

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