10/05/13 Update- Saving and loading

unity_platformer_18

I’ve done more work on my game over the past few days, and I’ve got an automatic saving and loading system working. This is a great achievement considering I’m not at all advanced at programming, and I’m pleased with how it works. Now, when you enter a portal, and therefore complete a level, your record number of gems is saved. This means you won’t lose all of your progress every time you exit a level, and any levels you’ve unlocked (i.e. if you have had enough gems to enter the level before) will remain unlocked. So that means you don’t have to collect loads of every gems in the hub world every time you want to go into Level 1, for example.

The record number of gems for the level you’re in is displayed in the corner, which is useful to tell you that you need more gems. Soon I will add a counter to tell you how many gems the level contains, but since there’s just a random assortment of gems in the level so far, that’s a rather pointless thing to add at the moment.

unity_platformer_21I’ve finally added some better, more colourful trees too. I had a play around with Blender too, and came up with some really basic scenery such as a bridge and this awesome rainbow (which looks a little weird when viewed from the side, but I’ll fix that).¬†This rainbow is just a circle, cut in half, then I divided it into seven bands and added coloured textures to it. It look pretty cool in the game, along with another thing I added: more trees! These are simply re-textured leaves, coloured a nice dark pink. They look pretty awesome.

unity_platformer_trees_2The shape of the pinky-red trees are different, but ultimately the texture is the same as the green trees, just re-coloured. But they look awesome. I’ve also started work on another level, which will eventually be a volcano level with a rocky environment around it. You need 200 gems in the hub world to access it currently, but there’s plenty in the level so you shouldn’t have a problem.

unity_platformer_20There’s not much currently here, but it will hopefully evolve into a more detailed world. The game accurately keeps track of your highest gem record in this world too. I will add a transition level at some point between entering worlds, that may come next. I haven’t made a video on this update, but you can still download the .exe file for this to play around with it and give feedback or any ideas you have. Thanks for reading!

-Daniel

Advertisements

One thought on “10/05/13 Update- Saving and loading

  1. By the way everyone, I think I’ll do a simple YouTube Blender tutorial pretty soon to help people get to grips with it. Or a Unity tutorial maybe, I haven’t decided yet. Keep watching my channel and this blog for more.

Comments are closed.