Hi,
Your brief is a tiny project to write a, single or a pair of, fast methods to interpolate a set of coordinate points. The program is a simple platform game, and my maths is not up to this job. This is a small project, and my budget for it is small: please bid accordingly!
#1. Uses a model which runs on a timer every 8ms. This can generate player pixel movements of around +-3 x axis, and up to 10pixels or more in y axis. The resulting line may not always be linear.
#2. A second timer runs a screen renderer, which works out the player's position in the world from the logical terrain tile map maintained by the first timer. This second timer runs every 1ms, and so is often called several times more often than the first timer.; (above number #1)
The two timers are semaphored, so they cannot run simultaneously.
You are to write these two stubs (maintain your own timer if necessary, write your own store of previos points if necessary.)
private DoubleCoordinate calculateOffsetForLinearPoints(Double x, Double y) {
//your code - this is for the player, who can jump in curved movements
}
private DoubleCoordinate calculateOffsetForNonLinearPoints(Double x, Double y) {
//your code - this is for sprites that only travel in straight lines, back and forth on one axis
}
"DoubleCoordinate" is a simply a pair of Double Points representing the new interpolated point.
You can use any existing fast method, but any library you use must be without any license restrictions.
Example points attached:
Generated by: [login to view URL]([login to view URL]([login to view URL](), [login to view URL]).getNano() + "--points:"+ parrallaxOffsetX + ", " + parrallaxOffsetY);
Any questions, please ask.
Hi!
I'm interesting your project very well.
i mastering java and Matheamtics.
And also I have many experience and good skill about web and android development.
Let's go ahead with me
Stay tuned, I'm still working on this proposal.
hi there,
seems like a small but interesting project to solve. I would like to offer a "low budget" as it seems you need 2 functions that is possible to get from open-source project.
But I would like to get a look in what framework these functions are supposed to run on?
I think that the math required is not a big deal.
How many days till deadline for this?
Thanks