hybridgroup / kidsruby

KidsRuby is a Ruby programming environment meant for kids to learn and have fun!
http://kidsruby.com
Other
335 stars 104 forks source link

goto is mapped to jump() #116

Open halungge opened 10 years ago

halungge commented 10 years ago

the Ruby goto(x, y) maps to jump in the Javascript pen.js. So when you call it, it does go to the coordinate x, y, but also calls the begin() which as I believe causes the canvass to be reset. So in your implementation it is at the moment not possible to have the Turtle draw disconnected objects.

hunterboerner commented 10 years ago

@deadprogram, is there a reason it's not mapped to goto()?

deadprogram commented 10 years ago

Hmm, not sure. That sounds like an error.