04/05/13 Update

I’ve done more tweaking of the gems, and I’ve now added some sparkles to each gem, to make them a bit more pretty. I’ve also added one more gem, the diamond.unity_gems_5These are really sparkly, and this is something I will transfer to all the other gems next. The shape of the diamonds is quite cool, as the light reflects off them in a really cool way. Diamonds are worth 10 gems, making them extremely valuable to collect, but also they will be rarer in the final game. This now means there are 5 gems with the upgraded models I’m using.

unity_gems_all_2Another thing I’ve done is to upgrade the colliders of the gems from sphere colliders to mesh colliders. With the old sphere colliders, gems would occasionally roll around indefinitely and fall off the level, but now they will rest on their edge, which is a lot more realistic and looks much better.

unity_platformer_11This means gems can be found on their side or upside-down, although the default position of the gems in the game will be face-up. All this means is that they can be deflected across the level from an explosion and land in a realistic position. The way I tested this was by putting many gems in two containers,  with one container filled with gems with the sphere collider, the other with mesh colliders, then starting the game. As they fall from the container, the sphere collider gems roll out in all directions indefinitely, but the mesh collider gems land in a neat pile.

unity_platformer_12This works really well, and now all the gems have mesh colliders. You can see this happen in the YouTube video I produced about this update. I will start to do video updates along with some of these blog updates, to show what I mean in more detail. Download the game here and give it a go, feel free to give feedback or ideas what I could do next. I will be working on trees later, so there should be another update relatively soon. That’s it for today, thanks for reading.

-Daniel

Advertisements

6 thoughts on “04/05/13 Update

  1. I’d love to give it a go but Avast flags it as a malicious program. Damn.

      • Yeah i got it to run in the end. By the way, is this your first time coding a game?

        • Okay great, any suggestions for what I could add or change? Yeah, well kinda, it’s my first time with Javascript, if you go back to some of my earlier blog posts I also did a little bit of Java, but this is my first time properly making a game. Do you do any programming?

          • I’m a newcomer to the programming scene, with my first language being C++. It was a painful start though. Hahaha. No real suggestions yet, more like features though. I’ll keep following the game, see if I have any really cool ideas to present.

          • Learning programming for the first time can be painful, but it’s okay in the end 🙂 . I’m new too so I know how annoying it can be at times, like when your code breaks for no apparent reason. Okay, well thanks for the support, I’ll try to add in some good ideas when they come to me, and I appreciate the feedback.

Comments are closed.