What’s new in Castle, Dec 15 2018

Ben Roth
Castle Games Blog
Published in
2 min readDec 15, 2018

Hello there! The Castle team released another update to Castle for Windows and macOS today. We think it’s a good one. Here are a few new things:

We wrote a manifesto

Why are we building Castle? Check out some of the reasons and let us know what you think.

You can automatically spin up hosted servers for your multiplayer games

Castle games which use our multiplayer library, share.lua, can call an api to automatically launch multiplayer server instances to host your game. There’s also a simple README now in order to help you get started using that library.

We plan on releasing a detailed tutorial and docs for this soon, but in the meantime, please join our Discord if you’d like to give it a try.

Castle will show you remote logs from your hosted lua code while you develop the game!

Our Discord grew

Speaking of Discord, we’ve been excited to see all the new faces showing up there over the last couple weeks, especially this person:

Welcome to the Castle Discord.

We wrote more examples

We added more example codebases you can read, play, or clone in order to get a running start on your Castle projects.

Running the snake example in Castle

We added a mute button

People asked for this, so we built it.

You can prefetch game resources

Now you can prefetch images, sounds, fonts, etc. early in your game’s code to make your game load faster. See some example code here.

Changed some more things

  • If you navigate away from a game and back to it, Castle won’t reload the game. Instead it will maintain the game state.
  • Fixed an issue with Love2d text inputs not working on macOS.
  • Added a kick method to share.lua.
  • Added an api to enable or disable range compression in share.lua.
  • Added the ability to edit game metadata that you’ve added to your profile (previously you needed to delete and recreate it).
  • The loading screen is shinier.

Thanks for reading! As usual, head over to playcastle.io to grab the newest version of Castle.

For more updates, check out our changelog from December 3.

--

--