Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 20,420 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dabolong, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 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