mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
don't use alpha blitting in simple star.js example script
This commit is contained in:
@@ -41,14 +41,14 @@ function drawStar(lay, s_mul, s2_mul) {
|
||||
|
||||
running = true;
|
||||
kbd = new KeyboardController();
|
||||
kbd.pressed_esc = function() { running = false; }
|
||||
kbd.pressed_esc = function() { quit(); }
|
||||
register_controller( kbd );
|
||||
|
||||
star = new GeometryLayer();
|
||||
star.color(255,255,255,255);
|
||||
star.set_blit("alpha");
|
||||
//star.set_blit("alpha");
|
||||
//star.set_name("star.js");
|
||||
star.set_blit_value(0.1);
|
||||
//star.set_blit_value(0.1);
|
||||
//star.start();
|
||||
star.activate(true);
|
||||
add_layer(star);
|
||||
|
||||
Reference in New Issue
Block a user