use the [ and ] around your code
so first one is [ . code . ]
and at the very end put [ . /code . ]
take out the spaces and take out the Peroids .
One of the better ways to break up your code is to have 2 main Functions, a UpdateLogic, and a Render
In the updatelogic all you doing in there is updating any game logic, like x = x + 1, ect ect, No Drawing
and in the render function, all you do is draw everything to the screen.
so first one is [ . code . ]
and at the very end put [ . /code . ]
take out the spaces and take out the Peroids .
One of the better ways to break up your code is to have 2 main Functions, a UpdateLogic, and a Render
In the updatelogic all you doing in there is updating any game logic, like x = x + 1, ect ect, No Drawing
and in the render function, all you do is draw everything to the screen.