From be3d9cd9659e64f19c43072b54824e712d874fd8 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Mon, 20 Oct 2014 08:57:14 -0700 Subject: [PATCH] added a few more FAQ questions --- stb_tilemap_editor.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/stb_tilemap_editor.h b/stb_tilemap_editor.h index 79a44fb..161b0d7 100644 --- a/stb_tilemap_editor.h +++ b/stb_tilemap_editor.h @@ -63,6 +63,22 @@ // representation to the game representation, but there's // no way to show this live in the editor. // +// Q: The editor appears to be put map location (0,0) at the top left? +// I want to use a different coordinate system in my game (e.g. y +// increasing upwards, or origin at the center). +// +// A: You can do this when you convert from the editor's map +// representation to the game representation. (Don't forget to +// translate link coordinates as well!) +// +// Q: The editor appears to put pixel (0,0) at the top left? I want +// to use a different coordinate system in my game. +// +// A: The editor defines an "editor pixel coordinate system" with +// (0,0) at the top left and requires you to display things in +// that coordinate system. You can freely remap those coordinates +// to anything you want on screen. +// // Q: How do I scale the user interface? // // A: Since you do all the rendering, you can scale up all the rendering