Friday, May 4, 2018

TOE week 58: A couple of hitches.


What did I do this week? The better question is, what didn’t I do?



I colored this picture. Why, who is that lady? You might ask. I don’t know who she is I didn’t draw her, she is just the line art provided by the tutorial. I am trying to get better at making art as it seems to be one of the things that catch peoples’ attention. So I colored her for better future advertising purposes when I have my own line art.
.
I fought with programming. Like I created my own admittedly crappy bounce a ray off of collision system but for the life of me I could not figure out how to correctly use vector3.reflect. All of the documentation and tutorials I found basically say this vector3.reflect(angleOfIncoming , normalOfHit). I did that and boy did I get some weird results. So I keep looking for a better documentation or tutorial. I eventually found one after having fought with reflection for a day and a half. I throw away all of my old work and implemented a system that is arguably better than the one that existed prior. Mainly because my old system could only handle one incoming ray meaning that if a mirror was hit by two rays only one of them would draw the reflection. 



This is my reflection in the editor. The yellow lines are the path of the lazer the green boxes are the source of the lazer and the green rectangles are the mirror objects. It doesn’t show up in game as gizmos do not render in the game window. You have to use LineRender to get it in game and that is the hitch.

I can’t get LineRender for the life of me to draw a line where it is supposed to. The line just shows up a position 0 for reasons it decided, not me. Something for next week’s work list I suppose!

Then I took the show on the road and showed the game to two former co workers at lunch. One of them game me homework. Basically if you want your large design to be cohesive you have to always look at any new idea and ask does this support the mission statement of the game. The hitch here is that your mission statement is one sentence. 

Sounds easy but IT IS NOT. So far my sentence is: Electric exploration using time travel to fight the one percent. Something more to work on next week. 

This week was productive and eventful.

No comments:

Post a Comment