Soundmap?

Blitz3D Forums/Blitz3D Programming/Soundmap?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

@Kuriz: ODE? Yes, you're right this does use the Blitz collision method. I can't help you there.

@Becky: As you say, but if I use FreeBrush(BRUSH_Level) and FreeTexture(TEX_Level) then everything's ok; this is based on one of Mark Sibly's bits of code.

If fact my footsteps sound is based on a timer (let's say, every half second?). On the timeout this code is called, so CPU loss is kept to a minimum. Even so, if I deactivate the code I can't detect any difference in performance.

It _does_ seem like a very wasteful way to get a texture name (under 'my' feet) - to have to create and destroy a brush to do that.
If anyone can think of a better way then I'm open to ideas.