Giter Site home page Giter Site logo

pawex / settlers.ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomsoftware/settlers.ts

0.0 1.0 0.0 960 KB

A Web Settlers 4 Clone/Remake in TypeScript

License: MIT License

Batchfile 0.03% JavaScript 1.07% PHP 7.43% TypeScript 78.47% CSS 0.21% HTML 12.80%

settlers.ts's Introduction

Settlers 4 remake (File Formats)

This is a Settlers 4 (Siedler 4) Remake (it will be :-) ) written in JavaScript (Typescript) so it can be run in your browser.

How to compile:

This will create the run/settlers.js file.

How to start:

  • Install Node.js : https://nodejs.org/
  • Copy all you Settlers files and folders (game.lib, gfx.lib, Gfx/0.gfx, ...) to the run/Siedler4/ folder
  • Run run/run.bat. This will start a local Webserver on your PC
  • Open: http://localhost:8888/

How to edit:

Use the Visual Studio Code to edit and debug your code:

Next BIG steps:

  1. using webGl to render the state of a game by loading a save game and pushing all data to webGl:
  1. adding game logic to process state changing in the game
  1. adding backend logic
  • using websocket to communicate with local webserver. The webserver now can provide:
    • Folder access to e.g. list all save games
    • Network access to allow network gaming

State:

You can access 'all' Settlers file formats

gfx-file view:

screenshot

gl-file and gh-file view:

screenshot

lib-file view:

screenshot

map-file view:

screenshot

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.