Sugarize Scratch
It would be great to have Scratch "sugarized" so that we'd be for example able to save to the Journal.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
bertf has provided some status information how to realize this.
---
basically all a Squeak programmer needs to do is load the DBus bindings, make sure the DBus plugin is in the VM directory, and then she can send and receive messages via DBus. This is all that's needed to talk to Sugar:
http://
The actual code to save a file in the datastore and retrieve it is rather simple. The documentation is here:
http://
And an admittedly simplified example is here:
http://
A more complete one:
http://
Though this still does not hook into the regular keep/resume activity live cycle. Milan was trying add that to the Squeak-based FreeCell activity, though his code is rather rough still:
http://
I'd be happy to help, I did this for Etoys and it works quite well. Preferably ask questions on the etoys-dev list:
http://
because there are more Squeak programmers interested in the Sugar / Journal interactions than just Scratch folks :)
- Bert -