Brian Crick

Jump Down Spin Around

Set some very small, but concrete goals for Tinselfly this weekend, and hit them all, and still took time out to see friends and stuff. Feels good.

[fergcorp_cdt]

Most of what I’ve been working on has been getting all my math to work now that you have the ability to run around and have ‘up’ mean something different for different parts of the spherical world you’re traveling on. Specifically:

  • Made the camera correctly follow your character around the world.
  • Made your character point in the right direction while moving.
  • Made gems spawn in a plane around you, regardless of your position on the world.
  • Abstracted everything away so that things like gem producing and movement have no knowledge of the shape of the world. You could be walking on the surface of a donut, and the code for these sorts of mechanics wouldn’t care. Used some stuff from the design patterns book I’ve been reading there, and I’m glad I had a chance to apply some of these strategies.
  • Made a system to randomly generate mazes of placeholder obstacles all around the world. Re-used my Gemslinger code for that.

I guess there’s not anything cool I’ve learned lately, but I’m getting better at breaking this sort of stuff into manageable parts and working efficiently in Unity.

2 thoughts on “Jump Down Spin Around”

  1. Aboo!

    This is my first time commenting here. I like the default font.

    I’m so impressed you got all that done!! I thought you were brain-dead! Go bian!

  2. Aboo! I thought I was brain dead too. Strangely, seeing mindless Transformers late in the day helped I think. 🙂

Comments are closed.

Copyright © 2017 Brian Crick.