Differences between revisions 3 and 4
Revision 3 as of 2008-02-08 10:31:36
Size: 1282
Editor: anonymous
Comment:
Revision 4 as of 2008-06-26 10:00:02
Size: 1282
Editor: anonymous
Comment: converted to 1.6 markup
No differences found!

set_fps()

Something to change total fps of the engine, but also per video. I don't really want to be the only part of my performance that has any knowledge of speed ... I would love if FreeJ got some 'tap for bpm sync' feature, like OpenTZT has ...

get_width()

Is it possible to get the screen width and height from a js script?

If it isn't possible at the moment, where should I add this functionality? screen_get_width/screen_get_height as GLOBALS?

No, that's really missing ... ;)

multiple ViewPorts

try {

  • vp = new ViewPort(300,200,":0"); add_layer(vp);

} catch (e) {

  • echo("Shit: " + e);

} ViewPort has all layer methods(!) so use .zoom() and .set_position() or ctrl-a in the console ;)

Hacking in progress in my freej_91 branch

MrGoil

blit layer to layer

Every Layer gets the method to blit another Layer on it once. A script might look like:

i=new ImageLayer("lol.png")
i.zoom(3,2);

g=new GeoLayer() // or how about VideoLayer() and apply alpha masks
add_layer(g)
g.put(i, x, y)

Now it would be nice if the current blit of i would be applied but here the blitter code must be reworked. Also applying filter once would be nice so after the i.zoom do a i.filter("blur") ....

FreejScriptingWhishlist (last edited 2009-03-22 13:29:19 by anonymous)