Heya everybody. I've been successfully using Tokamak on my project for three weeks now, and I'm now getting into the finishing touches (i.e. the second 90%) of the game, and it's time for audio.
I want to play a sound whenever two objects collide in Tokamak, but I can't seem to find any functions I can use to say something like "for all objects of this type, for all of another type, when their physical representaions collide, do x". I.e. there doesn't seem to be a Tokamak equivalent of "if entities collide".
Now I know the first workaround will be that I use good old vanilla Blitz collisions to do this sensing. I'm not that keen on wasting all the procession power on also having blitz colisions JUST for a single audio sample, but if that must be done, it must be done.
Thanks!
I want to play a sound whenever two objects collide in Tokamak, but I can't seem to find any functions I can use to say something like "for all objects of this type, for all of another type, when their physical representaions collide, do x". I.e. there doesn't seem to be a Tokamak equivalent of "if entities collide".
Now I know the first workaround will be that I use good old vanilla Blitz collisions to do this sensing. I'm not that keen on wasting all the procession power on also having blitz colisions JUST for a single audio sample, but if that must be done, it must be done.
Thanks!