#Efficiency/Reduced lag

8 messages · Page 1 of 1 (latest)

astral olive
#

In my game I have different planets, I'm thinking of having the starting planet in the middle, with the next unlockable planet on the right, then when they get to the next planet the starting one moves to the left like if's cycling through them and displays the next one on the right, the player will also be able to click on the previous planet on the left and it cycles back, but i'm now sure if using 1 script which checks each one is more efficient or adding a mousebutton1click function under each planet and call the previous and next planets then move them into position

astral olive
#

it's all gui's

astral olive
#

cycle

#

next planet would be on the right

#

etc

#

problem is i dont want too many scripts checking for when each planet is clicked and moving them all at once