Ive Been trying to move a row of bottles up and down with the bottles next to each other going in opposite directions, I made an array to give me 8 numbers that repeat 0,1 with the for loop algorithm below, then foreach bottle I have, I check if the bottles direction which is either 0 or 1, then the bottle moves a ceratin way, how ever im getting a strange pattern of something like 01001101 instead of 01010101. ive manually changed the arrays to 01010101 and it makes the same pattern. Any Help is welcome, Thanks!
Code:
Last Edit: February 13, 2018, 04:48:52 am by Lukkie1998