Ashley
Bezier Curve Object
Bezier Curve window
Ok. As part of my job I work with Unity. I wasn't into curves before. But after doing some unique animation, movement and all sorts of stuff. I found that bezier curves are magical, amazing and by far one of the most amazing tools to have in game development. I could manually write a bezier curve plugin and evaluator. However what I can't create is the window to create curves. That's an element of the IDE level we don't have.
What would be fantastic would be a variable like instance based that stores as a Bezier Curve. That way the curve could be added to Objects, be a global variable or a group variable. So it would sit similar to Number,String
Some of the stuff I have done with bezier curves.
*Custom sized banners that animate the size to the speed for nice bounce effects.
*Easily controlled "jump" effect objects(for not platforming game. just feed back for something simple)
*Animate 30+ objects with different animations with a single set of frames with 1 animation.
Let's start with Spriter a tool we have access to.
These are just some of the simpler stuff that can be done. However it shows that as a curve is evaluated position, scale, alpha can all be set based on a time. With curves having controllable tangents allows these evaluated to visual numbers can have some excellent effects.
Here is an examples of both curves and algorithm
http://www.motionscript.com/articles/bo ... shoot.html
At work for my part of a project as a sample. The lead designer requested a procedural generated bush animation that could mimic different states of wind blowing.
no wind, light win, medium winds, heavy, rapid. When looking at the art there were 40 sets of animated objects to work with. Most of the bushes, grass in various colour tones. The idea of making 40x5 animations was kinda daunting. Since this was procedural I took advantage of curves.
I had 1 master curve that would represent the scenes wind strength at a long given period of time. The sample used 15 seconds. With the last 5 just representing calm to test out no wind.
There were 6 curves timed at 0.5 to 1 second a piece. These child curves represented a percentage based animation frame. So 0 was 0 frame, 0.5 was middle frame, and 1 was last frame. So no matter how many frames there were there was a translation 0 to 1 as a percentage to match up the with the animation frames.
A child curve then represented a cosine wave usually about 2-6 times over 1 second with all of them at varrying heights in the curve. Usually apx 20-30% difference.
When a child had no animation(first and finished) it would evaluate the current time of the master curve and get the wind strength. Then it would get a random value from current-1 to current +1 out of the child range.
In the end this produced a very nice wind like effect that conveyed the feeling of the wind at the time.
Of course this could be just randomized and use more code like methods. however using curves made doing all of this a breeze. It was very enjoyable that just changing a curve would change the results.
So it would be fantastic if you could please implement a curve window into C2 IDE. Spriter is awesome, but at times could be considered overkill.
Please, please add bezier curves to the IDE. It would raise C2 productivity many fold on the visual side.