Is there a way to use an image for a line? As in fruit ninja with all of the different blades? [import]uid: 147322 topic_id: 27778 reply_id: 327778[/import]
I’m assuming you don’t just display the image over and over. [import]uid: 147322 topic_id: 27778 reply_id: 112776[/import]
Not for a proper slice type line that is narrower at the ends and wider in the middle, although for a regular line you could maybe do something with squishing the x/y scale and rotating it, though that wouldn’t be a particularly nice effect I don’t think.
If you’re trying to do this to get a texture rather than a plain color you might try alternating the color of the line drawn every X seconds or the like? [import]uid: 52491 topic_id: 27778 reply_id: 112874[/import]
Thanks for the idea, I’ll try that. But is there a way to make a line with an image instead of a color? Or would you just maybe have to do that ‘squish the scale’ effect or draw several lines to make an ‘image’ effect? It doesn’t need to be wider in the middle or stuff like that, just a plain line. [import]uid: 147322 topic_id: 27778 reply_id: 112888[/import]
No you cannot simply draw a line with an image instead of a color. You could squish/scale and rotate or possibly do something with masking if you only wanted part of the image visible and not it all to fit into your line. [import]uid: 52491 topic_id: 27778 reply_id: 112935[/import]
Can you make a trail somehow? [import]uid: 147322 topic_id: 27778 reply_id: 112944[/import]
Are you talking about making a trail with the image somehow or is this a separate question unrelated to the image? [import]uid: 52491 topic_id: 27778 reply_id: 113016[/import]
Isn’t particle candy able to make trails? If you can, could you do it with an image? I don’t have particle candy, but maybe I’ll get it. [import]uid: 147322 topic_id: 27778 reply_id: 113019[/import]
You’d want to ask about there here; http://developer.anscamobile.com/forums/particle-candy-corona [import]uid: 52491 topic_id: 27778 reply_id: 113147[/import]