1. 14 October, 2019
    11:58

    Mysterious Castle 1.51 soft release

    https://apps.apple.com/us/app/mysterious-castle/id465647954?ls=1

    So, it’s finally out. There are a lot of new features, and a few new bugs. Only tested on iPhone XS and iPad 7th gen. Please drop me a line if something isn’t working for you.

    More coming soon…

  2. Comments


  3. 11:57
    ‎Mysterious Castle
  4. Comments


  5. 6 April, 2019
    10:29

    Stone circles and autumn colors.

  6. Comments


  7. 22 March, 2019
    21:13

    Dungeon generation is a complex process. Fixed a bug where secret doors (one of the red tiles in the second dungeon picture) were being placed at T joints in the wall, making some buildings impassable. You can see the room template in the first picture, with all legal portal locations highlighted in yellow. The bug was not in the template, but rather in one of the long and complicated post processes that combine dungeons. This week a lot of cleaning was done to the dungeon generator and many diagrams like the one shown were drawn, studied, mulled over, and redrawn. In the process I fixed several bugs and made the code much easier to read and extend.

  8. Comments


  9. 21 March, 2019
    14:33

    Mysterious Castle is not dead

    Hi, it’s been a few years. Life is complex, much more complex than software development. In the last several years I’ve seen Mysterious Castle rot away in my brain and on my hard-drive, and wept a little at every pang of nostaligia that reminded me of how much fun it was to make and play.

    Being an adult in adult land with adult responsibilities is hard. Mysterious Castle land is fun and freeing, chores feel like adventures, but alas, it all depends on adult land not falling apart. I started making Mysterious Castle when I had few responsibilities and enough money to coast in a cheap apartment, working a few days a week and eating whatever I felt like when my body finally revolted against the constant coding-testing-playing cycle I was in. It was a glorious time.

    One day I got a job as a professional developer, and whoa, I got a pretty nice salary. Much of it went into an apartment in Toronto (crazy rent land), restaurants to take my girlfriend out on dates to, some drum machines, and clothes to disguise me as a reasonably normal city-dweller. Disguised as such, I went out and met people, hung out in cafes and bars, took a few trips here and there, and otherwise spent my time in lesiure. At least twice a week, I’d be inspired to work on Mysterious Castle, and would slog through the messy codebase to squeeze in new spells, items, enemies, and features, but it was slow going, and the slog became slower and more laboured. The experience I was accumulating began to reflect something back at me that I was trying to avoid paying attention to. Mysterious Castle was messy, like 7 years of hoarding crap in every nook and cranny messy.

    The code was not bad, in fact I’m quite proud of how well it has held up, and the performance I was able to squeeze from it, it’s fundamentally sound. But as a project, it was a nightmare. Huge files filled with loosely related classes, a few global variables sprinkled in just for this one thing, lazily thought out function interfaces, and no proper build system to speak of.

    It all came to a point where adding a single feature to the world generation algorithm broke nearly everything. I had dug a hole I could not crawl out of. Every design inspiration I had came up against the turd wall of messy code, and was abandoned after a foolish quest to squeeze just one more thing into the game, like playing a doomed game of Jenga.

    Well. I had paying work, and was learning a lot about development each and every year. I was working with talented developers, architects, and project managers. Suddenly, a realization dawned on me. I’ve cleaned up messy projects at work before, not quite as big and sprawling as Mysterious Castle, but pretty big nonetheless, and written by other people. I have the skills to save Mysterious Castle from the messiness of my youthful exuberance, I know how a neat project should be structured.

    In January of 2019, I started cleaning up Mysterious Castle, using all the boring corporate skills I amassed during my years of professional experience. I did it in my spare time, the same spare time I had spent trying to hammer in new features 5 years ago, but a funny thing happened; I felt my velocity increasing. It felt like I had more time, because as modules were segregated, CMake scripts were written, and API boundaries were defined, I started to understand the codebase again, and could fix bugs, add features and polish performance without a cognitive overload.

    So what does this rambling monologue mean? Nothing much, only that the last 3 months of work on Mysterious Castle, in spare hours of the evenings and weekends, has been some of the most productive work of my life. The world generating algorithm actually makes sense, and can be played with in fun, not fear of toppling it all over. The items, spells, and races are easy to modify and expand on, the saving and loading system is flexible enough to do it snappily and securely. In short, Mysterious Castle is not dead. It’s been sleeping for a while, but in that time I haven’t seen anything else like it come to take it’s place. And it’s beginning to stir again, waking up old ideas and new inspiration for what a Procedurally Generated Tactics game can be, how much fun it can be to make, and to play.

    Thanks so much to everyone who bought Mysterious Castle. A free iOS update supporting new hardware is coming before the summer is through. There is no Mysterious Castle 2, I want to share the evolution with everyone who started the journey with me, back at v1.0 in September of 2011.

    Be seeing you.

  10. Comments


  11. 2 March, 2016
    08:32
  12. Comments


  13. 6 November, 2015
    16:07
    Mysterious Castle
  14. Comments


  15. 16:00

    I’ve always wanted to make a LotR RPG in the Ultima style.

  16. Comments


  17. 15:58

    Prepping for open sourcing Mysterious Castle. Crusty code like shit in the corner of your eyes when you wake up. The engine is dubbed isorogue (isorogue.com), because I so rogue.

  18. Comments


  19. 1 March, 2015
    13:21

    Anonymous asked: It consistently fails to create "connected map" on my iphone 6, ios 8.3 beta 2. Cannot create big map.

    It might take a few mins but it should create a map, even after 10 failures in a row. Procedural generation is hard!

  20. Comments