• entries
    436
  • comments
    1179
  • views
    763083

Refactoring

Sign in to follow this  
JTippetts

174 views

You know, it never fails. Once I start in with the 'just make a few tweaks, just a few small changes, nothing major really' sort of thing, it snowballs. It snowballs way the hell out of control. It's a painful lesson I learn and forget and re-learn over and over in endless sequence. I'm learning it again now.

I'd meant to go ahead and upload the fixed-up Accidental Engine with the new transitions and tiling scheme over the Thanksgiving holiday. Didn't happen. I'd meant to do it this weekend; again, didn't happen. Instead, I started fooling with it. Long story short, I've ported over Golem the Original's lighting system, with static and dynamic lights and a choice between day/night cycles or fixed lighting (for dungeons). No line-of-sight for walls to block light is implemented; I may do so and I may not. I've never been 100% happy with any of the LOS schemes for tile-based games I have come up with in the past, and it's never really added all that much to games for me in the first place.

I also have a drop-down script console about 50% coded. The console will make it easier to change or reload the map; no more editing of the startup.lua file and re-running the app. It'll also make it easier to tinker with things at runtime, though of course the standard sequence rules for generating a map will still apply. But, of course, it's going to take a little time to get it running right. By rights I should freeze things right now while they still compile and run, and upload some builds and source, but I am feeling incredibly lazy right now so I probably won't. Business as usual. It's a good thing I'm not running on a deadline for anything, or I'd probably get fired.

Now, if I could only remember where I set down my sandwich, things would be just peachy. Adios.
Sign in to follow this  


1 Comment


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now