回答編集履歴

1

加速度が生かされてなかった

2021/01/05 07:50

投稿

babu_babu_baboo
babu_babu_baboo

スコア616

test CHANGED
@@ -122,7 +122,7 @@
122
122
 
123
123
 
124
124
 
125
- this.add (dp.sMul (.1));
125
+ this.add (dp.sMul (this.option.accelerator));
126
126
 
127
127
  this.locate ();
128
128
 
@@ -230,19 +230,19 @@
230
230
 
231
231
  pointer0 = MousePointer.create (),
232
232
 
233
- pointer1 = Stalker.create (src, pointer0, {offset: new P2(20,20), accelerator: .9}),
233
+ pointer1 = Stalker.create (src, pointer0, {offset: new P2(20,20), accelerator: .1}),
234
-
234
+
235
- pointer2 = Stalker.create (src, pointer1, {offset: new P2(40,40), accelerator: .8}),
235
+ pointer2 = Stalker.create (src, pointer1, {offset: new P2(40,40), accelerator: .09}),
236
-
236
+
237
- pointer3 = Stalker.create (src, pointer2, {offset: new P2(60,60), accelerator: .7});
237
+ pointer3 = Stalker.create (src, pointer2, {offset: new P2(60,60), accelerator: .08});
238
-
238
+
239
- pointer4 = Stalker.create (src, pointer3, {offset: new P2(80,80), accelerator: .6});
239
+ pointer4 = Stalker.create (src, pointer3, {offset: new P2(80,80), accelerator: .07});
240
-
240
+
241
- pointer5 = Stalker.create (src, pointer4, {offset: new P2(100,100), accelerator: .5});
241
+ pointer5 = Stalker.create (src, pointer4, {offset: new P2(100,100), accelerator: .06});
242
-
242
+
243
- pointer6 = Stalker.create (src, pointer5, {offset: new P2(100,100), accelerator: .4});
243
+ pointer6 = Stalker.create (src, pointer5, {offset: new P2(120,120), accelerator: .05});
244
-
244
+
245
- pointer7 = Stalker.create (src, pointer6, {offset: new P2(100,100), accelerator: .3});
245
+ pointer7 = Stalker.create (src, pointer6, {offset: new P2(140,140), accelerator: .04});
246
246
 
247
247
 
248
248