[Bugs] #1034 HIGH: Journal Integration
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Wed Jul 15 01:06:28 EDT 2009
#1034: Journal Integration
----------------------------+-----------------------------------------------
Reporter: asaf | Owner: asaf
Type: enhancement | Status: reopened
Priority: High | Milestone: Unspecified by Release Team
Component: Physics | Version: Unspecified
Severity: Unspecified | Resolution:
Keywords: | Distribution: Unspecified
Status_field: Assigned |
----------------------------+-----------------------------------------------
Changes (by asaf):
* cc: kne (added)
* priority: Unspecified by Maintainer => High
* status: closed => reopened
* resolution: fixed =>
Comment:
Reopened for the sake of forward compatibility.
The plan is to have more control on the savefile format. The suggested
implementation is to create a set of classes which structure mimics the
structure of the world object. For example:
{{{
class Ball:
pos
radius
dynamic
density
...
class Rect:
pos
with
height
...
}}}
Then create instancees of this objects for each object in the world and
put them all in an array and pass that array to cjson.encode . The ideal
thing would be to infer this structure from the Add class in elements but
that is something to think about a bit more.
--
Ticket URL: <http://dev.sugarlabs.org/ticket/1034#comment:7>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list