Tuesday, September 10, 2013

Dungeon Diving 2

http://johnakerson.acoders.com/latestbuild.html

Updated with some fancy lighting (and light sources), as well as some randomness to the level generation to make the rooms feel unique.

There actually is a lot of difficulty in making randomness not look so random. What I mean is, in a truely random situation it's totally normal to see something repeated 3 times in a row. But in a random level generator, this is actually a bad thing because, visually, you're not trying to make something random so much as you are trying to make it not repetitious. And believe it or not they're QUITE different. So the last few days I've been going through and every time I see something that looks peculiar, I write in some code to prevent it from happening. The result is a bit of spaghetti code, but there's no reason to prematurely optimize it, especially when I'm the only one working on it.

But all-in-all, I'm pretty happy with where the generator's at. The only issue I still have open is the fact that "junk" can form under a chest, but the code involved in making that not happen isn't worth the effort at the moment. So hopefully it doesn't bug anyone else too much (:

Next stop: combat! Should be interesting, and hopefully fun. If not for me, at least for the player (:

-J

5 comments:

  1. I leave for a few weeks and now you have some crazy new idea =P

    It seems like a neat concept and looks well visually. I am interested to see where you go with it.

    -Zack F.

    ReplyDelete
  2. Hey Zack!!

    Yeah a few things sparked the reasoning, but mostly it was just too big of a financial gamble to invest THAT much time in it. I had my computer crash and I came back and I was not motivated to work on a project with no end in sight, especially after watching kccg decline and hearthstone get closer to the finish line. Top that off with the fact that I couldn't come up with a way to monetize a CCG that didn't involve F2P schemes and it wasn't worth the effort.

    This new project is MUCH smaller in scale, and will actually have a good niche other than "another CCG". Plus you can see my progress as I go!

    Keep stopping by for updates!

    ReplyDelete
  3. Hey Akerson, sorry to stalk your blog but i couldn't find another way to reach out to you. TAM needs a sub until Oct 15th. If you're interested reach out to me on kingdoms. Thanks! Yakub

    ReplyDelete
  4. Hey Yak!!

    I'd love to really, but I'm super busy the next two weeks though for sure. Just moved (and haven't had a chance to even work on the game yet) How's kccg recently though? Maybe I'll stop in to chat sometime

    ReplyDelete
  5. Yes, do that! And then stay and play.... =)

    ReplyDelete