Find Jobs
Hire Freelancers

Spline interpolation for java 2d game

£20-250 GBP

Cancelled
Posted over 6 years ago

£20-250 GBP

Paid on delivery
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.
Project ID: 15460371

About the project

5 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average £118 GBP for this job
User Avatar
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.
£150 GBP in 3 days
5.0 (276 reviews)
7.7
7.7
User Avatar
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
£41 GBP in 3 days
5.0 (9 reviews)
4.9
4.9

About the client

Flag of UNITED KINGDOM
Cranbrook, United Kingdom
5.0
27
Payment method verified
Member since Aug 10, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.