Footsteps...
Just A Bean » Devlog
I don't know how to code sounds. Please help. This is the code:
extends AudioStreamPlayer3D
onready var walk_sound = "res://concrete-footsteps-6752.mp3" <-- this is the line that it says unexpected indentifier on
func _physics_process(delta):
if is_on_floor() and velocity.length() > 0:
if !walk_sound.playing:
walk_sound.play()
else:
if walk_sound.playing:
walk_sound.stop()
Just A Bean
It is literally JUST A BEAN.
Status | In development |
Author | The Platypus King |
More posts
- I’M. STILL. ALIVE.Sep 02, 2024
- I’M STILL ALIVE!Jul 17, 2024
- Free!Jun 17, 2024
- Important QuestionJun 15, 2024
- Hello? Pt. 2Jun 05, 2024
- Hello?May 30, 2024
- KO!May 21, 2024
- BeansMay 19, 2024
- Okay.May 14, 2024
- Alright. Yep. It's coming together now.May 04, 2024
Leave a comment
Log in with itch.io to leave a comment.