Funny, but I have never thought how to make an object appear to random postion. Now I would need to create an object, and when it hits the bottom of the screen it should come back up, so the X would be random and I could decide the Y myself.
Printable View
Funny, but I have never thought how to make an object appear to random postion. Now I would need to create an object, and when it hits the bottom of the screen it should come back up, so the X would be random and I could decide the Y myself.
Funny, but I have never thought how to make an object appear to random postion. Now I would need to create an object, and when it hits the bottom of the screen it should come back up, so the X would be random and I could decide the Y myself.
I went one better, and showed you how to create an object in a random position within a programmable zone <img src="/center/images/graemlins/smile.gif" alt="" />
http://www.clickteam.com/CTforum/showthr...amp;Main=298330
I went one better, and showed you how to create an object in a random position within a programmable zone <img src="/center/images/graemlins/smile.gif" alt="" />
http://www.clickteam.com/CTforum/showthr...amp;Main=298330
+Y pos of active > 480
--Y pos of active = 0
--X pos of active = random(640)
Is this what you were looking for?
+Y pos of active > 480
--Y pos of active = 0
--X pos of active = random(640)
Is this what you were looking for?
Thats just what I meant. Thanks =)
Thats just what I meant. Thanks =)
+Y pos of active > [frame height]
--Y pos of active = 0
--X pos of active = random(frame width)
+Y pos of active > [frame height]
--Y pos of active = 0
--X pos of active = random(frame width)