diff --git a/assets.ts b/assets.ts index 4212fadc..da7ec482 100644 --- a/assets.ts +++ b/assets.ts @@ -44,6 +44,7 @@ namespace microcode { this.reg["note_off"] = icondb.note_off // sample icons + /* this.reg["flashing_heart"] = icondb.sampleFlashingHeart this.reg["smiley_buttons"] = icondb.sampleSmileyButtons this.reg["clap_lights"] = icondb.sampleClapLights @@ -57,7 +58,8 @@ namespace microcode { this.reg["hot_potato"] = icondb.sampleHotPotato this.reg["clap_lights"] = icondb.sampleClapLights this.reg["railroad_crossing"] = icondb.sampleRailCrossingLight - +*/ + // sensors this.reg[TID_SENSOR_TIMER] = icondb.tile_timer this.reg[TID_SENSOR_RADIO_RECEIVE] = icondb.radio_receive diff --git a/home.ts b/home.ts index 826b6544..76cc5605 100644 --- a/home.ts +++ b/home.ts @@ -27,13 +27,19 @@ namespace microcode { this.samplesBtn = new Button({ parent: null, style: ButtonStyles.Transparent, - icon: "rock_paper_scissors", + icon: "new_program", ariaId: "C1", x: 0, y: 30, onClick: () => { this.app.popScene() - this.app.pushScene(new SamplesGallery(this.app)) + reportEvent("samples.open", { + name: "new program", + }) + // settings.writeString(SAVESLOT_AUTO, sample.source) + this.app.popScene() + this.app.pushScene(new Editor(this.app)) + // this.app.pushScene(new SamplesGallery(this.app)) }, })