Update README.md

This commit is contained in:
MeowcaTheoRange 2022-08-08 22:57:19 -05:00 committed by GitHub
parent 9fe06f7070
commit d6738bd98b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,20 +70,20 @@ twnlib.tween(bean.pos, [ "x" ], {
from: 0, from: 0,
to: width() - 64, to: width() - 64,
time: 3.2, time: 3.2,
type: 8 type: tweentypes.PINGPONG
}); });
twnlib.tween(bean.pos, [ "y" ], { twnlib.tween(bean.pos, [ "y" ], {
from: 0, from: 0,
to: height() - 64, to: height() - 64,
time: 2, time: 2,
type: 8 type: tweentypes.PINGPONG
}); });
twnlib.tween(bean.color, [ "g", "r" ], { twnlib.tween(bean.color, [ "g", "r" ], {
from: 255, from: 255,
to: 0, to: 0,
time: 0.25, time: 0.25,
type: 8 type: tweentypes.PINGPONG
}); });
``` ```