1792895794423_774d0678-3bd5-4aa6-92b5-d2ae8c19347a
← 返回列表
{"desc":"这不是bug,主要是想让作者实现个东西,就是负号,例如说a动量默认往右,加上符号就会往左\n能实现吗😭","rec":{"v":2,"kind":"sandbox-rec","savedAt":"2026-10-25T02:36:33.848Z","meta":{"W":1872,"H":935,"groundY":748,"PX_PER_M":260,"GRAV":2600,"PHYS_MODE":"uni","SPR_KS_DEF":250,"SPR_K_MAX":2000,"SPR_DAMP":0.8,"SPR_SPAWN_LEN":110,"BALL_REST":0.52,"CIRCLE_SIDES":48,"BND_INK":2.325},"env":{"ver":"R145","ms":30000,"recv":2,"ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36","dpr":1,"iw":1872,"ih":935,"sx":0,"sy":0,"ui":"desktop","touch":false,"tool":"null/rect","cont":false,"tz":-480,"nb":1,"nfl":0,"wb":4,"panel":null,"light":false},"init":{"t":0,"mode":"uni","g":2600,"pt":1632983.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]],"ptsF":[[-130,-9],[130,-9],[130,9],[-130,9]],"shp":"poly"}]},"dropped":0,"initT":0,"frames":[{"t":10.7,"mode":"uni","g":2600,"pt":1633000,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":26.4,"mode":"uni","g":2600,"pt":1633016.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":43.6,"mode":"uni","g":2600,"pt":1633033.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":64.1,"mode":"uni","g":2600,"pt":1633050,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":76.9,"mode":"uni","g":2600,"pt":1633066.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":93.8,"mode":"uni","g":2600,"pt":1633083.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":109.7,"mode":"uni","g":2600,"pt":1633100,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":126.6,"mode":"uni","g":2600,"pt":1633116.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":143.2,"mode":"uni","g":2600,"pt":1633133.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":159.9,"mode":"uni","g":2600,"pt":1633150,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":176,"mode":"uni","g":2600,"pt":1633166.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":193.4,"mode":"uni","g":2600,"pt":1633183.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":210.1,"mode":"uni","g":2600,"pt":1633200,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":226.5,"mode":"uni","g":2600,"pt":1633216.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":243.3,"mode":"uni","g":2600,"pt":1633233.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":259.9,"mode":"uni","g":2600,"pt":1633250,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":276.4,"mode":"uni","g":2600,"pt":1633266.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":293.2,"mode":"uni","g":2600,"pt":1633283.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":310.2,"mode":"uni","g":2600,"pt":1633300,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":326.4,"mode":"uni","g":2600,"pt":1633316.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":343.4,"mode":"uni","g":2600,"pt":1633333.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":359.9,"mode":"uni","g":2600,"pt":1633350,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":376.3,"mode":"uni","g":2600,"pt":1633366.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":393,"mode":"uni","g":2600,"pt":1633383.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":409.7,"mode":"uni","g":2600,"pt":1633400,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":426.2,"mode":"uni","g":2600,"pt":1633416.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":443.3,"mode":"uni","g":2600,"pt":1633433.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":459.9,"mode":"uni","g":2600,"pt":1633450,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":477.8,"mode":"uni","g":2600,"pt":1633466.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":493.5,"mode":"uni","g":2600,"pt":1633483.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":510,"mode":"uni","g":2600,"pt":1633500,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":527,"mode":"uni","g":2600,"pt":1633516.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":543.3,"mode":"uni","g":2600,"pt":1633533.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":560.2,"mode":"uni","g":2600,"pt":1633550,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":576.9,"mode":"uni","g":2600,"pt":1633566.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":593,"mode":"uni","g":2600,"pt":1633583.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":609.3,"mode":"uni","g":2600,"pt":1633600,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":630.5,"mode":"uni","g":2600,"pt":1633616.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":643.7,"mode":"uni","g":2600,"pt":1633633.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":660.4,"mode":"uni","g":2600,"pt":1633650,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":676.6,"mode":"uni","g":2600,"pt":1633666.7,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]},{"t":694,"mode":"uni","g":2600,"pt":1633683.3,"tool":"null/rect","bs":[{"i":0,"k":"W","s":"poly","x":192,"y":110,"vx":0,"vy":0,"w":0,"a":0,"m":null,"fx":1,"st":1,"sl":1,"mu":0.08,"e":0,"hw":130,"hh":9,"ox":-192,"oy":-110,"npt":4,"cl":1,"pts":[[-130,-9],[130,-9],[130,9],[-130,9],[-130,9]]}]}],"events":[{"t":0.1,"ty":"start"},{"t":48.3,"ty":"down","x":1069,"y":431,"el":"DIV#smenu.smenu","txt":"\n 设置✕\n \n 交互模式\n ","btn":0},{"t":161.7,"ty":"up","x":1069,"y":431,"el":"DIV#smenu.smenu","txt":"\n 设置✕\n \n 交互模式\n ","btn":0},{"t":476.6,"ty":"move","x":1071,"y":425,"el":"BUTTON#recbtn.rbtn","txt":"停止并导出(0.3s / 30s · 18帧)","btn":-1},{"t":525.9,"ty":"move","x":1074,"y":403,"el":"BUTTON#recbtn.rbtn","txt":"停止并导出(0.3s / 30s · 18帧)","btn":-1},{"t":624.7,"ty":"down","x":1075,"y":398,"el":"BUTTON#recbtn.rbtn","txt":"停止并导出(0.3s / 30s · 18帧)","btn":0},{"t":692.2,"ty":"move","x":1073,"y":397,"el":"BUTTON#recbtn.rbtn","txt":"停止并导出(0.6s / 30s · 38帧)","btn":-1},{"t":697.5,"ty":"up","x":1063,"y":398,"el":"BUTTON#recbtn.rbtn","txt":"停止并导出(0.6s / 30s · 38帧)","btn":0}]}}