Yes! I know. This is just a simple example. I want to understand, why a subevent doesn't work with "while" loop?
Hi. I can't understand, why does it work in the first case, but not in the second
you can just use "move forward" with "sine" behavior on the angle, with adjusted random parameters on it . And you can use "bound to layout" behavior, to keep the sprite inside the layout.
this is a simple solution to the problem you described. the start value is determined by the current angle value.
Develop games in your browser. Powerful, performant & highly capable.
check out this channel. There are several tutorials about that
youtube.com/watch
made an example. is that what you meant?
drive.google.com/file/d/12AnQiRajMu9KQCv6z_hJRMCLb4aMylhF/view
try to change the order to this one
Hi. if I understood the problem correctly,
you can use the family. instead of uid, you can use instance variable or even the name of the object to pick it.
drive.google.com/file/d/1xw15gFDvEn7cSTtNSsOv20G_WGoCn6a5/view
You could also use Tween behavior, and reach the same result using only one action.
I hope I understood your question correctly
You can add an instance boolean variable, and toggle it every time when its angle is 90 or 180. And then add 2 conditions. If boolean is set, then rotate toward 180, otherwise - toward 90.
made in a hurry. This may not be the best solution, but it may be useful.
drive.google.com/file/d/1G2b9NRKDf78FNrN5qIvl_KN_TO1-LmBM/view
Member since 5 Jun, 2020