Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Learning how to program (for youngsters of any age)

by (:smiley:) (Initiate)
on Aug 03, 2001 at 12:41 UTC ( #101918=note: print w/replies, xml ) Need Help??

in reply to Learning how to program (for youngsters of any age)

Thanks for the info, This should be fun to play with. When I first played with QBasic, I especially liked doing graphics type stuff. I usually made circles leave a trail across the screen in many different colors, bounce off the walls and go a different direction. I still don't know how to do stuff like that in perl, but that doesn't mater anyway, this sounds more fun to me.

  • Comment on Re: Learning how to program (for youngsters of any age)

Replies are listed 'Best First'.
Re: Re: Learning how to program (for youngsters of any age)
by kevin_i_orourke (Friar) on Aug 03, 2001 at 13:42 UTC

    For graphics-based programming you could try looking at Squeak. I've just started playing with it and the documentation isn't as good as Perl but there are some interesting tutorials.

    As it's a Smalltalk variant it's also extremely object-oriented.

    Kevin O'Rourke

      I also looked at Squeak, but what decided for GameMaker was: you do not need to write a line of code to program. You just drag images of statements, drop them into action "slots", and maybe right-click them to change some properties.

      In example, simple game "Catch The Dog" is implemented by just 1 object (image of a dog), and 3 statements: in slot of "on MouseClick" action:
      SCORE (+1, relative),
      DELETE (self)
      All these statements are basic for GameMaker buttons with cute icons. SCORE "knows" to display current score in title bar.

      My first "program" was to add:
      to action slot for "when leaving playing area", DELETE (self), and SCORE (-1), and
      to action slot "when created": MOVE IN RANDOM DIRECTION.
      add some "walls" (images), with attribute "solid" - so dog will bounce after collision - it knows how to bounce from solid object.

      That's it - I created new fully playable simple game. Dog lurked out at random place, was running away, bounced from wall, and if I did not click on it fast enough, I lost a point.

      Sorry for off-topic node, but I just want to show how is possible to "program" without writing any code, if you have high-level statements in a language carefully targeted to very specific area. We may forget it is possible, because we are using perl - "swiss army chainsaw" universal language all the time.

      To make errors is human. But to make million errors per second, you need a computer.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://101918]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2018-06-19 17:22 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.