All Projects → Viglino → Ol Games

Viglino / Ol Games

Licence: other
🎮 Game stuff for Openlayers, powered by HTML5, canvas, javascript and Openlayers.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ol Games

Obaddon
A repository of community-built prefabs and other enhancements for Oblige 7.70
Stars: ✭ 81 (+32.79%)
Mutual labels:  game, maps
rlayers
React Component Library for OpenLayers
Stars: ✭ 98 (+60.66%)
Mutual labels:  maps, openlayers
Mapstore2
Modern webmapping with OpenLayers, Leaflet and React
Stars: ✭ 251 (+311.48%)
Mutual labels:  openlayers, maps
OL3-AnimatedCluster
OL3-AnimatedCluster is now part of the ol-ext project
Stars: ✭ 65 (+6.56%)
Mutual labels:  maps, openlayers
Ancientbeast
Turn Based Strategy Game. Master your beasts! 🐺
Stars: ✭ 907 (+1386.89%)
Mutual labels:  game, sprites
Gwt Ol
GWT wrapper for OpenLayers 3+ using JSInterop
Stars: ✭ 57 (-6.56%)
Mutual labels:  openlayers, maps
hslayers-ng
User interface and map building extensions for OpenLayers
Stars: ✭ 29 (-52.46%)
Mutual labels:  maps, openlayers
tailormap
B3partners Tailormap repository
Stars: ✭ 26 (-57.38%)
Mutual labels:  maps, openlayers
Ol Ext
Cool extensions for Openlayers (ol) - animated clusters, CSS popup, Font Awesome symbol renderer, charts for statistical map (pie/bar), layer switcher, wikipedia layer, animations, canvas filters.
Stars: ✭ 706 (+1057.38%)
Mutual labels:  openlayers, maps
Svg World Map
🗺 A JavaScript library to easily integrate one or more SVG world maps with all nations (countries) and second-level political subdivisions (countries, provinces, states).
Stars: ✭ 38 (-37.7%)
Mutual labels:  game, maps
Openlayers
OpenLayers
Stars: ✭ 8,612 (+14018.03%)
Mutual labels:  openlayers, maps
Cataclysm Dda Android
An unofficial Android port of Cataclysm: Dark Days Ahead.
Stars: ✭ 58 (-4.92%)
Mutual labels:  game
Dll hook Rs
Rust code to show how hooking in rust with a dll works.
Stars: ✭ 57 (-6.56%)
Mutual labels:  game
Projectdmg
C# GameBoy Emulator
Stars: ✭ 57 (-6.56%)
Mutual labels:  game
Harmonist
Harmonist: Dayoriah Clan Infiltration is a stealth roguelike game.
Stars: ✭ 57 (-6.56%)
Mutual labels:  game
Magrit
♠ Thematic cartography ♠
Stars: ✭ 60 (-1.64%)
Mutual labels:  maps
Devilution
Diablo devolved - magic behind the 1996 computer game
Stars: ✭ 8,274 (+13463.93%)
Mutual labels:  game
2048
The iOS version of 2048, made using SpriteKit
Stars: ✭ 1,088 (+1683.61%)
Mutual labels:  game
Open Samp Api
An open source API for GTA SA:MP
Stars: ✭ 56 (-8.2%)
Mutual labels:  game
Messageviewjs
Talking Scene JavaScript Library
Stars: ✭ 56 (-8.2%)
Mutual labels:  game

ol-games

One hand, many games use maps as playground and some are based on a map. On the other hand, OpenLayers is a high-performance, feature-packed library for creating interactive maps on the web.

This project aims to test and add game mechanisms within Openlayers (ol).

It is by no means a complete game or complete game engine but you should find some stuff to devleopp game on a map with Openlayers.

View live examples online!

Dependencies

This project uses Openlayers and ol-ext. Hexagnol grid concepts developped in the Red Blob Games.

Materials mainly comes from the FreeSound project and OpenGameArt.

Openlayers

OpenLayers makes it easy to put a dynamic map in any web page.

  • It can display map tiles, vector data and markers loaded from any source.
  • Leverages Canvas 2D, WebGL, and all the latest greatness from HTML5. Mobile support out of the box.
  • Implements animations mecanisms and the postcompose hook allows to intervene with the OpenLayers rendering process to draw onto the canvas context. A postcompose listener is called for every rendering frame and is the perfect place to implement animations.
    Just look at the Openlayers example page to see what's up.
  • Render objects over the map (vector features) with styling functionnalities.
  • Add interactions widgets to the map (controls, overlays) to interact with your maps.
  • Actually already uses a 2D spatial index R-Tree to perform spatial queries very efficiently.
  • Pixel-based hit-detection
  • Exposes an API for drawing geometries and features to the output canvas

ol-games

Here are some of the features I'm working on in this repository.

Hex map

A hexagonal map or hex map is a game board design commonly used in wargames of all scales. The map is subdivided into a hexagonal tiling, small regular hexagons of identical size.

For more information on Hexagnol grid, I recommend this fabulous Red Blob Games article.

Sprite

Sprite and Spritesheets have been used in games for a long time.

This include sprite animation and sprite collision detection.

Animations

Explosions

Explosions are an integral part of games. Not that all games need explosions, but they play an important role in the game dynamics.

Artificial intelligence

Pathfinding algorithms: A*

Audio

This is just a simple implementation of the HTML Audio to add sounds in a game.

Licence

ol-games is licenced under the French Opensource BSD compatible CeCILL-B FREE SOFTWARE LICENSE.
(c) 2017-2019 - Jean-Marc Viglino

Some resources (mapping services and API) used in this sofware may have a specific license.
You must check before use.

Full text license in English
Full text license in French

For convenience ol-games is also published under the BSD-3-Clause Licence.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].