Git Product home page Git Product logo

freewars's Introduction

FreeWars

Free Wars is a 2D turn-based strategy game, whose gameplay is based on the ones of Advanced Wars series.

Screenshot

Main Features

Gameplay

  • For each player, the available units and their base attributes are exactly the same
  • Capture bases to earn fund every turn and use the fund to build units
  • The attack damage of a unit are greatly affected by its HP (50% damage at 50% HP for example)
  • Each player gets energy through battles in game, and may spend the energy on various passive/active skills

Technology

  • Use cocos2d-lua v3.9 as the game engine
  • Use Tiled as the map editor

Progress

The game is now playable. By now, the followings are implemented:

  • Online multi-player combat
  • Passive/active skills
  • Chat in-game
  • Game replay
  • Many optional war settings, such as fog of war, starting fund, and so on
  • Team
  • Weather (as advanced settings in game)
  • Campaign

More functionality is being developed, such as score for campaign, skills, and so on.

Target platforms

The game is designed so that it can be played with on the following platforms:

  • Windows 7 or above (download and play)
  • Android (installation required)

If you want to have a try, feel free to email to [email protected], and I will send you the win32 binary files or an android apk.

Contribution

The game uses cocos2d-lua v3.9 as its engine, which is cross-platform, so you can develop the game on most desktop platforms.

A typical way to setup the development environment:

  1. Download the engine and unzip it
  2. Create an empty lua project using the tools in the engine and compile it (for details, please reach for the documents of the engine)
  3. Download the files of this project, then copy them to the project above, overwriting the existing files

At last

Feel free to comment/play/contribute to the code/game.

For more information, please refer to the wiki (in Chinese) of this project.

Thank you very much!

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.