Qt 5.13 Particles on Android
-
Hi friends!
Someone trying Particles on Android?
is possible to change color in onEmitParticles??
something like this
following code not work with Qt 5.6 + Android
is something change with Qt 5.13?
thanksfor (var i = 0, Ln = particles.length; i < Ln; ++i) { particles[i].x = arrCoord[i].x; particles[i].y = arrCoord[i].y; particles[i].red = arrCoord[i].red; particles[i].green = arrCoord[i].green; particles[i].blue = arrCoord[i].blue; } }
P.S. I will try to check tonight and publish result, but maybe someone already know)?
-
tonight was today)
Samsung S6 Android 7.0 - working
Samsung S9 Android 9.0 - working64 apk in case some wanna test on their phone
please post your result
thankshttps://drive.google.com/file/d/1CMREf_z46FynCz6vM3Xw3f3MQPgJMuCp/view?usp=sharing
soon will be on google play
https://play.google.com/store/apps/details?id=ua.in.visk.games.MagicBattlePvP -
@Galbarad said in Qt 5.13 Particles on Android:
for (var i = 0, Ln = particles.length; i < Ln; ++i) {
particles[i].x = arrCoord[i].x;
particles[i].y = arrCoord[i].y;
particles[i].red = arrCoord[i].red;
particles[i].green = arrCoord[i].green;
particles[i].blue = arrCoord[i].blue;
}
}!!!!
red, green, blue should be between 0.0 and 1.0