Hey guys,
after a long pause I am back at playing around with my own small game (it is only a hobby so a couple of month of no progress is ok I guess).
I am looking again at the "big picture" of the GCC4 architecture and struggle with the role of the AudioComponent in the Actor system and how it relates to the HumanView and how audio in general should be treated in an engine like GCC4.
Where I'am getting confused is why GCC4 / TeapotWars uses the actor system to play background music but all other sounds are controlled within the HumanView. For me this makes no sense because the background music is only relevant for the human player.
How would I implement for example the sound from an opening door? In the HumanView? Or using the actor system with an trigger-able sound component? And whats with running and jumping sounds of the player? I would need more then one AudioComponent...
I hope you understand my confusion and hope someone can help me with that. Any input is welcome.
Thanks
Basti
after a long pause I am back at playing around with my own small game (it is only a hobby so a couple of month of no progress is ok I guess).
I am looking again at the "big picture" of the GCC4 architecture and struggle with the role of the AudioComponent in the Actor system and how it relates to the HumanView and how audio in general should be treated in an engine like GCC4.
Where I'am getting confused is why GCC4 / TeapotWars uses the actor system to play background music but all other sounds are controlled within the HumanView. For me this makes no sense because the background music is only relevant for the human player.
How would I implement for example the sound from an opening door? In the HumanView? Or using the actor system with an trigger-able sound component? And whats with running and jumping sounds of the player? I would need more then one AudioComponent...
I hope you understand my confusion and hope someone can help me with that. Any input is welcome.
Thanks
Basti