Music
Music
Represents a imported MIDI-music file (*.mid) that can be played in your application using the MusicControl-component.
Note: The midi-functionality in ZGE is very limited. A better approach is to play music using the external library bass.dll. See the included project ModPlay for an example.
Properties
MusicFile
The content of the imported MIDI-file. Click the "Import..." button that is located beside the property in the editor to browse for a music (*.mid) file. When a file is selected it is imported to your application and is no longer referenced on disk.
Instruments
A list of Sound-components that are used as instruments for the music.
Volume
The volume of the music-playback. Valid values range from 0 (silent) to 1 (full volume).
ZGameEditor
Documentation
- Contents
- Overview
- Tutorial 1
- Tutorial 2
- Tutorial 3
- Sample projects
- Component reference
- Scripting reference
Community