This week I managed to implement 3 secondary weapons. Aside
from a couple of Google searches to tell me, ‘just how do I use this syntax?’
everything was pretty easy aside from new things I broke. I also colored some
pictures for the other project that I am still trying to finish. I now have
some Blender work to do to finalize the background of the image. This week wasn’t
a good week for the game but it wasn’t a bad one either. More down the middle.
My
three new weapons are basically a gun, a boomerang, and an angry bird. They don’t
all behave correctly at all times. But that is standard fair as I have seen of
late. The angry bird a parabolic based weapon works great until I cross over
the 0,0,0 mark in the world and x is
negative, then it decides that it doesn’t need to fly up anymore. There is
something fishy about this. I will have to look into it and find out how to
kill this problem.
The gun and boomerang went off
mostly without a hitch. Guns in a 2D platformer are pretty simple. Send object
that way then destroy object when too far away. Aside from the problem that
when wall sliding the secondary weapons are shot in the direction of the wall
the player is stuck to… Really minor but wrong. I could nix this real fast by
saying you can’t fire a secondary weapon while wall sliding but I haven’t decided
if I want that or not. Firing from a wall is actually kind of cool. Think Megaman
X.
I still don’t love the Get
Component calls in Unity C#. I wish I could just say hey these two attached
objects should know about each other’s public variables. I guess that is what a
Get Component call really does but it is clunkier than C++. Really though that
is the only thing that Unity C# is clunkier than C++ about.
I haven’t been able to work as hard
on this project this week or even on the other project. I am the stay at home
dad again. But as of end of day today the wife is on Summer Vacation again so I
can put in more time next week maybe… I say maybe because we have A LOT going
on next week with my son’s doctors visits. Our free days are rapidly
disappearing. Not for fun cool stuff either. Also this week I focused a fair
amount of time into fitness and was just too damn tired to work on anything
game related as much as I should have.
I had some delusions that I could
hammer out this demo before my wife went back to work in August. YEAH that
really doesn’t seem likely now. Sigh. Delusions of grandeur I suppose. I am
also going to visit more family in a week and I really want to bring my Laptop
to show this off to people. I regret not brining it for our last trip but there
wasn’t enough room in the car and I didn’t want to crush the thing.
Next week I might have to put in
some targets to hit with my fancy new Secondary Weapons. I also need to find a
way to assign what weapon you’re using. Like pick up a gun and drop the boomerang.
No comments:
Post a Comment