Hacker News new | ask | show | jobs
by Longwelwind 1693 days ago
> - In the middle I tried to implement a full scale map editor. I managed to build a simple yet working one, but dropped the project once I realized that it needs a lot of work to write my own GUI (back then I'm using C++ and SDL2).

Sharing my slightly unrelated experience, but Tiled2D is a nice piece of software to achieve this.

I've used it for one of my personal project, where I wanted to make a digital adaptation of a board game, and I needed to "digitalize" the game board[1]. I don't use the tiles or the tile grid at all, but just the "polygon" feature that allows me to draw the borders of the different regions. It's not at all why the software has been written, as the polygon is supposed to be a small feature to define areas in a tiled game, but it gets the job done.

[1] https://github.com/Longwelwind/swords-and-ravens/blob/master...

1 comments

Thanks, I knew about Tiled at the time. The project was kinda of a learning project so I didn't bother to use an external tool. Now that I look back, that's probably how I approach all projects (not work-related): I just want to learn how it works superficially, and once I do I'd lose motivation and drop the project eventually.

Very nasty mindset I have to admit...

It's not a bad mindset at all. "Finishing" can be a goal and so can "learn a new thing in an enjoyable way". Sometimes I write code just because I get the urge to create a nifty data structure. Who cares if no one will ever use it or look at it again? I enjoyed making it.
I mean, what finishing means is personally defined by you. If you define finishing as learning what you set out to learn, then you finished.