That's very weird. choose("muzzle1", "muzzle2", "muzzle3") works perfectly fine for me. (@plinkie the only 2 types of values are numbers and strings) Also choose("muzzle1,muzzle2,muzzle3") should not work since it needs at least 2 parameters.
You can also use choose("muzzle1", "muzzle2")
— It's in the behaviors properties, you can't change it during runtime.
Disable bounce off solids and use the bullets bounce action when it collides with the objects that you do want it to interact with.
Manual
Frequently Asked Questions
I'd look into layer scaling for that.
If you need to retrieve an objects scale at certain points, use an instance variable to set the scale.
every tick -> set scale to Self.scale
on trigger -> set object.scale to n
then when you need to retrieve it, get that instance variables value.
Agreed. This is the only reason I usually make my own scroll-to instead of using the behavior.
I'd love to try it out if you could give a link <img src="smileys/smiley1.gif" border="0" align="middle" />
Edit: This should also probably be in the "Your Creations" section
I usually have a seperate layout called objectdump where I place any objects that would normally be left off screen
Most of these can already be done with events :P
Develop games in your browser. Powerful, performant & highly capable.
The same way you make it move at an angle. Right after you move it, set the objects angle to angle(control2.X,control2.Y,thumb1.X,thumb1.y)
Set the objects angle to the same angle you're moving it at.
Member since 23 Oct, 2012