I have an object "ball", that is randomly created on my screen.
How can I create another instance of this object, anywhere but not at the same place like my first instance?
Thanks a lot!
Develop games in your browser. Powerful, performant & highly capable.
After a bit of thinking, I came up with the best simple way that I could do it without going into advanced algorithms. There are 2 events.
It should work well unless you need to comprehensively cover every spare space on the screen.
Haha, that's pretty cool sqiddster. I admit, I ran it and sat there watching the screen fill up completely... twice. <img src="smileys/smiley36.gif" border="0" align="middle" />
Wow that looks great :D
And works pretty well too
I thought its way more difficult, but you solved it with 3 simple lines >.<
Sulley, it is quite addictive, eh ;)
Geru, no problem, have fun!