Click to Play!

Sunday, July 13, 2014

I Think I Prefer Working With Grids & Tiles


     You know how in games like Pokemon you can only move along a grid of squares? How you can count each step and know where you'll end up? I think I'll be working that into my RPGs in the future. Collision boxes are always a headache and especially so with Unicorn Training. It's a good lesson and experience but I really want to work with something simpler to code. Most of my bugs come from collider box issues and it's what I've spent a large amount of time working on. I'd rather put that care into adding new things instead of fixing the simplest of features (the ability to walk around and not go through walls).

     Like TriGrid, I can just keep track of all the squares around an object and know if it's okay to move an exact amount of pixels each step. I can even snap to the next position with a little algorithm. Unicorn Training depends on free movement for it's arcade shooter style combat so there's no going back now, but it's really something I want for my future titles.

No comments:

Post a Comment