Check out this thread:
http://www.scirra.com/forum/limit-drag-to-another-sprites-image-area_topic52025.html
BTW there is a clamp function. It's under 'Values' rather than 'Math'.
You have transparent set to No on the 'main' layer.
object.Count will tell you how many of the objects there are. When they're all destroyed it will be 0.
It works if you set the speed before you set the angle of motion. I guess if a bullet isn't moving then it doesn't have an angle of motion, ie. it's 0.
http://dl.dropbox.com/u/8367729/construct/example/overlappingAtOffset.capx
No problem. It looks great and is a cool use for Construct.
Yep, both of them.
<img src="http://omg.wthax.org/textYOffset.png" border="0" />
Thinking about this some more. Set textYOffset to 0 or 6 depending on browser and then add it to any text you place on screen. I think this is cleaner than using if/else every time you place text.
This is what I'm doing now.
<img src="http://omg.wthax.org/firefoxText_1.png" border="0" />
Seems to do the job.
Develop games in your browser. Powerful, performant & highly capable.
— Oops. Adblock+ was blocking it because of the /advert/ in the url.
Set a variable to true if touch is available and only scroll to mouse co-ords if it's not.
I noticed if you click anywhere below the frog, his tongue comes out the bottom of his chin. And even worse, if you click on his face the tongue gets stuck.
Ashley I noticed this aswell. Text objects are always displayed a fex pixels higher in Firefox.
http://dl.dropbox.com/u/8367729/construct/example/textAlignment.capx
Member since 17 Apr, 2012