Git Product home page Git Product logo

svg-engine's People

Stargazers

 avatar  avatar

Watchers

 avatar

svg-engine's Issues

Try gif tiles in the SVG

Maybe they will be faster than the animated tiles. At the end of the day just another option of tile content for the client to create.

Variety of tile contenst

  • Decide whether tiles should contain vector graphic or bitmap sprite or both.
  • Decide whether loading original OpenTTD sprites from *.grf packages should be implemented.
  • Based on these decisions create various tile types and implement logic to display them based on map data.

Multilevel content of a tile

Say we have a tile and place a building on that tile. Now we place second level on that building.

  • The second store has to look right.
  • Refreshing ground in the background must not cover the second store.

Game logic API and UI events

  • Design an API for passing game logic code through the engine to UI events.
  • Implement some example UI events:
    • Scroll through the map.
    • Zoom?
    • Build action on tile.
    • Unit travel from A to B.

Request additional information from the server

Engine has to support obtaining "full information" of an object. Normally only the information necessary for the display is returned but when user say clicks on the tile, he gets other information like value, price, etc.

Diff response from the server

When only couple tiles changed, server returns only changed tiles instead of the full rectangle.
Engine has to be ready for this kind of response.

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.