Weekly Update #21 - Getting In The 【Game】

Published November 19, 2018
Advertisement

 

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.

 

2 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement