Monday, June 28, 2010

Work Progress - Jun 23 - Jun 30

Display the control codelet in the middle scriptlet window


Run SBGui. Select the default skateboarder. Drag the OnBegin Event codelet to the middle window. The prewritten script of that event is displayed.

TODO:
  • Display all necessary JPnlLinexxx in the middle window.
  • Beautify the control codelet display. Make it expand appropriately according to number of statements associated with the control codelet.

Sunday, June 20, 2010

Work Progress - Jun 17 - Jun 23

Investigating how to implement the If/while conditional

As the first step, I would like to implement the forever and repeat[x] conditionals, which are also available in MIT scratch. They are good starter, as they do not involve putting things into the conditional part. I just need to concentrate on how to put statements to be executed in the repeat loop.
Then I will work on the variable stuff, which is the prerequisite for codelet-within-codelet to be possible. Some ideas from MIT Scratch are as follows:
Possible parts for this part
* visualize a true/false constant
* visualize a comparison statement
* visualize declaration of a variable
* visualize assignment to a variable
* visualize if
* allow codelet-within-codelet by drag-and-drop
* Implement the more difficult parts of the conditionals - drag-and drop to the condition part.

Progress

Add a control tab and visualize some starter control codelets (Forever and RepeatN)

Tuesday, June 8, 2010

Work Progress - Jun 9 - Jun 15

GG: Complete code cleanup and documentation
GG: Web deployment package updated (Available here)
Core: Now if anything up to the center point of the codelet overlaps with the left border of the panel, it bounces back just like the right side. If anything beyond the center point of the codelet overlaps with the left border of the panel, it is erased. (Fixed app: here)

Monday, June 7, 2010

Work Progress - Jun 2 - Jun 8

Updated GG apps: here

A few bug fixes:
  • Now there is no need to have codelets overlap to join them together. Bring them to sufficiently close proximity is sufficient.
  • Now when you click on any part of the method codelet (except the textfield area), you can drag it.
  • The application is now able to be expanded to full screen.

Tuesday, June 1, 2010

Work Progress - May 29 - Jun 1

Fix the drag-and-drop of the existing Core (http://www.rpi.edu/~laut/GG/app.jnlp).
  • Pressing the codelet in the codelet template window on the left does NOT duplicate codelet in a different position.
  • Releasing the codelet in the middle scriptlet window drops the codelet to the exact vertical position where it is dropped.
  • The drop line now indicates where the top of the dragged codelet collapses with the codelets in the middle scriptlet window.
TODO: The current scriptlet window displays the script of at most one event at one time. To allow the scriptlet window to show the scripts of more than one event at the same time, a considerable rewrite of the scriptlet window is needed.