Hi, I am trying to make a game in MATLAB App Designer and for this game, which basically looks similar to asteroids, I want to have images that move dynamically. In order to do so, I tried to create different positions for this image by using the 'rand' code (for random outputs). However, I am not sure whether this is feasible and I want to make this position time-dependent (so that for instants, the image is in the left-bottom of your screen for t=5s, and then changes to somewhere on the right for a few seconds, etc. etc.). This should act as an astroid which takes random places on your screen, but instead I would like to use the image.
Can anyone help me out?
Thanks in advance!