Sunday, 13 November 2016

It's Gonna Take a While... (New Version Info!)

Hey, so Blake has been working on a new, actually pretty major project, meaning that I have been mentorless (you can find out more about his current endeavours here). So what with the fact that I have been lacking a tutor I've been sorta teaching myself in a perverse way by ironing out all the bullshit he put in certain scripts. I've also been working on some newer stuff...

What I've Been Fixing

One of the features I initially added to the game between the last version and the one in development was automatic reloading, like that in games like the Halo and Call of Duty franchises. Basically, if your ammo reaches zero and you have another magazine it automatically reloads. 

Pseudocode
if (magCount > 0 && ammoCount = 0) {
    isReloading = true;
}

Actual code
if (curAmmo == 0 && magCount > 0) {
isReloading = true;
}
if (isReloading == true) {
reloadTimer -= Time.deltaTime;

if (reloadTimer <= 0) {
magCount -= 1;
curAmmo = maxAmmo;
reloadTimer = reloadSpeed;
isReloading = false;
return;
}

}

So that was not very fun...

There were, of course, other problems that I had to sort out but they are far more minor. (Such as base values that I didn't like)

What I added

Ooh, the fun stuff! So I've been working on a little bit of a script that functions like a backpack, with carry space and other cool features. This also allows me to implement new, cooler items, weapons, and effects. One such example I am looking to add is a health pack of some form that heals you over a period of time, not unlike Lifegems from Dark Souls II. The script can be found here.

Other stuff

-I'll be changing up the music very soon so be sure to check back for that! I just think that the current music is a bit bright and optimistic for the theme I'm trying to create.
-I'm working on a pretty title screen! 
-The sky might change a little. It is currently undecided.
-Bombs may become a thing.
-No new screenshots, sorry. Everything thus far has been purely code work.

Remember to follow the blog or whatever you do to keep up to date with the game!
Thanks,
~Sean

No comments:

Post a Comment