Menu

Tree [r2] /
 History

HTTPS access


File Date Author Commit
 OverTime 2011-02-06 jblovloss [r2] Entirely revamped the project
 overtime_example.cpp 2011-02-06 jblovloss [r2] Entirely revamped the project
 readme.txt 2011-02-06 jblovloss [r2] Entirely revamped the project

Read Me

Welcome to OverTime
------------------

OverTime is a simple library meant to help control any value over a period of time. 
This is meant to help with timing events in 2D and 3D animation. 



Installing
----------

OverTime is header only. You can put the headers directly in your project if you want,
or you can include the directories you place them.  This library very meticulously 
avoided any dependencies other than the Standard Template Library.



Usage
-----------

The best way to learn how to use OverTime is to compile and read the overtime_example.cpp
file. OverTime is pretty easy to use. The value in using it is in the way it abstracts
this programming concern into a highly malleable class. Two things get abstracted here:
what to do when the value is updated (UpdatedValue), and HOW the value is updated
(UpdateMethod). 

Most of the time the basic UpdateMethods will be enough, so at most you will have to write
your own UpdatedValue class which wraps the value you want to change over time. Everything
else is immediately taken care of. 




Limitations
----------

Currently, OverTime handles 1 value at a time. In many cases you need to do this with 2D or
3D positions, which are multiple values. Although you can have multiple UpdatedValues to
handle this, a good solution to vectors would be a good addition which currently does not
exist.

Please note that any value you use as a template argument for either UpdatedValue's or 
UpdateMethod's needs to be a basic type, or it needs to have overloads for comparison 
operators ( < > == etc), as well as + and -. 

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.