Elemap is a TS library allowing to create interactive game maps of various types, rendered using HTML elements and CSS. This means you can easily popu

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2025-01-12 08:00:05

Elemap is a TS library allowing to create interactive game maps of various types, rendered using HTML elements and CSS. This means you can easily populate it by adding your own HTML and extend its functionality by attaching JS function to its elements.

style is an object with arguments for map visuals, used by internal system based around CSS. Please refer to examples and defaultSurfaceStyleDeclsGroup in src/style/set.ts for more info. Note that its signature is {surface:{}, grid:{}, tile:{}}, which differs from the signature used on the inside.

Leave a Comment