Jump to content
  • Advertisement

Unity Weekly Updates #37 - Breakin' the Law

jb-dev

632 views

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!

LOD (DONE!)

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...

Doors 

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:

image.thumb.png.6b6b2d2dc37e169e564237f52a0c1d8c.png

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:

image.thumb.png.e194643b6d6ad8c0d998c4e3d821b74c.png

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 :

image.thumb.png.851f986c51c66844fa26baf2b6effc47.png

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
    image.thumb.png.8fbff50a8cfc49a7cff9a2c1bafb4fa2.png
  • 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
    image.thumb.png.752ea70373e34451cd2abff0685723db.png

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...




0 Comments


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 AtomicBrain
      Hi all. This is a small little arcade game that I have been working on for the past 6 months.
      Move the ball behind your finger and avoid obstacles.
      The speed of obstacles gradually increases, slowdown them with simple movements of a finger.
      Collect coins and discover new ball styles. More coins - more styles!
      Compete with friends: check whose finger is faster!
      Link: https://play.google.com/store/apps/details?id=com.Brain.JustMove
      Gameplay video: YouTube






    • By horror_man
      Hello, I'm currently searching for additional talented and passionate members for our team that's creating a small horror game.
       
      About the game: The game would be a small sci-fi/post-apocalyptic survival horror 3D game with FPS (First person shooter) mechanics and an original setting and story based in a book (which I'm writing) scene, where a group of prisoners are left behind in an abandoned underground facility. It would play similar to Dead Space combined with Penumbra and SCP: Secret Laboratory, with the option of playing solo or multiplayer.
       
      Engine that'd be used to create the game: Unity
       
      About me: I'm a music composer with 4 years of experience and I'm fairly new in this game development world, and I'm currently leading the team that'd be creating this beautiful and horrifying game. I decided that making the book which I'm writing into a game would be really cool, and I got more motivated about doing so some time ago when I got a bunch of expensive Unity assets for a very low price. However, I researched about how to do things right in game development so I reduced the scope of it as much as I could so that's why this game is really based in a scene of the book and not the entire thing. Also I'm currently learning how to use Unity and learning how to program.
       
      Our team right now consists of: Me (Game Designer, Creator, Music Composer, Writer), 4 3D Modelers, 2 Game Programmers, 1 Sound Effect Designer, 1 Concept Artist, 1 3D Animator and 1 Community Manager.
       
      Who am I looking for: We are looking for a talented and passionate programmer that's experienced with Unity and C#.
      Right now the game is in mid-early development and you can see more information about it and follow our progress in our game jolt page here: https://gamejolt.com/games/devilspunishment/391190 . We expect to finish some sort of prototype in 3 months from now.
       
      This is a contract rev-share position
       
      If you are interested in joining, contributing or have questions about the project then let's talk. You can message me in Discord: world_creator#9524
    • By RoKabium Games
      A message from the Aliens for this week's #screenshotsaturday.
      Happy Easter to all!
      If you're looking for something to do, why not join our Alpha testing?
      Check it out at this link: http://bit.ly/sama-testing
    • By Veizyr
      Hello people! We have a spot open in the team, here's a little bit about the game and the team making it!
      About the game: The project is a 2D trading/combat/exploration oriented game set in a medieval fantasy world developed in unity. It involves several different play styles like turn by turn combat, board game style exploration and more! As far as we know, nothing like this is currently on the market and therefor kind of hard to pin down into a specific genre. We're going for a pretty gloomy theme and putting a lot of focus on the art style, animation and music.
      Our team: The project is in it's very early stage and we are currently building the team. We currently have an environment artist, two programmers, a project manager, a writer, a composer and a sound designer. We will be adding more team members as the project moves forward. Our current goal is to build a small prototype to be able to present for further development.
      What we need: - A 2D artist aiming for unique character designs and if possible, animation. (no pixel art)
      If you think your unique style could fit with our game and are up for a challenge, contact me on discord at Veizyr#1797 for more details. We'd love to see some of your work and chat more!
    • By RoKabium Games
      ALPHA TESTERS WANTED! Our PC game "Something Ate My Alien" is starting public testing today! If you would like to test our game, contact us or visit the link below: SAMA forums: http://bit.ly/sama-testing
×

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!