Jump to content
  • Advertisement

Unity Weekly Update #21 - Getting In The 【Game】

jb-dev

871 views

 

Last week was intense! There's a lot of new stuff!

So without further ados, let's cut the cheese. 🧀

Loading Screens A-Plenty

So last week I said I was able to load a level from the main menu. However, there were some problems when it came to the reactivity of the app during that loading phase... The game froze and gave no signs of activity, promoting Windows to administer the "Not Responding" treatment.

To fix this I've broken up the loading process onto three separate loading processes. 

I've also optimized the music playing feature: it now initializes before the menu screen, so now everything can be offset to a secondary thread. It's just a matter of waiting for the end of that process with a Coroutine and load the next scene when it's done.

This significantly speeds up the loading process to the point where some loading screen only shows up to immediately disappear after.

Getting In and Out of Levels

Secondly, I've finally linked all levels together.

Now, when the player jumps down the Ethernet port a loading screen is shown and the next level is then loaded.

This means that the player can theoretically complete the game for the very first time. (Yay!)

Levels 

Thirdly, there is now more than one level.

Each level has their own localized name. In the future, an AESTHETIC Sonic-like splash screen will be shown to introduce the level. Right now it's only a small notification, but it's getting there.

image.thumb.png.6458160b01cb132aef6bc8eaa104132d.png 

Because the game uses a palette, it was really easy to add other levels. I did, however, need to make each level look distinct from one to another, so I had to work on their palettes a bit. In order to get the right feel, I've tried to get Vaporwave images that inspired me and extrapolate on their palettes to create new ones.

Here's a bunch level and their respective name:

Juicy Jungle Saucy Savana Current Cave Digital Desert Hot Hell Invalid Ice Havana House Specious Sky

Keep in mind that there'll be some level-specific props for each level in the future. (Just changing colours won't be enough to make each level unique)

I also want to mention that two of these levels, mainly Current Cave and Hot Hell, have inverted palettes. Usually, each colour changes their values from light at the top to dark at the bottom. These levels have these value flipped.

This creates an uneasy feeling, not unlike photo negatives. This effect was used in Current Cave to indicate that it's dark, while at Hot Hell it's hot.

Development Builds

While working on the game, it occurred to me that I've never built my game at all. This was kinda troubling, as I had a skewed view of the game's performance: the Unity Editor creates a lot of overhead, meaning that the game genuinely runs slower in the Editor than as a standalone.

So I've decided to finally build one small developer build to evaluate the game's performance.

