Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hey! How can I make object for example - circle float randomly, but not to go outside layout?
Yea, but object can only move horizontal OR vertical how to make the object float randomly?
You can give it two sine behaviors, one for horizontal and one for vertical. <img src="smileys/smiley2.gif" border="0" align="middle" />
Develop games in your browser. Powerful, performant & highly capable.
You say 'float randomly'.
Tell us more exactly, or give us an example to receive more useful advice.
Exactly as Sully said.... Also put some randomness at magnitude and you're done...
If you need REALLY randomness (all around the layout), then i suggest you to spawn it randomly between some points while having the sine behaviours...
Thank you guys!