Tag archives for Canvas
Learn How to Create the Classic Snake Game With the Canvas API and the HTML5/JavaScript Duo
If you've never played the famous Snake game, raise your hand! I say that, but I suppose that nowadays, the new generation may never have heard of this game, which may seem a bit old-fashioned given the possibilities offered by today's computers and the Web. And yet, there was a time when the Snake game was a game that all…
Creating a Virtual Piano Application for Android
Smartphones and tablets are always more and more powerful. In that tutorial, we are going to take profit of that by creating a virtual piano for Android. It will be an excellent way to discover how to use the Canvas API to draw the Piano on the screen but also how to play sounds with the Android SDK. Note that…
Learn to draw an Analog Clock on Android with the Canvas 2D API
To learn to use the Canvas 2D API, a good exercise is to draw an Analog Clock on Android. In this tutorial, you are going to discover how to create this kind of Clock and you will see some basics like creating a custom view and draw on a Canvas. Note that you can enjoy this tutorial in video on…