I'm making a mini golf app, and i'm trying to make it where if it's on a color (dark green for rough, med green for fairway, etc.) it will make it go a different speed. Can anyone tell me how to make the color an object so my ball can go slower or faster?
I did not have the patience to create a background image, so I used a few green Balls to secure my color values. I am unsure what happens to color values when the Balls overlap.
The operative part was using a Clock Timer to change Gold Ball speed depending on the color at its X,Y. I left the Origin At Center Attribute of the Golf Ball empty, so its X,Y is not covered by its orange color.
If the ball can be in the air, therefore travelling faster, you could set a variable (air) based upon: club, shot (e.g. tee off), power of hit, predetermined distance, then when a distance based upon those parameters is reached, unset "air" so that the ball slows according to the grass length.