I made this example for myself a while back, maybe it will help:
SlidersRGB.capx (r104) (Uses canvas plugin)
Something like this?
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>
ToggleOnTop.capx
Hmm, how about if you add a condition "Blue is visible" to the blue click event and the same for the green?
Develop games in your browser. Powerful, performant & highly capable.
Use a variable, set it to 0 if you click one square and 1 if you click the other. Then set the visibility depending on the variable.
Example: Toggle.capx (r103.2)
Here's one way to do it with different layout widths:
LayoutTransitioning.capx (r103.2)
Hope it helps!
C2Dennis_Edited.capx (r103.2)
nutmix:
Manual link
Hi, I'm afraid a ".caproj" file cannot be opened without the rest of the project files. In order to share your project you'll need to choose "save as a single file" to save the file as a ".capx" (a compressed file of your entire project), then share that file.
Just " Every Tick -> Set var to A.Count+B.Count " should do the trick. The reason it's not working is the "Pick all" conditions. The event doesn't run when there are no instances of either of the objects.
Or you could use a bit of trigonometry and some system expressions:
MoveTo.capx (r103.2)