mercredi 3 août 2016

Scratch how to move sprite to a random selection of preset co-ordinates

I am making a game and I have hidden treasures on a grid that randomly assign new positions each game. The treasure chest sprites can go in any square on the grid, but need to be in the middle (ie cannot be crossing two boxes). How can I do this? I know how to make a sprite move to a random place, but not a random selection of pre-set places.




Aucun commentaire:

Enregistrer un commentaire