Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Loader #14

Open
Insineer opened this issue May 18, 2019 · 0 comments
Open

Map Loader #14

Insineer opened this issue May 18, 2019 · 0 comments
Labels
enhancement✨ New feature or request map🗺️ Something about objects locations in the world
Milestone

Comments

@Insineer
Copy link
Member

Insineer commented May 18, 2019

Map Loader can load and save current map to JSON formatted file.

Map format:

{
	version: version id string,
	size: [x, y, z],
	about: { map-wide information },
	tiles: [
		{ tile information, content: [objects] } // x = 1, y = 1, z = 1
		...
		{ tile information, content: [objects] } // x = max_x, y = 1, z = 1
		{ tile information, content: [objects] } // x = 1, y = 2, z =1
		...
	]
}

object format:
{
	type: "type id",
	fields: {
		field1: field1content,
		field2: field2content,
		...
	}
}
@Insineer Insineer added enhancement✨ New feature or request map🗺️ Something about objects locations in the world labels May 18, 2019
@Insineer Insineer added this to the Pre-Alpha Release milestone May 19, 2019
@PersDep PersDep mentioned this issue Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement✨ New feature or request map🗺️ Something about objects locations in the world
Projects
None yet
Development

No branches or pull requests

1 participant