jcoplien / trygve

The trygve language project - Building a DCI-centric language from the ground up
GNU General Public License v2.0
104 stars 15 forks source link

Small breakout game. #108

Closed egonelbre closed 8 years ago

jcoplien commented 8 years ago

Looks good. Thanks for the Oval fix.

ciscoheat commented 8 years ago

Can we get some trig Math functions? :) I'm eager to test this by implementing some breakout-physics, like velocity changes depending on what part of the paddle you hit...!

mbrowne commented 8 years ago

Looks like you could add those by editing this file: https://github.com/jcoplien/trygve/blob/master/src/main/java/info/fulloo/trygve/add_ons/MathClass.java

Of course, Cope may already be planning to add them or have a particular approach in mind for doing so.

On 4/26/16 9:03 AM, Andreas wrote:

Can we get some trig Math functions? :) I'm eager to test this by implementing some breakout-physics, like velocity changes depending on what part of the paddle you hit...!

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/jcoplien/trygve/pull/108#issuecomment-214733980

jcoplien commented 8 years ago

Done. Sine, cosine, and atan2.

Den 26/04/2016 kl. 15.03 skrev Andreas notifications@github.com:

Can we get some trig Math functions? :) I'm eager to test this by implementing some breakout-physics, like velocity changes depending on what part of the paddle you hit...!

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/jcoplien/trygve/pull/108#issuecomment-214733980

ciscoheat commented 8 years ago

Thank you! Time to dig up some forgotten math skills...