Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I liked the developer narration. How was the car horn triggered? Was it a trigger on the back of the player car and if another car entered it would play the sound?

(+1)

No, but that would have also worked. Each car has two collision detection zones and two audio sources. If you cut them off (in front), they honk three times. If you come within a few pixels of hitting them, they give a single long horn blast. The player also checks for collisions, and it plays the crashing sound effect when you actually hit a car. Multiple audio sources work well in Godot, but things can get loud if you get too many overlapping sound effects at once.

Thats awesome thanks for the diagram too. I never used Godot but I've watched some videos on it. It looks good.