-
... (0.7)) .stringColor_(Color.gray(0.8)) .align_(\center); //when crash, stop animation and display game over & score crash = { u.animate_(false); deadbox .string_("you died\nscore: "++size) .visible_(true); }; //place snake ...
-
... nt will animate the button if not animated already, passing false will stop the animation if not stopped already. Visual updates are internally deferred so the method can be called within a clock context. . symbolRatio Sets or gets the symb ...
-
Messing around with pen, trying not to use randomness. Turned out like a 90's screen saver. w = Window("screensaver", Window.screenBounds).front.fullScreen; w.view.keyDownAction = { w.close }; u = UserView(w, w.view.bounds); u.background ...
-
... ss methods Instance Methods . duration An Integer . that specify delay time for animation in 1/100th of a second. If not set the default (10) will be used. . transparent An Integer index in the colorMap array (only valid if transparentFlag ...
-
//req. Canvas3D quark: Quarks.install("Canvas3D"); //works with both cocoa and qt GUI //see thread https://www.listarc.bham.ac.uk/lists/sc-users/msg06458.html for more examples //cmd+period to stop ( var width = 500, height = 400; ...
-
// this file is part of redUniverse toolkit /redFrik //todo: //mouseDownAction etc. now mouse is lost if setting userView.mouseDownAction RedWindow : SCWindow { var <>mouse, <isPlaying= false, <userView; *new {|name= "redWindow", bounds, re ...
-
//--redFrik 2013 //req. Canvas3D quark //use mouse to rotate canvas //add your own sounds to x, y, z (maybe with InFeedback.ar) ( //--settings var width= 640, height= 480; var fps= 60; var buffersize= 1024; var scale= 250; var pe ...
-
// this file is part of redUniverse toolkit /redFrik //todo: //mouseDownAction etc. now mouse is lost if setting userView.mouseDownAction //needs more work - just a temporary fix - resize broken //TO USE REDUNIVERSE WITH QT CHANGE EXAMPLE C ...
-
// this file is part of redUniverse toolkit /redFrik //todo: //mouseDownAction etc. now mouse is lost if setting userView.mouseDownAction //needs more work - just a temporary fix - resize broken //TO USE REDUNIVERSE WITH QT CHANGE EXAMPLE C ...
-
// this file is part of redUniverse toolkit /redFrik //todo: //mouseDownAction etc. now mouse is lost if setting userView.mouseDownAction //needs more work - just a temporary fix - resize broken //TO USE REDUNIVERSE WITH QT CHANGE EXAMPLE C ...