I have clean up a bit and fix some bugs in the editor. The good thing is I realize I have done a major change (in the visual) but with other editor logic intact. I don't need any heavy modification in the editor because of the change in the visual. The camera move button, the tile selection and addition of tiles, enemies, event points etc would stay the same.
A small function left that still require some implementation is I need to tell the visual logic (GameLogic) to load the proper stage. Right now it just load the first stage. Now the only big problem is, how to display the construction of the stage in the visual. There are 2 possibilities I can think of:
- Have some sort of temporary indication (icons etc) that indicate the user has put a tile there. Have a Refresh button that will just make the visual system reload and reconstruct the whole stage. Inefficient but implementation wise might be much easier.
- Start a bit more from scratch (not completely from scratch), implement dynamic tile checking and adding system in both the logic and visual. It's possible. If tile A is added, just have to recheck it's surrounding tile (16 or 26, depends on if I need to count the upper and lower corner tiles, most likely not). This way is more efficient and might trim out some large, less manageable codes in the stage constructions.
No comments:
Post a Comment