GM:S 1.4 Radio Style Volume Option Example

Discussion in 'Tutorials' started by Kram Dig, Sep 4, 2016.

Tags:
  1. Kram Dig

    Kram Dig Guest

    GM Version: GM Studio
    Target Platform: ALL
    Download: here
    Links: N/A

    Summary:
    This is an example of Radio Volume Option. It uses to drag their points back and fourth to change to volume's capacity.

    Tutorial:
    It has 4 scripts: 1 for the radio object and the other 3 for the point drag object. You can edit them using the arguments of the scripts. There are extras that you can experiment is I add another object on the top, what it does is it can drag anywhere.

    The value is your volume capacity the rest are the y and mouse_x values.
     

    Attached Files:

    chance likes this.
  2. chance

    chance predictably random Forum Staff Moderator

    Joined:
    Apr 22, 2016
    Posts:
    795
    This is fine for the Tutorials Forum. But as a learning resource, making it simpler might be more helpful to beginners.

    The technique you're illustrating is fairly basic, but spreading it over four scripts and three objects is a bit unfocused. I think a more useful approach would be a single object -- the slider, with the relevant code in the STEP and DRAW events. And make everything else just sprites. That would focus the attention on the relevant part of the tutorial -- namely the code for the slider control and audio volume.

    But this is still useful. And it's clear you've put some effort into this. So that's great. +1
     
    Last edited: Sep 5, 2016
  3. Kram Dig

    Kram Dig Guest



    Thanks for the reply, it's my first time making tutorials, I hope I can improve my skills in the future. With clear feedbacks, I'll be able to have good samples in the future.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice