Documentation of SETLABELFONT
I've been thinking about my FORWARD-0 trick. When I first saw it, I wondered: Is this an undocumented extra feature I can use before someone notices the error? Then I thought about it some more and realized: It's not an error at all; it's a regular part of the language. If you remove it, THEN you're making a mistake. Now, to get straight to the point: I think FORWARD 0 belongs to FMSLogo, and so does the circular shape. FORWARD allows any positive and (!) negative number that can be represented on...
Well, your variation did its job at once: SETPOS with a list was an idea of my chatbot OPERA AI. You're right - I could take BITBLOCK to restrict an animation to only a part of the graphics area in order to get a rectangle instead of a circle, I bet it's really pretty fast for a small part. The wish behind it is always to have a very short interruption while going from step to step and so compensate the lack of a background buffer. I never noticed that FILL has a parameter that allows it to use the...
Reporting a trick for animation - how clever is it?
Our FMSLogo Developments for Education and Hobbyists
Well, here is finally the solution to the riddle:: (KEYBOARDON [IF EQUAL? 27 KEYBOARDVALUE [ SHOW [ESCAPE Pressed] ]] []) SETFOCUS [FMSLogo] Now it works! But what the documentation says is that the screen should have the focus, but isn't it given to the commander by SETFOCUS [FMSLoco}? ~~~ The "Screen" must have focus (NOT the commander) You can force this by calling SETFOCUS [FMSLogo] after you call KEYBOARDON ~~~ Who is who and what is what? Does the caption FMSLogo mean the screen or the commander,...
I'd like to make the proposal to add a link to KEYBOARDON at SETFOCUS and GETFOCUS - or to explain a little more about FOCUS at SETFOCUS and GETFOCUS.
Now I found some answers in the description of KEYBOARDON itself: Note the "Screen" must have focus (NOT the commander) to catch the key events. You can force this by calling SETFOCUS [FMSLogo] after you call KEYBOARDON. All the "callbacks" for the keyboard are automatically run in NOYIELD mode. But if the Screen needs the focus, why will I have to write SETFOCUS [FMSLogo] after KEYBOARDON and not SETFOCUS [screen]? I think, Copter works in Little Helper because there was the right focus by lucky...