Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,709 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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