Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
NOMAX undeclared identifier.
by Petra. 01/09/26 21:12
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (Rasch), 3,765 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Please Help about sound system #442915
07/05/14 20:31
07/05/14 20:31
Joined: Jan 2012
Posts: 108
G
gamers Offline OP
Member
gamers  Offline OP
Member
G

Joined: Jan 2012
Posts: 108
Hi, I want to play a sound file when I show the marker to camera on AckR, Augmented Reality sample...

I want to add "4.wav" to this code, please help...

Code:
void testact()
{
	vec_scale(my.scale_x, 1);
	my.skill21 = random(100);

	while(1)
	{
		set(my, INVISIBLE);
		if(AckR_getMarker(my.skill95, my.x, my.pan, FALSE) == 0)
		{
			// my.pan=(my.pan+time_step*2+random(1))%360;
			reset(my, INVISIBLE);
		}
		
		my.skill21 += time_step*10;
		my.skill21 = cycle(my.skill21, 0, 100);
		ent_animate(my, "walk", my.skill21, ANM_CYCLE);
		
		wait(1);
	}
}



Sorry for my bad English wink

Re: Please Help about sound system [Re: gamers] #443510
07/18/14 01:26
07/18/14 01:26
Joined: Oct 2009
Posts: 90
WickWoody Offline
Junior Member
WickWoody  Offline
Junior Member

Joined: Oct 2009
Posts: 90
"ent_playsound" || "ent_playloop"


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