Pong!
Follow this video instructions to learn how to:
- Render graphics using
kit.render()
- Set background color using
kit.set_background(color)
- Set a single pixel using
kit.set_pixel(x, y, color)
- Create custom colors using arrays with values for red, green and blue:
[red, green, blue]
- Run a function when to get the dial value when it changes with
kit.on_dial = on_dial_change
- Control a drawing on your screen with a variable
- Animate a simple movement using position and velocity
- Control the animation speed using the
%
(modulo) operator - Detect collisions and make a bouncing pixel using
if
,and
andelse
- Create a game over screen