Sunday, February 7, 2010

Programming with live objects

Write a moving turtle (you need a bit of imagination) with Morphic and see how to extend and debug a running object !

Download screencast (800x600): .mpeg, 25.4 MB, .mov, 49.4 MB

Load the source code:
Gofer new
 squeaksource: 'Pharocasts';
 package: 'ProgrammingWithLiveObjects';

Create a new moving turtle:
Turtle new 
        goAt: 300@300

This screencast was inspired by a tutorial from S.Ducasse (in french).

If you need reminders about trigonometry :)

1 comment:

  1. Hello, first: my english is not so good, sorry.

    I'm using a imagen 1.3 of Pharo, I can't delete the square.
    when I try to click on it, I just can move it.

    can you help me?


Note: Only a member of this blog may post a comment.