What would be the best way of achieving this effect?
FallingBoxStudios
Freelance Graphic DesignerMember Posts: 822
Hi, I have been stuck on this one thing in my game for almost 2 weeks
What I'm trying to achieve is a scrolling pattern constituting of 5 actors repeating themselves that scroll endlessly until you start the game.
My problem is I can't find a way of making the actors scroll all over the screen (like below, created with Photoshop)
Right now all I can do is this
So what would be the best way of achieving this effect?
Ps: Yes I have considered using a full image of the pattern repeating itself, but it wont achieve what I need.
Comments
@FallingBoxStudios , make the actor bigger vertically and in the graphics options in the actor set Vertical Wrap to "Tile"?
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
@Hopstoch I just tried that, but since the collision box of my actors are small it just did this
@FallingBoxStudios , is the above just for display? Then make an image specific for that.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Well I have interpolated the actors once the game begins (so once the game begins the shrink away) so I'm not sure if it will work with a larger collision box.
@FallingBoxStudios, I don't understand where the collision box comes in if it is just for display. Maybe describe it a bit more.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
duplicate the actor.
If it's just for display add a Replicate Behavior to each colored ball with as many steps/copies as it takes to fill the screen.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Thanks everyone for all the help, I managed to do it
But I have bumped into a weird glitch with the actor movement, each actor weirdly shakes a lot causing the pattern to go uneven
Here's the code, what do you think could be causing this?
I also have a destroy behaviour after 7 seconds
Here is a sample I did using Replicate if it helps at all.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Thank you so much @jamie_c, that worked so much better!
Cool, glad it worked for you!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page