KanoComputing / kano-code

👩‍💻👨‍💻Kano Code
https://world.kano.me
GNU General Public License v2.0
16 stars 5 forks source link

Joystick part #1825

Open keithclark opened 4 years ago

keithclark commented 4 years ago

[WIP] Prototype Joystick Part

This PR is a first stab at creating a Joystick input part for the Kano Code editor. It provides authors with a means to interact with their creations using a universal joystick input that responds to touch, mouse and keyboard.

Features

Screenshots

Toolbox additions

toolbox

Add Part menu

add-part

Part List item

part

Editor

editor

Examples:

This PR contains two examples to play with:

Todo:

Future refactoring notes

TeamKano commented 4 years ago
Coverage summary
Statements 28.93% 2018/6976
Branches 20.19% 211/1045
Functions 28.96% 651/2248
Lines 28.82% 1951/6770

From Jenkins: kano-code/PR-1825

pazdera commented 4 years ago

Hey Keith! This looks great, and we would be happy to accept this. At this point, we'd probably want to put it behind a communityParts flag until we're sure its ready to be included in the parts library on Kano World.

keithclark commented 4 years ago

How does the communityParts flag work? Would the part be accessible in the editor on Kano World once the flag is toggled on?

Is there anything extra you need from me to progress this?