Logo
Explore Help
Register Sign In
bif/retrace
1
0
Fork 0
You've already forked retrace
Code Issues Pull Requests Projects Releases Wiki Activity
retrace/Characters/Player/Footsteps.gd

11 lines
131 B
GDScript3
Raw Normal View History

Add footstep sound effect and animation Sound is linked to Animation so it always plays when the camera nods down
2019-11-20 23:20:49 +01:00
extends Spatial
onready var steps = [
get_node("Footstep1")
]
func play_footstep():
Add logger trace when footstep sound should play Sound is not working currently on my machine... need to test
2019-11-21 13:26:51 +01:00
Logger.trace("Footstep")
Add footstep sound effect and animation Sound is linked to Animation so it always plays when the camera nods down
2019-11-20 23:20:49 +01:00
steps[0].play()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 33ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API