Replicate with different color?
GreenfroggGames
Member Posts: 224
Is it possible to replicate an actor and change the color or alpha on the replicates only?
Comments
I assume actor is imported image?
@Toque both imported image and just a blank actor, if it's possible.
No I don't think so. The Replicate Behavior replicates that actor exactly (without active behaviors).
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
As Jamie says, you can't replicate while changing anything. But you can fake it, to an extent. If all your replicas will be the same, just stick another actor behind your actor and replicate that. If you need different qualities for each replica, you need to spawn copies and change them as needed.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Thanks @jamie_c and @Armelline but I was just thinking I could replicate and change the alpha to get some easy shadow effects
No, unfortunately not. There are ways to get cool shadow effects, though.
Pro-tip: Ask the question you actually want answered when asking questions on the forums.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@Armelline I'm sorry but my original question was the the one I wanted answered. If it was possible I wanted to use replicate for my shadows
@GreenfroggGames - it is possible, though, as I showed. Just not directly. If you'd given context to your question, I'd have not spent time making a demo with no benefit. I'd have made one doing what you wanted done. But never mind. You have an answer to both questions now :P
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Quick example of the kind of thing that can be easily achieved:
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@Armelline Sorry about the demo, although it might be useful for me or others reading this Cool looking example, is the shadow made of replicates from an actor behind the gold bat?
No worries, I wasn't annoyed about it so much as using it as an example of why a complete question is advantageous. And that is correct, the shadow is a replicated actor behind the gold one. Thought I attached it to the last post but apparently not.
With better maths in the replicate behaviour you could come up with some really cool effects.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@Armelline Awesome! Thank you
That is really good..