While doing this I've also decided to tweak some the standalone's settings. For example, I've added a nice logo at the game's main splash screen. (Just a placeholder one don't worry)

image.thumb.png.45393fc09ead03174914d70e737f83d4.png

I've also added a bunch of program icons and cursors.

image.png.3ddee496e82d0f40709d5a9e33999596.png

While doing the cursor, it occurred to me that I could generate different cursors for each level, so I tried it. 

First, I've created a base cursor image. Secondly, I map each colour channel of our base cursor to a colour given by the palette and store the result for later use. Then, when the level loads, we simply replace the cursor with the level's one and voilà.

mouses.png.d1d8f7d2c54ebb76d6490f617f7454fb.png

But anyways, I was able to compile a development build and give the link to some of my friends and relatives...

I won't put it online right now: there're some easter eggs in it that aren't hidden yet 😉.

Counting .mp3 files, the game's size is about 80 MB. While this can be quite big it is but a development build, so not everything has to be perfect.

New Characters

There's also three new "character" classes: gunner, marksmen and swordsmen.

Each of these characters starts with their own equipment, base stats and even their own focus alignment.

When the player starts a game with a specific character, its choice is saved in the save file. When the player plays again, the last used character will be already highlighted.

But enough talk, let's get right into each of these classes.

The Gunner

image.png.1a1612eb590ec0ca822231b7c1ed80fa.png

Nicknamed "True American", this character starts with, well, a gun.

His weapon: The Gun

image.png.1936049a5b4e79aefdd138224f8a948c.png

The gun is a new hit-scan weapon that can also be obtained in-game. It uses ammo and doesn't need to be charged like the bow.

image.png.6981c6345724ad91629d9504e879b7da.png

This is quite handy, but this weapon is also especially loud: It's not the most subtle weapon out there.

Also, unlike the bow, it can only hold a set amount of bullets. (no reload sorry guys)

When the gun runs out of ammo, the player can use a secondary melee attack. This attack, however, is considerably weaker than using a bullet. 

Once the player has a gun, ammo will spawn where common consumable items would also spawn. It can even be found in Malls if the player holds a gun when the level was generated.

The ammo is game persistent. This means that if the player had a gun, collected and used ammo, switched to another weapon and switch back to another gun then the ammo amount will stay the same.

His Item: The Cellphone

image.png.6492221c4bc22954dfc7556775effe9c.png

The True American also comes whit a cellphone. This gives him the ability to create one-way teleportation points.

His Stats

image.png.7baf5ca80872c2fc465977d0ae72500d.png 

For stats, he's really kinda weak compared to The Standard, but what he loses in raw defence he gains back in HP, making him a powerhouse if you can avoid direct contacts with enemies.

The Marksmen

image.png.e4c98e2a9493f857fa9f5a6ee6e07b0c.png

Nicknamed "Robin Hood", this character uses a bow to dish out damages.

His Weapon: The Bow

image.thumb.png.f6ad3a279130b41ea3b48edd63fc6fcb.png

This new weapon can also be obtained in the game. The Bow is used in conjunction with arrows to create a formidable combo.

image.png.9bbd27407754ea3c832bec3a6cb11a99.png

Unlike the gun, the bow isn't a hit-scan weapon: it instead throws arrows. In order to be effective, this weapon needs to be charged up. The player presses and hold the attack button, and release it to unleash a deadly arrow. The longer the player holds the button the faster and deadlier the arrow is.

The player can also use a secondary melee attack by quickly tapping the attack button rather than holding it down. This is useful to break breakable boxes or quickly dispatch weaker enemies without wasting any arrows.

Like the gun, when the player runs out of arrows, then the weaker melee attack is used.

Arrows behave just like gun ammo: they will be lootable when the player holds a bow and their amount is game persistent.

Oh, and it's a really expressive way to do art too:

image.thumb.png.9dfb786a2a71ddc7616f05002b5f5b73.png

His Item: The Survival Gear

image.png.f9737400b1183b513407f26d9903cdbb.png

Robin Hood also holds a survival backpack. This makes him able to consume some of his health and produce food items.

His Stats

image.png.4d85519f4e75aea33ab5fc920da3a147.png

Robin Hood's stats are somehow similar to the True American's, but where the latter gains more in HP the first has a significant advantage in Agility.

The Swordsmen

image.png.ac05fcb3121f596ccbc37ab84e2b1a0b.png

Nicknamed "The Standard", this is the default character and probably the only character that isn't an unlock.

His Weapon: The Sword

image.png.b0248a2d4c246ad5b3262f129d7fb22a.png 

The Standard uses a basic sword. It only has a melee attack with a set range.

It's quick enough to repeatedly attack in quick succession, but that's about it.

His Item: None

The Standard doesn't hold any items nor any other equipment whatsoever.

I'm not sure whenever or not there should be an unlockable item for this character much like The Binding of Isaac or not...

His Stats

image.png.8ef8a44684cb83c75f65badc8f7002bd.png

This is a placeholder stats, but the idea is that this character is an all ground one.

Minor Tweaks

  • Upgraded particle physics.
    • Now each rock crumbles made by breaking either a breakable wall or a rock will react according to their position and the explosive force of the bomb.
  • Fixed a bunch of bugs with collision layers.
  • Added locked folder items.
    • This means that in order to open these you'll need a key.
      image.png.728087ac569c0015385f16c9c698c6e9.png image.png.347d759ab1510dfd0080bf68e5c3bb78.png image.png.ab0fc3a51e7174ee4d1472251297912a.png
  • Optimized the VaporMaker album image system.
    • Now the colour mapping takes place in the GPU rather than the CPU, saving memory and quickening the whole VaporMaker process.
  • Optimized shaders so that the building of the game doesn't take ages.
  • Added colour palette support for many GUI components.
  • Made GUI component's colour listen to any palette changes so that their colour would always follow the palette.
  • A lot of refactors and fixes.
  • Made some GUI layout more responsive.
  • Fixed bugs.
    • a lot.
  • Made State loading more dynamic.

Next week

What is planned next week is to polish and balance those new classes. I also want to polish some stuff that I've noted down.

After that, It's up to bosses. Afterwards, it's the usual suspect...

I got to say: the more and more new features get implemented the more and more this thing I have starts to resemble an actual game.

 




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
  • What is your GameDev Story?

    In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

    (You must login to your GameDev.net account.)

  • Blog Entries

  • Similar Content

    • By DIM DAWN Studios
      The wait is over
      You are awakened from a dream.
      You don't where you are or who you are. But the only certain thing is;
      You have to go forward.
      On your journey to Akimon you will face many obstacles in many forms.
      But before you can beat the challenge ahead
      You'll have to use your reflexes and determination in order to avoid death.
      But none will be harder than the most fearsome of them all.
      Yourself.
      To Akimon is a game based upon one mechanic only.
      You will have to rely on your reflexes in order to progress.
      The game tries to maintain a minimalistic voxel-esque visual style 
      while also accompanying you with a soundtrack inspired by 8-bit and synthwave music.
       
      You can find more information about TO AKIMON and us here!
      You can purchase TO AKIMON here!



      SS 6.bmp
    • By Brain
      Someone should call health and safety and let them know about the many violations caused by this bot.
    • By intenscia
      mod.io is an open platform for hosting mods created by the team behind ModDB.com and IndieDB.com. It can be integrated in-game using the  REST API, C/C++ SDK or engine plugins (if available) Unity is ready and Unreal Engine is in development.
      Features include:
      Platform agnostic (support 1 click mod installs on Steam, Epic Games Store, Discord, GOG, itch.io and even consoles in the future) Clientless (mod.io has no other dependencies and works behind the scenes in your game) Embeddable web app UI, so you can integrate your mod community anywhere Powerful search, filtering and tagging of mods Moderation and reporting systems built-in Steps to getting mod.io integrated:
      Add your game to our test environment or production Read our API documentation for an overview of how mod.io works Choose an Engine Plugin, API or SDK to integrate mod.io into your game and mod making tools Ready to launch? Add your game to our production environment then let's discuss promoting your release Need help? Our team is available on Discord to assist and our getting started guide has more information for you Benefits of using mod.io:
      mod.io offers the same core functionality as Steamworks Workshop (1 click mod installs in-game), plus mod hosting, moderation and all of the critical pieces needed. Where we differ is our approach to modding and the flexibility a REST API offers. For example: 
      Our API is not dependent on a client or SDK, allowing you to run mod.io in many places such as your homepage and launchers Designing a good mod browsing UI is hard, our plugins ship with a UI built in to save you a lot of effort and help your mods stand out We don’t apply rules globally, so if you want to enable patronage, sales or other experimental features, reach out to discuss Our platform is built by the super experienced ModDB.com team and is continually improving for your benefit Your community can consume the mod.io API to build modding fan sites or discord bots if they want Large studios and publishers:
      A private white label option is available to license, if you want a fully featured mod-platform that you can control and host in-house. Contact us to discuss.
      Find out more:
      Visit mod.io | About us | Add your game | Chat on Discord
      These screenshots are from our Unity plugin:




    • By Nick Griffith
      I'm building an innovative 2d platformer game, more on that later probably.
      I've created basic mechanics, some basic enemies, wall jumping platforms and the like. But I just need MORE to fill my levels with.
      Could you guys give me ideas for enemies, items, mechanics, basically anything(art would be appreciated, but I just need ideas)
    • By kenBlade
      hi all, just wondering if I could get your tips or insight on a specific gameplay and animation question I've had for a long time:
      For tennis games and other games involving hitting fast moving objects, what would be a good way to avoid mishits like in this video? (Far side 0:50s and 0:58s)
       
      (watch in .75 or .5 speed for even more clarity)
      This is quite a common visual bug for tennis games as I assume the devs didn't have time to polish, but I want to make sure I plan and code for my tennis game to avoid this kind of blemish.
      I'm assuming the fix would involve some kind of IK solution and maybe target matching to get the hitting animation to line up with the correct hit "pose".
      Any advice for a Unity beginner like me would be super appreciated 😃
×

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!