This site requires JavaScript, please enable it in your browser!
Greenfoot back
elementa
elementa wrote ...

2015/1/6

Generating Random Movement

elementa elementa

2015/1/6

#
Hi! So for my Greenfoot game, I have two doors. I would like to be able to alternate the locations of the two doors randomly, but only in two specific locations. For example, Door A is located at 100, 100. Door B is located at 200, 200. I would like to be able to randomly alternate both doors, but only either at 100,100 or 200,200. Does this make sense?
danpost danpost

2015/1/6

#
What have you tried? or, how do you think this can be accomplished? can you come up with any ideas?
You need to login to post a reply.