Update README.md
This commit is contained in:
parent
9fe06f7070
commit
d6738bd98b
1 changed files with 3 additions and 3 deletions
|
@ -70,20 +70,20 @@ twnlib.tween(bean.pos, [ "x" ], {
|
|||
from: 0,
|
||||
to: width() - 64,
|
||||
time: 3.2,
|
||||
type: 8
|
||||
type: tweentypes.PINGPONG
|
||||
});
|
||||
|
||||
twnlib.tween(bean.pos, [ "y" ], {
|
||||
from: 0,
|
||||
to: height() - 64,
|
||||
time: 2,
|
||||
type: 8
|
||||
type: tweentypes.PINGPONG
|
||||
});
|
||||
|
||||
twnlib.tween(bean.color, [ "g", "r" ], {
|
||||
from: 255,
|
||||
to: 0,
|
||||
time: 0.25,
|
||||
type: 8
|
||||
type: tweentypes.PINGPONG
|
||||
});
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue