Over the weekend I posted my first submission to Screenshot Saturday (which is just a weekly reddit post where game develops post screenshots of the work they’ve done that week).
I figured I should start showing other developers the work I’ve done so far as a way to encourage myself to push through and finish the game. As a game developer, it’s so easy to get over ambitious and keep coming up with ideas for games, features, etc. That’s the easy part; turning an idea into a game that is finished is the difficult part.
Progress on the game has really picked up in the past week. I’ve knocked out a couple of really huge issues I was having. This one particular issue with the slicing was giving me lots of trouble. For some reason when I would slice one game object into two, the pivot point would remain in the center where the original object had been. So whenever I’d tried to move a sliced ingredient it would always be offset a distance of how far it was from the original pivot.
In these pictures, the bottom part was sliced and selected. Then I clicked to the left to the tuna fillet in approx. the middle point, and you can see it still moved it where it would have been had it been still attached.
I tried a few different approaches with changing the pivots but all that proved to be was a headache. What I ended up on each slice was storing a Vector3, and the moment the slice occurs I calculate the difference between the renderer.bounds.center and the pre-sliced bounds.center, and store that difference in the slice. Then, whenever I actually move the object, I just make sure to add the stored Vector3 offset to wherever it’s moved, and it gets positioned accurately.
I’ve also been in touch with a game artist through a friend and we’ve started talking about him doing some of the models and environment for the game.
So overall, the past couple of weeks have been very productive!