Book a Demo

Author Topic: Provide better shape script doco  (Read 3386 times)

roates

  • EA User
  • **
  • Posts: 36
  • Karma: +0/-0
  • It is not that hard
    • View Profile
Provide better shape script doco
« on: September 08, 2008, 05:34:42 pm »
I think the shape script information included in the help file is minimal at best. It could be improved with more examples.

For example:

From the help file:

rectangle(
       int left,
       int top,
       int right,
       int bottom)

Draws a rectangle with extents at left, top, right, bottom.


Doesn't say that the values are percentages (and that's what it looks like when trying to actually draw a rectangle) (maybe "extents" hints at percentages but why not just say so?).

A white papar on using shape scripts together with a good set of examples would be very welcome.

Russell



«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Provide better shape script doco
« Reply #1 on: September 09, 2008, 01:15:48 am »
Yes, absolutely.

This is an area that is still somewhat of a mystery after about two (three?) years.
No, you can't have it!