Sound nur einmal wiedergeben.

Previous topic - Next topic

Marmor

Ich mach dir morgen das simpelste beispiel

Schranz0r

#16
Oh kann ich doch was machen :D
Ich leg gleich los...


Edit:

so in etwa?
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Worebu

Hi, Danke. Das sieht verdammt gut aus. Ich bau es mal morgen ein. Mach dann mal Meldung.
Intel I5 9600 - RTX 4070, WaKü, 32GB RAM, 1x 512gb + 1x 1Gb NVRAM,  1x4TB + 1x1TB HD

Schranz0r

I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Worebu

Hallo, dein Beispiel funzt ... eingeschränkt. Wenn ich auf ein Feld gehe kommt der Sound. Verlasse ich das Feld und komme zurück ohne das andere Feld berührt zuhaben kommt nichts mehr.
Intel I5 9600 - RTX 4070, WaKü, 32GB RAM, 1x 512gb + 1x 1Gb NVRAM,  1x4TB + 1x1TB HD

Marmor

if maus <> feld then spielmukkewiederabwennmausauffeld =1

und beim nächsten mal wenn die maus im feld ist einfach gugen ob spielemukke auf 1 steht

erico

Sorry I can not follow it all with the auto translations :(

Did you try the last-mouse-coordinates technic? Does it work?
It seems to me you are mixing lots of stuff, which is good, but harder to grasp.

I can´t really understand what is going on. :(

Marmor

this is what i mean Erico and the variable to switch the sound on off is called " play music if mouse in the square " its a little bit slang but this name burns in the brain because its a hint.

Worebu

Hi, Danke für eure Hilfe. Ich glaub ich bin zu blöd ich lass es raus.
Intel I5 9600 - RTX 4070, WaKü, 32GB RAM, 1x 512gb + 1x 1Gb NVRAM,  1x4TB + 1x1TB HD

erico

Of course not, but it should not be too hard.

You can have a variable to dictate if the sound is able to play again, or you can use a copy of the last mouse coordinate for the same reason.
I guess there may be plenty of ways to implement such.