Coder Social home page Coder Social logo

isometric's Introduction

HTML5 Canvas Tile Engine

JSiso

This repo contains an MIT Licensed Isometric HTML5 tile engine Copyright © 2014 of Iain Hamilton.

For a list of examples and further details checkout: http://jsiso.com

noniso

Currently contained features are:

  • Implements AMD through RequireJS
  • Easily build complex isometric 2D.5 layouts or flat 2D layouts
  • Tiled Editor format support
  • Unlimited layer stacking
  • Isometric heightmaps
  • Auto scaling of image dimensions
  • Spritesheet and individual one by one tile image loading
  • RGBA tile values
  • Zooming
  • Rotating
  • Simple Collision
  • AI Pathfinding using Web Workers
  • Custom built Particle Engine
  • Easy fake lighting
  • Player vision limiting
  • Simple player device interaction
  • Apply the same code accross tile formats

Setup Instructions:

1: In each of the samples .html you'll see: <script data-main="../../config.js" src="../../requirejs/require.js"></script>. If you move JsIso and RequireJs location this will require updating.

2: config.js contains the requirejs baseUrl set as "/isometric/" by default. Make sure this reflects your base path to the folder containing JsIso & RequireJS.

3: That should be everything.

Particles particles

Pathfinding (All cuboids apart from blue are AI) Pathfinding calculations are handled via webworkers. ai

Fog of view and lighting toggled on (blue cuboid represents player) lighting

Basic dynamic lighting with-lighting

Lighting toggled off no-lighting

Height Maps, Rotation, Auto Shadows, Zoom new-screen

Previous tile map zoomed out new-screen2

Early Screenshot 1 screen1

Early Screenshot 2 screen2

isometric's People

Contributors

beakable avatar zoby avatar

Watchers

James Cloos avatar Carlos Gili 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.