Open Noah2610 opened 4 years ago
Add component to configure looping footsteps sfx when player walks on that entity. Use component in entity config. Specify which side of the tile must be colliding with the player to play sfx.
Example entity config component RON:
components: ( footstep_sfx: ( collides_with: ["Player"], if_touching: [Top], sound: Footsteps, ), ),
Add component to configure looping footsteps sfx when player walks on that entity. Use component in entity config. Specify which side of the tile must be colliding with the player to play sfx.
Example entity config component RON: