[REBOL] Help needed to continue this small project
From: gerardcote:sympatico:ca at: 28-Oct-2005 21:58
I just began a small robot simulation project to help new people to get acquainted with
pseudo-code (robot instructions).
I almost finally completed my display but without using VID. Enclosed below is my first
version of the code needed to create this
display so you can try it for yourself.
At this point I asked myself some questions but found only vague answers. So if someone
can help It could be useful to me in a near
1. Can we design something almost similar using VID and buttons instead of the "robot-cmds"
pane with its
Forward, Back, Left, Right, Pick and Deliver faces knowing that the first "game-space"
panel face has a grid effect (is this
possible to translate it under VID?) . The second difficulty I saw to using VID was the
precise positioning (in fact everything can
be repositioned but this first design seemed realistic enough for me).
2. How can the actual keyboard handler enclosed with the Robot face be transfered into
a more central place than inside a specific
face as now - it is inside the Robot face since this is what is kept moving - even if
this seems logic at first. I read about the
Insert-event-func and tried to mimic the Cyphre's way of doing things with his draw-tutor2.r
but I can't use it satisfactorily for
the moment. Is it the way to go ?
From this point on I will work on the display of simple cmds given to the robot and recognition
of them by the robot which will
translate them into basic operations (Forward, Back, Left and Right plus Pick an object
and Deliver it).
Any help would be appreciated!