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.These 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.
Another 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.
This 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.
This 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.