So last
week I struggled with fixing a very broken thing. The day after I wrote that
blog about how hard it was to fix the damn thing I fixed the damn thing. The
problem basically came down to an error in direction. When traveling to the
left I was multiplying in the Y direction (up) when it was supposed to be
multiplying in the X direction (side to side). Basically this seemed to make
the player check for a collision with the ground in the upper right corner of
the player, something that can pretty much NEVER happen as only the left and
right lower corners ever touch the ground. Finding this problem took 5 days
because the code for walking up a slope and maintaining the player speed is
pretty complicated. A bunch of math is involved that I don’t want to bore you
with.
Then I
spent the rest of my time fixing my decrease in power problem. Something
happened and all of my parabolas and push colliders all decided that they were
no longer powerful enough. My boomerang only would fly out slightly in front of
the player and the player would no longer move upward in the push colliders. I thought
it was the addition of the art that did this BUT I deleted the art and still
the power was too low. So I upped the power and fixed all of the ‘broken’
things. I hope that I don’t have to do this yet again when my computations
compound but again I don’t know what happened.
I was
supposed to paint this week… I didn’t. If I’m being honest I was afraid. I was
afraid that I would do something and break the game. I want to say that I have
created some simple and yet versatile code but I can’t really confirm that. So unfortunately
for me I let fear get the better of me. So after I finally solved my Zoolander
problem I ran into the Jim Cunningham problem. (Kudos to you if you get that reference
or Googled it.)
I
should probably take heart that I am still solving my problems even if not on a
time table to my liking. Means I am still able to work it out in code. Coding
is not my strong point but I am still managing. I guess I need an attitude adjustment.
I mean I have overcome all of the obstacles so far, basically nothing has
stopped me. Also I have finally made it to a part I’m good at! The painting
part.
No comments:
Post a Comment