Gamestudio Links
Zorro Links
Newest Posts
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Pause button for evaluation shell?
by jcl. 08/07/26 11:43
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,057 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19222 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Textures and sounds #421440
04/17/13 12:38
04/17/13 12:38
Joined: Jan 2013
Posts: 41
Redoine Offline OP
Newbie
Redoine  Offline OP
Newbie

Joined: Jan 2013
Posts: 41
hello guys
how can i make the sound of the bullet colision with the wall
changes when the texture changes
for exemple if the texture is glass we will hear a sound of breaking glass
and if it's a wood we will hear the sound of breaking wood ...

and is it right that we can assign actions to blocks
if it's (how)
thank you in advence

Last edited by Redoine; 04/17/13 12:39.
Re: Textures and sounds [Re: Redoine] #421443
04/17/13 12:51
04/17/13 12:51
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
use c_trace with SCAN_TEXTURE flag to get the texture hit by the ray.


Free world editor for 3D Gamestudio: MapBuilder Editor

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1