File: TODO

package info (click to toggle)
ming 1%3A0.3.0-14
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,856 kB
  • ctags: 5,359
  • sloc: ansic: 33,236; yacc: 2,489; python: 957; perl: 642; cpp: 615; makefile: 325; sh: 69
file content (87 lines) | stat: -rwxr-xr-x 2,508 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87

Stuff what to do (not in order):

* More work on the new utils: Further testing, and completing the
  implementation for all of the different output formats.

* make leading/linespacing terminology consistent btwn text/textfield

* Change SWFButton::addShape to SWFButton::add and have it return a displayitem

* proofread/update PHP docs

* SWFText_addString splits buffer into 127 (255?) character chunks

* add $m->getStreamLength

* SWFText should recognise \n and advance the y pos?

* Comment the new universal ming.h

* Add access to button shape matrices and cxforms

* Read fonts from TTF/PS

* Make importable blocks/template format

  Seems kind of wasteful to run lots of code to define a shape that never
  changes.  It'd be better to dump the rendered shape definition out to a file
  and pull that in when needed.


* add proper error messages to compiler

  "parse error" just isn't quite lucid enough.


* getBounds for all drawable types

  ..so you can center text 'n' stuff.
  It exists in the c code, but there's no SWFRect in the php interface

* Produce good quality API documentation, using something like doxygen

* Produce thorough API tests, testign each interface from each language binding.

Wishlist items:

* Make animation easier

  Setting position on every frame is tedious.  I'd like to be able to tell
  an instance "head to point (x,y) in n frames".  Maybe simple newtonian
  mechanics, like "setVelocity" and "setAcceleration".  Or maybe I'll just
  make utility code in php first and see what works.

  Think the goal should be to not have the user stuck in the timeline (i.e.,
  abolish movie->nextFrame()), be able to put anything anywhere at any time.

  Callbacks look like the best way- you can pass an animate function which
  is called every frame..


* Make transforms easier

  Order of transform operations is currently fixed (skew, rotate, scale,
  translate).  So you can't easily rotate around a point off-center.  I'd made
  "path" objects trying to solve this, but they were confusing, hard to use.

  And, as noted already, there are transforms we can't get at now, like in
  buttons and text.


* Make newSWFMorph(shape1, shape2)

  Now that shapes have delayed completion this is possible.


* Clean things up

  Update header files.  Make names uniform.  Remove unused code.
  Fix ugly hacks.  Et cetera.


* Allow buffer-at-a-time output

  fput'ing each byte is probably slowing us down a lot..?

* propagate new features to all language bindings