Jump to content
  • Advertisement

Unity Weekly Updates #37 - Breakin' the Law



Hey, nice to see you again, and welcome the newest entry in your favourite weekly update blog!

Last week had quite the development, not gonna lie.

There was a lot of brainstorming, modelling and coding.  Needless to say that I got a lot of things to say, so let's get right to it!


First, I'm happy to say that all of my models have their LOD done! It's was quite the task, but I think it was really needed! 

From that point on I got to remember to do these LOD on each model I'm creating. That way I don't need to stop everything redoes the modelling afterwards.

GPU Instancing

Another great improvement I made was with GPU Instancing.

(If you don't know what this is, take a look over there!)

Previously, some of my game objects got their mesh changed to fit certain situations. This was convenient and was overall really easy to do...

There were even some meshes that were procedurally generated altogether.

What I've missed, however, is that even if most meshes were the same, Unity was still considering them as different meshes altogether.

With that, I was missing out on dynamic batching and GPU instancing. While my shaders were properly configured the other prerequisite for GPU instancing was that each model is the same.

Because of this, I've decided to revise my model-changing workflow. 

The gist was that I could generate and modify these meshes only once and simply reference those to all game objects.

With this, I was able to greatly reduce my lag by batching most of my meshes. Needless to say that this had quite the effect on my frames.

Plus I was able to rectify some of these procedurally generated meshes that quite honestly didn't feel quite right...


So, to rectify my really basic procedurally generated door meshes, I've decided to model out a more Vaporwave-ish door.

Here are the results:


While these surely had more poly in them they also got LOD from the get-go. I've got to say I like this design a lot. It really feels Vaporwave and looks a lot more detailed than previously.

Alt Routes and Alt Doors

While working on doors I've also decided to rectify alt routes.

For those who didn't know, alt routes are alternative routes that the player can take. Depending on the player's luck they could spawn or not... To get in, they need to pay with crystals.

To put it simply, the player will be twice as lucky while travelling on the alt route. Every loot will actually get a second luck roll if their first one failed.

One of the drawbacks of it is that there aren't any special rooms at all. It's really just a way to get objectively better loot to have better odds later on.

But anyways, to get in the player need to locate specially marked doors. Here's the design:


You can easily know this door is special with that nice linen barrier. I honestly also think that there should be a bouncer here too, just to cram in the idea that this is for VIPs only.

I'm also not sure if I should change the door's colour to make it even more obvious...

Breakin' the Law

Next up, I want to talk about the mall for a bit.

Basically, with all that LOD refactoring I've decided to split up my mall geometries and put them in different layers. This way I can easily control which light interacts with which geometries.

At the same time, I decided to add a functionality that I had in mind for quite a while: breaking the mall's windows.

The idea is that there would be items behind those windows. Normally they won't be buyable, but if the player breaks the window then they would get it. AND for free.

But, that's considered robbery so there will be consequences.


When those windows get busted, an alarm will go off. The light will also turn red-ish (or the colour of the sun to be more precise).

Now I'm not quite sure what else to put, but it's either that some cops will be placed at random on a level or that all malls will be closed from that point on, but I'm not sure.

I know Spelunky goes with the "vengeful owner" path, but I don't really know. I guess I need more brainstorming.

I'm also not sure what kind of items would be displayed. I had the idea that the more unlucky you are the rarer the items would be or something like that. That's another point worth brainstorming about.

Boost Packs

Finally, let's talk about boost packs.

To put it simply, boost pack are one-time use items that give you some kind of advantage at the beginning of a run. 

For example, there might be a booster pack that gives you an Attack bonus or even one that can give you a piece of equipment.

To buy these, the player must find a Super Shoppe. It's a kind of special rooms where the player can buy persistent items with their crystals. (think of it as an in-game shop of some sort).

That room isn't modelled-out yet, so there's no way to access them yet.

When the player buys a boost pack, it gets added to their collection and each savefile got their own collection.

When the player is about to start a run a boost pack can be selected in its collection. Once the run starts the boost pack gets used and is removed from the collection.

I've also started to add these late in the week, so there's only one kind of boost pack as of yet.

There's also no ways to apply these right now too (Missing GUI).

Anyways, most of these would take the shape of some kind of billboarding sticker-ish thing.

Take a look at these nice placeholders :


These are actually just stats-boosting boost packs. The smaller ones cost about 10 crystals and come in different sizes. 

And, you guessed it, the size affects the cost and their bonuses.

I'm still working on them but the actual code is actually all written. I still need that GUI and that special room though...

Minor Updates

  • Rectified the art style to be more "Low-poly-ish"
    • Added those nice hard-edges and whatnot
    • Modified most of my weapons materials to be emissive
      • Because, you know, UX and all
  • Refactored most of my UI to remove those hungry layout and canvas components.
  • Added a permanent money counter at the bottom of the screen.
  • Added a AESTHETIC texture to my gun's grip
  • Optimized the light system of most of my special rooms.
    • Changed most item LODs renderers to be on a better layer (Based on where they are spawned)
  • Refactored my rooms classes to remove duplicated code
  • Fixed bugs with alt rooms not being properly closed
  • Changed the catenary curve mesh generator to add highlights

Next Week

Not gonna lie, I doubt that I would be able to make a demo by the end of the month, but I'm still prioritizing the most crucial functionalities as much as I can.

Next week I will continue with the Boost Pack. I will also probably continue with optimizations and profiling altogether. 

Otherwise, I need to take a moment to brainstorm. We're at that crucial point where I need to focus on how can I ramp-up my gameplay. I also want to make much of my current actions as juicy as possible, just to get the game in a presentable state.

Afterwards, it's your usual suspects (God bless these may they never change😌).,,

There are also lights and also going through my meshes again and push for that low-poly redesign.

Needless to say, a lot of work is ahead of me...


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By Giddens
      My name's Greg Giddens, I'm a game developer, programmer, looking for some help creating art assets for the strategy management game I'm developing.
      The game is called Schism and it's being developed in Unity. Schism is a strategy management game where the player manages a cult and their compound, building the compound to be self-sufficient, recruiting more members, and growing the cult's influence. Additionally, the player will also engaging in turn-based tactical missions to further their cult's agenda.
      Currently the development team is two people strong: I'm programming and co-designing, and my creative partner Steve Peacock is writing and co-designing. We've been developing Schism since February and have the main systems in place. What's really holding us back at the moment is our lack of quality 2D art assets in the form of building sprites, character portraits and scenes, and UI art. However, for the time being we just want to create a short reveal trailer with 2D stills so we can launch a Kickstarter. 
      For the trailer we need 9 scenes of people performing particular actions (more details would be provided once collaboration is agreed) and a stylised version of our title, Schism.
      Unfortunately we're not in a position to pay. We would, of course, pay if our Kickstarter was successful after the fact, however, I appreciate how much of a red flag that may raise with some of you, so please consider this to be a completely unpaid job.
      If anyone is interested please leave a comment with a link to any samples.
      Many Thanks.
    • By RoKabium Games
      For this Screenshot Saturday we are enjoying the warm summer weather but we can guarantee it's not as hot as it is down in the caves on Tartarus. Luckily the suit our Alien is wearing can withstand very extreme temperatures.
    • By redoakbytes
      Hi everyone
      I would like to present my first free mobile game, currently only available on Android. I created it in my spare time at Unity with the help of Corgi Engine and DOTween. It is an arcade game in which you have to pass the level as soon as possible, because the player loses his life every second. However, to go to the next level, we need to run the portal. There are two power ups, double jump and wall jumping. During the game, coins are collected that can be spent on a new character in the shop. There is also a table of the best times. There are no in-app purchases in the game.
      Any feedback is welcome
      Google Play: https://play.google.com/store/apps/details?id=com.redoakbytes.timerun2050&hl=en
      Here are some screenshoots:

    • By RoKabium Games
      The now extinct Parpuins built basic wooden and metallic structures and the oxygen deprived atmosphere in the underground on Metis has preserved some of them. If you are lucky you might discover a few of these while exploring.
    • By NicholasCorbin
      Hello everyone,
      I am currently attending college with a specialization in game programming and development. With the end of my courses coming near, it's about time I reached out to a legitimate game developer forum for knowledge and advice on a variety of topics. The topic I would like to discuss, which is also the one that has grabbed my attention recently, is audio design in games. As we all know, audio is an important aspect of the overall gaming experience. The questions I have are as follows:
      The Playstation 5 is planning on having "3D Audio" built-in without external hardware. Assuming this works similar to something like Dolby Atmos, but more accessible, what with this mean for audio design in the future? Many game dev teams are already tasked with developing for multiple platforms, how will this new technology effect multi-platform development? Will this only be utilized for Playstation 5 exclusives? Footstep audio in player versus player experiences: how much is too much? Many games with pvp experiences place an emphasis on the user character footstep audio over other characters footstep audio. In my experience, this makes finding other players to fight (in the context of a confined space with many areas to hide) a exercise of "stop, listen, and go" to locate them. Theoretically, would increasing enemy footstep audio lead to quicker engagements on the battlefield? Though over-tuning this might be harmful for gamers who are overtly-sensitive of hearing. Voiced in-game elements for the sake of accessibility: worth the cost? I have two brothers with cerebral palsy who play games often, as it's one of the only things they can engage with. Their hearing is great, though they have an extremely hard time reading in-game text that aren't voiced (i.e. in-game items and quest descriptions). Would having something similar to Microsoft Sam read out these elements be worth implementing? Text-to-speech licenses as low as $99 a month exist, which is lower than what I expected.  
      Thanks for reading!
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!