Posted 06 September 2016 - 04:39 PM
So I'm trying to make a game of Pong over Rednet and I thought that making this would be simple, but I was wrong apparently!!!
I made a tiny piece of code to test the ball bouncing physics, but the X axis didn't move.
I made another program to test the movement of the numbers
This is basically what I did:
I made a tiny piece of code to test the ball bouncing physics, but the X axis didn't move.
I made another program to test the movement of the numbers
This is basically what I did:
while true do
local x, y = term.getCursorPos()
term.setCursorPos(x+1,y+1)
print((x+1).."/"..(y+1)
end
when I did this, I noticed that the X integer did not change! The Y Integer changed but the X one didn't. Can I be told why this is?