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.

#1 2018-03-19 19:19:04, last edited by SirJosh3917 (2018-03-19 23:07:15)

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

[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

Offline

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

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,206

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 1713479352.1109 - Generated in 0.032 seconds, 10 queries executed - Memory usage: 1.4 MiB (Peak: 1.5 MiB) ]