Week of Awesome V: Day 4: Strange Crystals

Published August 11, 2017
PC
Advertisement

Greetings and salutations!

Today was fairly productive, I feel! To start with, some screenshots showing the current state of the game:

powerups.png.2fd911c7bd1282ae62d3b631d5e95d3f.png

    The three powerups thus far implemented--from left to right, I believe: A "spread-fire" weapon, health, and a "charging blast" weapon.

 

598d3fdc4ca2d_Screenshotfrom2017-08-1106-38-16.png.0ac495578f79c12e9786adb3fc917b3a.png

    Some of the current state of the game--note the three enemies, the health bar, and the new texture on the level-geometry.

 

As to specifics, read on:

You may recall that I mentioned in my previous entry that the flying enemy might be scrapped; well, it's working now! It doesn't behave as I had originally intended, but I'm happy with its new (preliminary) behaviour, I do believe. ^_^

Speaking of enemies, they now react visibly to taking damage: they "flinch" a little to one side or the other, may be pushed back by some weapons, and release a quick burst of particles.

Weapons have seen a little work: I have a basic implementation of one weapon's appearance, and an impact-flash for the same.

I had hoped to produce something fancier that I have now--I wanted a 3D model that shaded from bright at its visual centre to darker at the edges, giving a nice, glowy look. I attempted to implement this by looking at the model's normals in the relevant shader, with normals pointing towards the viewer being bright and normals pointing tangential to it being dark. This sort of worked, but not to my satisfaction. :/

I also started in on menu-screens today: there is now an incomplete main menu, a possibly-sort-of-complete options menu, and a probably-near-complete credit-text screen.

On a similar note, I selected fonts to use in my UI, including the above-mentioned menus. This took a little searching, especially as I wanted to avoid licences that might be problematic. In the end I found two that I'm reasonably happy with, at least!

I've even made a first step on the in-game UI: as shown above, there's now a simple health bar near the bottom of the screen, which decreases when the player's health drops, and increases when it rises.

Powerups have also been implemented: small red orbs replenish the player's health, while oddly-shaped crystals provide new weapons.

And once again, the game saw various tweaks, changes, and additions that don't seem worth mentioning here!

That then is all for today--stay well, and thank you for reading! ^_^

3 likes 2 comments

Comments

__Toz__
Quote

I had hoped to produce something fancier that I have now--I wanted a 3D model that shaded from bright at its visual centre to darker at the edges, giving a nice, glowy look. 

If you want to make it look like the aliens are glowing from the inside, you can place a fake light source in the shader code that computes the length from the light source in object space. Then you can use this term as the light falloff: 


falloff = pow(0.99f, length);

That will give a sort-of fake sub-surface-scattering effect.

Anyway, I like how those aliens look. Really freaky.

August 11, 2017 03:29 PM
Thaumaturge
35 minutes ago, __Toz__ said:

If you want to make it look like the aliens are glowing from the inside, you can place a fake light source in the shader code that computes the length from the light source in object space. Then you can use this term as the light falloff: 



falloff = pow(0.99f, length);

That will give a sort-of fake sub-surface-scattering effect.

 

Hmm... Interesting...

 

(For the sake of clarity, I want the effect for weapons-fire, not the aliens themselves--they should look solid, but with a glowing "core", I believe.)

 

I might well give that a shot (so to speak :P)--thank you! ^_^

 

37 minutes ago, __Toz__ said:

Anyway, I like how those aliens look. Really freaky.

 

I'm glad to read that! Thank you--I appreciate it! ^_^

August 11, 2017 04:08 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement