Footstep sound on different material

Blitz3D Forums/Blitz3D Programming/Footstep sound on different material

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.

Don't use loadsound in the mainloop. Load them in the level loading process. then store their handle and simply use playsound handle in the mainloop.

Your 2nd question is not so easy to answer. Maybe you should use 2 Meshes with LoadMesh, and use the SAME lightmap file for both. Blitz will then load the lightmap only one time to optimize ram usage.

The problem with LoadAnimMesh is: all your Surfaces will then be Children again :/