Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 3 123 LastLast
Results 1 to 15 of 31

Thread: MCI commands

  1. #1
    Banned
    Join Date
    Dec 2003
    Location
    california
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    MCI commands

    in my game maker program it says you can use MCI commands but i don't know what the MCI commands are. it said to see the windows documentation for more on MCI commands but i don't know where the documentation is?

    Hack

  • #2
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    MCI stands for Media Control Interface, basically it will help to make your software more device independent.

    Microsoft Windows reference is available online from http://www.msdn.com - Microsoft Developers Network ..
    Omnis mico antequam dominus Spookster!

  • #3
    Banned
    Join Date
    Dec 2003
    Location
    california
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks

    Hack

  • #4
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    No problem.
    Omnis mico antequam dominus Spookster!

  • #5
    Banned
    Join Date
    Dec 2003
    Location
    california
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    what codeing language would you program them in and what program do i need for it to write the commands in? its would be to hard to screw with it forever with out a clue in a made up codeing language.

    Hack

  • #6
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Well I'd do it in c++ but you are using game maker, doesn't it work of a scripting language?

    I whent briefly (very very briefly) through the documentation and found nothing about Microsoft Win API MCI functions.

    [edit:] A little too briefly I guess ... Here is what it says about using MCI ..

    There is one very general function to access the multimedia functionality of windows.



    MCI_command(str) This functions sends the command string to the windows multimedia system using the Media Control Interface (MCI). It returns the return string. You can use this to control all sorts of multimedia devices. See the Windows documentation for information in how to use this command. For example MCI_command('play cdaudio from 1') plays a cd (after you have correctly initialized it using other commands. This function is only for advanced use!
    Last edited by Mhtml; 01-07-2004 at 03:22 AM.
    Omnis mico antequam dominus Spookster!

  • #7
    Banned
    Join Date
    Dec 2003
    Location
    california
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the documetation of game maker?

  • #8
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Yes the documentation of Game Maker ...

    I edited my post but you replied to quickly read from '[edit:]' ...
    Omnis mico antequam dominus Spookster!

  • #9
    Banned
    Join Date
    Dec 2003
    Location
    california
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    bassicly all i need is the controls that make the volume change and a panning code thing.

  • #10
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    I don't think MCI is what you're looking for if that is what you want to do ...

    Doesn't game maker have code for this?

    Sure enough I read the documentation and found this -
    Code:
    sound_volume(index,value) Changes the volume for the indicates sound (0 = low, 1 = high).
    
    sound_pan(index,value) Changes the pan for the indicates sound (0 = left, 1 = right).
    Omnis mico antequam dominus Spookster!

  • #11
    Banned
    Join Date
    Dec 2003
    Location
    california
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes GM uses code and those code actions only apply to wav files and i want to make a media player.

  • #12
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    A media player, like as in windows media player and winamp?
    Omnis mico antequam dominus Spookster!

  • #13
    Banned
    Join Date
    Dec 2003
    Location
    california
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i guess so

  • #14
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Well I don't like your chances ... You will need to be able to load libraries and then find some for mp3,wav,cdda,ogg etc ... I gather gm can load libraries?

    For this sort of thing you are probably best off learning c++ or something though ...
    Omnis mico antequam dominus Spookster!

  • #15
    Banned
    Join Date
    Dec 2003
    Location
    california
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i asked about a new coding language earlier and you said somthing abuot somthing because GM can use external code i believe and for now i can get it to play the cd i just need other stuff


  •  
    Page 1 of 3 123 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •