I'm new to both LÖVE and Lua, these forums, and programming of any kind; but after a couple of days with the docs open I managed to put this together.
Note: Get the Latest Version Here
Surprise! It's yet another Isometric Tile Editor! I'm sure you guys have seen plenty of these, and mine's nothing special. I plan to develop it into a game over time, but thought I'd work in smaller iterations while I figured out what I was doing. I think I'm doing pretty well so far, but would love some feedback from people who knew a thing or two about anything.
Here's the text of the readme file inside package.
Code: Select all
Isometric Tile editor 1.0
It has 2 tiles: grass and dirt. You can change grass to dirt, but not dirt to grass.
The tiles' heights can be adjusted. Can save and load maps (buggy).
Keys:
"h" switches to height changing
"d" switches to tile changing
Note, you will need to run the program from a terminal to use these
"Ctrl l" loads a map. map "problem" is included as an example
"Ctrl s" saves a map
"Ctrl n" makes a new map.
Mouse:
Left Click performs tile/height change
Right click and drag to pan camera
Mouse Wheel up/down to zoom in/out, centered on the mouse position
Problems I'm having:
I've left notes in the code, and would love it if people dug into it
and looked and them in context. But, here's a summary.
-Camera Panning is jittery if camera.speed > 1
-Height changing a tile will move to a different tile without a new click.
(I think I know how to fix this, but haven't yet! Comments still appreciated)
-Map saving/loading only works if the program is closed between uses
-Draw order is funny for some non-generated tiles.
-Coordinate Math may have extra bits...?
Stuff I think is okay, but could use evaluation:
-Input handling
-Save formats
-Use of functions, areas where code could be reused better
-General Everythingness
Thanks!