Timeline for Issue translating objects by one unit in the y direction
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 7, 2016 at 6:53 | comment | added | Mike G | That would work. You could even put it in the existing code. enemyVect[i][j]->y -= 0.6; enemyVect[i][j]->x -= 1.0; or whatever x value works for your code. Of course you'll have to do the same thing for the left wall as well. | |
Mar 7, 2016 at 6:10 | comment | added | loremIpsum1771 | So then in the first else if I should start moving the aliens backwards right after the y position is decremented? Or how should I change the code? | |
Mar 7, 2016 at 2:01 | review | First posts | |||
Mar 7, 2016 at 3:29 | |||||
Mar 7, 2016 at 1:54 | history | answered | Mike G | CC BY-SA 3.0 |