From kde-edu-devel Thu May 28 20:40:38 2009 From: RalfGesellensetter Date: Thu, 28 May 2009 20:40:38 +0000 To: kde-edu-devel Subject: Re: [kde-edu]: Custom Turtle / Re: Kturtle Message-Id: <200905282240.39134.rgx () gmx ! de> X-MARC-Message: https://marc.info/?l=kde-edu-devel&m=124354328200356 On Donnerstag 28 Mai 2009 17:07:22 Mauricio Piacentini wrote: > settheme "Egyptian" > setsprite 1, "Pharaoh" > setsprite 2, "Crocodile" > setbackground "Sand" > ... and make them run into each other :) grand idea! just ideal for kids! wasn't aware of these possibilities with multiple sprites. are sprites addressed in a oo way, then - or rather in name spaces? oo: pharao.turnright 90 crocodile.turnleft 20 name spaces: talkto crocodile turnleft 20 forward 200 talkto pharao turnright 90 paralelle scripts (as known from scratch/smalltalk) would mean to write one script each per sprite. this could solve the problem on how to adapt scripts to other themes. if you are in the forest and rabbits hunt after foxes, you just need to reassign your scripts to the sprites. but: parallele scripts might get out of sync if there is no action/event concept. till now, most use cases for kturtle focussed on the drawn pattern (squares, stars, fractals), and at more complex drawings, you will need max speed where you don't see the sprite at all. chasing foxes or crocodiles is a different - more gameish - approach that might call for action and event based input. Maybe not too compatible with logo concepts? _______________________________________________ kde-edu mailing list kde-edu@mail.kde.org https://mail.kde.org/mailman/listinfo/kde-edu