Crazy bouncy box

Creations

flashjaysan

5 years ago

Crazy bouncy box est un petit programme pour tester les capacités de la Gamebuino Meta.

  • un carré rebondit sur les bords de l'écran en émettant un petit son.
  • le bouton A change la couleur du carré.
  • le bouton B active/désactive l'effacement de l'écran à chaque frame.
  • HAUT et BAS modifient la taille du carré.
  • GAUCHE et DROITE modifient la vitesse de déplacement du carré.

Et c'est tout !

J'ai essayé d'exploiter à la fois les graphismes, le texte, le son et les contrôles. Le code est massivement commenté pour aider les débutants à comprendre la logique derrière les instructions utilisées.


Crazy bouncy box is a little program to try the capabilities of the Gambuino Meta :

  • a square bounces off the sides of the screen with a little sound.
  • A button changes the square color.
  • B button toggles clear screen on/off.
  • UP and DOWN buttons changes the size of the square.
  • LEFT and RIGHT buttons changes the speed of the square.

That's all folks!

I tried to use graphics, text, sound and controls. The source code is heavily commented in order to help beginners understand the logic behind used statements.

View full creation