z0w0 / helm

A functionally reactive game engine, with headgear to protect you from the headache of game development provided.
http://helm-engine.org/
MIT License
600 stars 69 forks source link

Added utility function #78

Closed ghost closed 9 years ago

ghost commented 9 years ago

Implemented 'near', a function which checks if the difference of two values lies within a given tolerance.

kasbah commented 9 years ago

Thanks Saugweis, now I think @z0w0 and I are going to disagree on this but I would actually like to make Helm as close to the Elm API as possible and put anything additional into another project (helm-extra?). That project could include all the animation stuff too that I got rid of for the 0.7 release.

ghost commented 9 years ago

Sounds great, it would be the perfect place for functions you use in every game, so you don't have to implement them everytime you start another project. I just saw that many game engines like pygame, unity, CryEngine... have implemented a function like 'near", so I thought `why not?

z0w0 commented 9 years ago

Nope, I agree that this sorta thing should be separate. I'll take a look at this when I get back from my holidays on the weekend. On 30/11/2014 8:36 pm, "Kaspar Emanuel" notifications@github.com wrote:

Thanks Saugweis, now I think @z0w0 https://github.com/z0w0 and I are going to disagree on this but I would actually like to make Helm as close to the Elm API as possible and put anything additional into another project (helm-extra?). That project could include all the animation stuff too that I got rid of for the 0.7 release.

— Reply to this email directly or view it on GitHub https://github.com/switchface/helm/pull/78#issuecomment-64983937.

z0w0 commented 9 years ago

Parking this for a bit.