Ink Blob pick up feedback


Example

author: Aaron Chance King


This week I didn't run into many issues that took longer than 5 minutes to figure out. But the only thing that really stood out would be the issue I was having with translating a game object from a world position to a screen space position. I was trying to get the ink blobs to move from their drop position to the point on the screen UI that displays the player's total count, while I initially thought this would be really easy by just using Unity's build-in world to screen function, no matter what I did the position that returned from that function was always in the wrong location. This was causing the ink blobs to move from where the player had picked them up to the opposite corner that the UI was.

I tried looking up solutions to counter that problem but came up empty. The solution I ended up going with, for now at least, was to just have them move to a fixed position on the screen. Since the UI elements don't change location I just set it up to move from its current position to the fixed corner of the screen that the UI is at. I do think I will be going back in at a later point and just moving the ink blobs from being stored in world space into a UI element. The speed the ink blobs need to move fluctuates with the player's movement. Whereas if it was a UI element it could move at a constant rate being that the UI is stationary at all times.

Leave a comment

Log in with itch.io to leave a comment.