December 3rd: Pathways

Got the simple pattern movement working just fine and started in on a system of movement with a set of instructions for more complex and/or sudden movements. It’s actually mostly done, except for one crucial formula.

Movement instructions are saved as an offset vector and an amount of time to cover that distance in — simple enough if the entity is supposed to move at a constant speed, where I can just compare the elapsed time against the total time and set the current offset to match that ratio. However, I also want to have ‘ease in/ease out’ options, allowing the time to be skewed either towards the end or beginning of the motion. So, before I can finish this class, I need to figure out a way to get a movement ratio value from the curve defined by the ease in/out values and the current time:total time ratio.

So that’s what I’m thinking about.

Advertisements

About problemmachine

What is the nature of your problem? Can we modify the nature of your problem? Can your problem be touched? Eaten? May we eat your problem for you? May we eat your soul for you? Would you like a replacement problem? We make problems. We eat souls. We crap solutions. We are Problem Machine.
This entry was posted in Daily Update, Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s