laundromat devlog 1


here's my first devlog for this game.

i decided on a working title of "Earlybird Laundromat".

this week i built out the interaction system for the game, following this video tutorial, which i thought was a nice practical introduction to object oriented programming concepts in unity.

i set up an InteractionDetector, which is a Box Collider that moves around the player sprite as an added property to the player's animation clips. this way the InteractionDetector is always in front of the player character, no matter which way they are facing. a pitfall here is that the "Add Property" button is grayed out, if you're not selecting the gameobject that has the animation on its animation controller in the hierarchy. this post helped out here: https://forum.unity.com/threads/i-cannot-add-any-properties-to-any-animation.517...

next i set up the IInteractable interface as described in the video tutorial and had the cash register object implement it. i also added functions to show and hide the button prompt when the InteractionDetector is triggered.

finally i switched to the new Input System package following this video tutorial. for a while i was trying to use the Player Input component to broadcast an Interact unity event... but this tutorial does not use it.

next build will have a new title screen with a background that i drew in Aseprite following this tutorial.

Leave a comment

Log in with itch.io to leave a comment.