Git Product home page Git Product logo

open-world's Introduction

Open-World

OW, powered by the IB Engine: A painfully better gaming experience

Halifax Sideview

The original idea behind "Open-GTA", by Tim Speed, was that open data would be used to create a map for an old-style, 2D, GTA clone. I felt that 3D is much cooler and also I wanted to focus more on the environment/scenery and the interactiveness with the player, than the feel of GTA. I forked the original project in hopes to solidate my goal: to create an open-ended "game" where players could do whatever they wanted in a world that resembled their own.

Test out our current build at http://society.cs.smu.ca:8081/game.html Please create an Issue if the server is down and you would like to see a demo.

How to Contribute

See issue #24. We would love more developers contributing to this ambitious project.

Installation

Run the following Terminal commands.

1a) SSH

git clone [email protected]:Glavin001/open-world.git && cd open-world && npm install

Troubleshooting

If you receive the following error:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Then use method 1b, HTTP, instead. To solve the SSH permission denied issue you need to setup a SSH Key for your Github account

1b) HTTP

git clone https://github.com/Glavin001/open-world.git && cd open-world && npm install

2) Build Leaflet from source

Change directory into our Leaflet source location: Then

cd client/OpenWorld/lib/Leaflet/

As per Leaflet's documentation:

npm install -g jake
npm install

Then finally:

jake

And to test that it was successful:

ls dist

You should see:

images  leaflet.css  leaflet.ie.css  leaflet.js  leaflet-src.js

Now go back out to the root directory of this repository:

cd ../../../../

Run

To start the server app execute the following from the root directory of the repository (default port 8081):

node server/server.js

In your browser go to http://localhost:8081/game.html.

Custom Port Number

To start the server app with a custom port number, such as 3000, execute the following:

node server/server.js -p 3000

In your browser go to http://localhost:3000/game.html/.

Screenshots

These are old screenshots of walking around Halifax. The current build is much more sophisticated and will become even more appealing in the near future. Halifax Sideview Halifax Sideview Halifax Sideview A little bit newer: Halifax Sideview

Past

Originally thought to be an old styled GTA game. now with 3D graphics using open map data and much more in the future updates to come! The original project can be found here: https://github.com/tim-speed/openmap-gta

Present

WebGL demo: http://society.cs.smu.ca:8081/game.html

  • Retrieving OpenStreetMaps data; and
  • Display in 3D on a canvas with Three.js

Installation

  • Install Node.js
  • npm install socket.io
  • The 3D GL version is the file game.html in the client directory.

Future

  • Physics
  • Vehicles
  • Players

These are a few screenshots of similar projects, from a 3D display standpoint, Open-World will allow players to walk around and interact with the world that is rendered around them. OSM-3D Glosm OSM2World XHouseT for X-Plane osm2xp for X-Plane

Learn more about these projects here: http://wiki.openstreetmap.org/wiki/3D_Development

ViziCities is another project to take a look at: http://vizicities.com/

open-world's People

Contributors

danlock avatar glavin001 avatar liamcoau avatar markmurphy avatar tim-speed 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.