-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement motion_gotoxy and some pen blocks (#6)
* add scratch-renderer * make scratch-render work * add some pen functionality to test project * add some pen blocks to ir and wasm gen; not implemented n runtime yet * start to move all runtime js out of rust blocked by rustwasm/wasm-bindgen@4d4851d * use latest (unreleased) version of wasm-bindgen * stub js implementations for pen * fix README table formatting * fix everything being broken * attempt to use drawables corrwctly * make the render work * store sprite info, implement pen_setcolor * implement pen_setColorParamTo * fi actualx pen colour not bein used in pen_penDown * get rid of some typescript lint errors * remove unused `use`s * attempt to store sprite info in linear memory instead of js * account for sprite info when finding threads offset * correctly reset redrawrequested * start to implement hsv->rgb in wasm * finish implementing hsv-rbg in wasm gen * fix some stu by e.g. using f32s rather than f64s * format & start mini refactor * fix some stuff * add supc_locals constants * fix hsv->rgb * move pen_setPenSizeTo to wasm * start implementing motion_goto * fix motion_gotoxy
- Loading branch information
1 parent
b12bdf0
commit af3d383
Showing
13 changed files
with
39,430 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.