Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

Advertisement

Hello, visitor! These forums are run off of the revenue generated from these ads. If you'd like to support us, please whitelist us or consider donating:

#1 2018-03-19 19:19:04

ninjasupeatsninja
Member
From: USA
Joined: 2015-04-05
Posts: 1,970
Website

[Release] minimapjs

minimapjs is a JS class ( library? eh i wouldn't go that far ) that allows you to generate a minimap representing the EE worlds. Best of all, it shouldn't break over time.

If while you use this and something breaks, please say so, I'll gladly provide help.

Here's the source code if you'd like to look at it, and if you'd like to include it in your own projects.

This is also in the public domain, just keep the header comments if you use/modify it at all, thank you!

Things it does:

Quick Start
Reference code
Update Log

Last edited by ninjasupeatsninja (2018-03-19 23:07:15)

Offline

Wooted by:

Jet

#2 2018-03-19 19:40:07

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 5,734

Re: [Release] minimapjs

instead of using
document.getElementsByTagName("canvas")[0];
use
document.querySelector('canvas');

Offline

Wooted by:
Gosha1521484807699796

Board footer

Powered by FluxBB

[ Started around 1560765482.6139 - Generated in 0.030 seconds, 10 queries executed - Memory usage: 1.27 MiB (Peak: 1.37 MiB) ]