+2
-2
lines changedFilter options
+2
-2
lines changed Original file line number Diff line number Diff line change
@@ -182,14 +182,14 @@ class FXGLIntroScene : IntroScene() {
182
182
private fun playAnim3() {
183
183
delayIndex = 0.0
184
184
185
-
pixels1.forEach { p ->
185
+
pixels1.sortedBy { it.layoutX }.forEach { p ->
186
186
animationBuilder(this)
187
187
.delay(Duration.seconds(random(delayIndex, delayIndex + 0.21)))
188
188
.duration(Duration.seconds(1.05))
189
189
.interpolator(Interpolators.EXPONENTIAL.EASE_IN())
190
190
.animate(AnimatedPoint2D(
191
191
Point2D(p.translateX, p.translateY),
192
-
Point2D(appWidth * 2.0, appHeight * 2.0))
192
+
Point2D(appWidth * 2.0, appHeight / 2.0))
193
193
)
194
194
.onProgress(Consumer {
195
195
p.translateX = it.x
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4