@Override public void keyPressed(CCKeyEvent theKeyEvent) { switch (theKeyEvent.keyCode()) { case CCKeyEvent.VK_R: _myContourText.reset(); break; } }
@Override public void keyPressed(final CCKeyEvent theEvent) { switch (theEvent.keyCode()) { case VK_S: _myTileSaver.init("export_tile3/" + frameCount + ".png", 5); g.pointSize(10); // CCScreenCapture.capture("export/"+frameCount+".png", width, height); break; case VK_R: g.pointSize(1); // _myBasicShader.reload(); // _myColorScaleShader.reload(); break; case VK_D: g.pointSize(1); _myParticles.reset(); for (int i = 0; i < 700 * 700; i++) { _myEmitter.emit(new CCVector3f(0, 0, 0), CCVecMath.random3f(10), 10, true); } break; default: } }