Wintermute Engine is no longer actively developed.

The original sources are archived on GitHub: wintermute-engine and wmelite. The runtime is now integrated into ScummVM, which runs Wintermute games on current systems.

Pages: [1]

Author Topic: Play sound when cursor is hover response?  (Read 25730 times)

0 Members and 1 Guest are viewing this topic.

ugo

  • Вредная ворона
  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 156
  • Делаю кве
    • View Profile
    • Хранители традиций УниВанга
Play sound when cursor is hover response?
« on: September 26, 2022, 08:43:09 AM »

Help me please. Is it possible to play a sound when hovering over an response?
Logged

eborr

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 195
    • View Profile
Re: Play sound when cursor is hover response?
« Reply #1 on: October 06, 2022, 02:23:42 PM »

yep there are mouse events - mouse leave and mouse enter  - which can be linked to a PlaySound method.
Logged

ugo

  • Вредная ворона
  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 156
  • Делаю кве
    • View Profile
    • Хранители традиций УниВанга
Re: Play sound when cursor is hover response?
« Reply #2 on: June 09, 2023, 12:27:42 PM »

yep there are mouse events - mouse leave and mouse enter  - which can be linked to a PlaySound method.

Where should I paste this code?
Logged

ugo

  • Вредная ворона
  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 156
  • Делаю кве
    • View Profile
    • Хранители традиций УниВанга
Re: Play sound when cursor is hover response?
« Reply #3 on: August 04, 2023, 05:32:09 PM »

i made it!
Logged
Pages: [1]