Author: Not specified Language: gml
Description: Not specified Timestamp: 2017-10-03 14:49:32 +0000
View raw paste Reply
  1. {
  2. while (!place_free(x, y))
  3.    {
  4.         if (i>100) {
  5.         break;
  6. }
  7. else{
  8.         i+=1;
  9. }
  10.    x = random(room_width);
  11.    y = random(room_height);
  12.    }
  13. }
View raw paste Reply