#Custom maps in openfront.io

5 messages · Page 1 of 1 (latest)

wind frigate
#

So basically, if we can implement custom maps, we can grab colors to code out the terrain colors to make it work and eventually, put it in like how Territorial.io did. but with colored terrain

#

More explanation soon

#

okay so like heres the terrain color.

#

Terrain colors
Basic Land - #8CAA58
Hills/Desert - #B4A376
Mountains - #C0C0C0
Water/Ocean - #4684B4

soon i might try and add more hex terrain colors since this browser game only has around 3-4 colors shown.

leaden tulip
#

You want Auto-Mapping based on Indexed colored Images is what your saying? Given a pallet of preset indexed hex colors all it would take to make a custom map is a png, whilst the code generates the map automatically from the uploaded image with no one having to manually create the map (as in hardcode it into the game).

I think your saying there should be a thing where we can upload a png that follows a pallet of all the types of terrain in the game itself and make lobbies using our own custom maps right?