Skip to content

Instantly share code, notes, and snippets.

@kahilkubilay
Created December 26, 2019 23:00
Show Gist options
  • Save kahilkubilay/6cb929708f34f6ee60beedd2ff9c32e3 to your computer and use it in GitHub Desktop.
Save kahilkubilay/6cb929708f34f6ee60beedd2ff9c32e3 to your computer and use it in GitHub Desktop.
Javascript İle Oyun Yapımı: Nesnelerin Kontrolü - Top
// #ball alacağı değerler
ball.style.top = pxAdd(parseInt(ball.style.top) + 2);
ball.style.left = pxAdd(parseInt(ball.style.left) + 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment