Can I make Attributes ramp to different values?

I'm new to this program, but I've done a fair amount of object-oriented programming for music applications in Max/MSP. I'd like to try to realize some of my old ideas in the form of iOS apps. A couple things I'd like to do:

1. Attach the music volume and pitch to the x/y coordinates of actors and have it happening and changing in real time. I'm guessing I can pull this off with constrain attributes behaviors somehow? I'm hoping that the changes will be smooth and continuous if I scale the values correctly, but I'm not sure if it's possible.

2. Be able to trigger an event that ramps from one attribute value to another smoothly... again, likely for volume or pitch in music. I can't see a way to do this in gamesalad other than to maybe use a timer and trigger each step in sequence... which would likely be choppy.

Anyone done anything like this or have suggestions on where to start exploring? I'm new, so I apologize if I've missed something obvious.

Comments

  • BoomshackBarryBoomshackBarry Member Posts: 712
    Have you seen the interpolate behaviour? It sounds like exactly what you're looking for.
  • travstwtravstw Member Posts: 6
    Thanks! I'll look into it when I'm home... I did see it used in a tutorial but I guess it didn't trigger the lightbulb since I was watching for something else.
  • ericzingelerericzingeler Member Posts: 334
    1. Grab this project I threw together for someone else. Checkout the "on pressed" rule of the demo button.

    2. The interpolate behavior is an option and is fairly easy to work with.
  • BoomshackBarryBoomshackBarry Member Posts: 712
    No worries, it's pretty versatile you can use it to smoothly interpolate loads of things, actor position, size, colour, velocity, etc :)
Sign In or Register to comment.