Skip to content

Instantly share code, notes, and snippets.

@gabrielflorit
Created February 10, 2020 06:32

Revisions

  1. gabrielflorit created this gist Feb 10, 2020.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    This is a [SCRIPT-8](https://script-8.github.io) cassette.
    1 change: 1 addition & 0 deletions chains.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    {}
    14 changes: 14 additions & 0 deletions code.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    init = state => {
    state.x = 0
    state.y = 0
    state.w = 10
    state.h = 10
    state.c = 1
    }

    update = (state, input, elapsed) => {
    }

    draw = state => {
    rectFill(state.x, state.y, state.w, state.h, state.c)
    }
    1 change: 1 addition & 0 deletions map.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    []
    13 changes: 13 additions & 0 deletions misc.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    {
    "iframeVersion": "0.1.280",
    "lines": [
    14,
    0,
    0,
    0,
    0,
    0,
    0,
    0
    ]
    }
    1 change: 1 addition & 0 deletions phrases.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    {}
    1 change: 1 addition & 0 deletions songs.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    {}
    1 change: 1 addition & 0 deletions sprites.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    {}