Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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" />
You say 'float randomly'.
Tell us more exactly, or give us an example to receive more useful advice.
Develop games in your browser. Powerful, performant & highly capable.
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!