Noah2610 / deathfloor

Work-in-progress Mega Man inspired game.
MIT License
2 stars 0 forks source link

Footsteps #53

Open Noah2610 opened 4 years ago

Noah2610 commented 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,
    ),
),