Sunday, March 10, 2019

Space Farm devlog 11

After a bit of a hiatus, I'm back with a fun post.  I'm making the Space Farm repo public!  Find it here:


The reason?  I'm pivoting away from my initial design towards more of a farming/ RPG hybrid that an actual game designer is helping me with.  Much of the code I've put together can be reused, but I'd like to save this little snapshot of Space Farm before I start tearing things apart to build RPG Farm.

I'm hoping someone somewhere will benefit from my code, as little as there may be.  To help y'all out, here's a features list:
  • Basic 3D isometric movement (which I borrowed from someone else...) with grid-locked mouse interactions
  • A limited-size inventory system with rudimentary UI functions
  • Plants that grow over time, drop items when harvested, and can be reset to specific growth phases as desired
  • A framework for a crafting system using JSON
  • A work-in-progress "auto-farm" system where players can define a rectangular space that will automatically generate farmland (planting and harvesting were up next, but I don't think I got there yet)
I know I should stop being impressed by myself, but it sure feels like I got a lot done.  Hopefully in the near future I will add more, but so long for now, Space Farm.  May your spin-off actually turn into a complete game this time!

Extra details


Images: here's a link to the most interesting work-in-progress .gifs and images, gathered into one imgur album for easier access.

Demo: here's a dropbox link to a demo!  Please note that at this stage, I am still relying on the console output as feedback that things are happening as expected, so it might be hard to know what's happening without those logs.  Controls are WASD to move, , and . to scroll through your hotbar, Q to open and close player inventory (and close chest inventory, for some reason), left-click to use your selected item, right-click while mousing over a chest to view its inventory, and shift-right-click to put items into and out of the chest.  You'll need to dig up dirt and then both till and water it before seeds will grow.  Give the auto-farm a try by placing the skinny poles in a small rectangle!

No comments:

Post a Comment