If you need more help, you can attach the file by signing up for a free dropbox account, and uploading it to your folder, then sharing the link. (or some other file host, but most of us use dropbox)
You could use the 'lerp' expression like in podpathos' example, it's a nice way of doing it. If you want the angle math you mentioned though, this should cover it:
MoveAtAngle.capx (r106)
To get the angle you can simply use C2's 'angle' expression, I've also used 3 variables to make it easier to see what's going on, but you could do it without them.
Something like this?
SpawnAroundGrid.capx (r105)
Canvas plugin example:
http://www.scirra.com/forum/dynamic-shadows-now-possible_topic56174.html
Hmm, can't really say what's wrong without looking at the .capx.
You do not have permission to view this post
I made this example for myself a while back, maybe it will help:
SlidersRGB.capx (r104) (Uses canvas plugin)
Develop games in your browser. Powerful, performant & highly capable.
SlideTouch.capx (r104)
Not the configurations bar. Click on your project in the "Projects" window to the right, then change "Sampling" to the left under "Configuration Settings". And yes, if you're doing pixel art, I'm guessing it will solve your problem.
Try changing "Sampling" in "Project Properties -> Configuration settings" to "Point" instead of "Linear".
Ooh, interesting. Thanks for sharing, I'm guessing a beta release is right around the corner as well.
Woops, accidentaly deleted my post by misclick:
You can use the anglediff expression: +System: Every tick -> Set a to angle(Turret.X, Turret.Y, Target.X, Target.Y) -> Set a0 to default angle +System: Compare two values (anglediff(a, a0) <= 5) -> Rotate towards a +Else: -> Rotate towards a0edited><editID>Nimtrix</editID><editDate>2012-09-20 21:20:08</editDate></edited>
You can use the anglediff expression:
+System: Every tick -> Set a to angle(Turret.X, Turret.Y, Target.X, Target.Y) -> Set a0 to default angle +System: Compare two values (anglediff(a, a0) <= 5) -> Rotate towards a +Else: -> Rotate towards a0
edited><editID>Nimtrix</editID><editDate>2012-09-20 21:20:08</editDate></edited>
Member since 30 Dec, 2011