Sunday, November 24, 2019

Game Update and Little Rant

The Gun Show is approaching its release with just a few small touches left.  When I was adding one of the particles for the characters I realized how somewhat random unity made the emitter module.  My goal was to make a script that will change the emission rate for a particle. I wanted to make it emit at a faster rate the close the player is to being defeated.  I was expecting something along the lines of: 

Particle.emissionRate = desiredRate; 

Ofcourse it wasn't going that easy.  When I saw the script reference library I thought it was a line of JS and instead tried to figure out another way.  Ultimately after a few hours I tried the suspicious looking line and it ended up working. 

var emission = ps.emission;
emission.rateOverTime = hSliderValue;

Below are some screenshots of the Iron Man Mode and the playable characters in the game.












#TheGunShow #Indie #GameDev #Game #Development #Unity #Mobile

0 comments:

Post a Comment

Powered by Blogger.