opencanvas5 opencanvas中文版
摘要:
通过webrtc通道传送远程自动绘图脚本typingSpeed(0,0); //type as *st as possiblelayout("GB"); //l...
通过webrtc通道传送远程自动绘图脚本typingSpeed(0,0); //type as *st as possible
layout("GB"); //language layout
//Start paint
// waitLEDRepeat(NUM);
press("GUI R");
delay(1000);
type("mspaint\n"); //no need to press ENTEr, encoded in '\n'
delay(2000);
//Maximize paint
press("GUI UP");
//Set canvas size to 1920x1080
press("CTRL E"); //open properties
delay(2000);
type("1920");
press("TAB");
type("1080");
press("ENTER");
//create JavasCript player object
var player = {
speed: 4.0/1920.0,
dir: 0.0,
pos: {"x": 0.5, "y":0.5},
border: {"lx": 0.2, "ly":0.2, "hx": 0.8, "hy": 0.8},
pressed: *lse,
step : function() {
v = this.getVec();
this.pos.x += v.x;
浮窗式百度分享代码,请勿使用文字或图标
文章版权及转载声明:
作者:yunmami本文地址:http://yunmami.net/yun/28410.html发布于 2023-09-22
文章转载或复制请以超链接形式并注明出处孕宝儿
还没有评论,来说两句吧...