Select Page

Author: admin

Building Games With Python 3 and Pygame: Part 5

Overview This is part five of a five-part series of tutorials about making games with Python 3 and PyGame. In part four we detected collisions, responded to the ball hitting various game objects, and created a game menu with custom buttons.  In this last part, we’ll cover diverse topics such as the end game, managing lives and score, sound effects, music, and even a flexible special effects system. For dessert, we’ll discuss potential improvements and future directions. The End Game Eventually, the game has to end. In this version of Breakout, the game ends in one of two ways:...

Read More

How to Code a Navigation Drawer for an Android App

What You’ll Be Creating The material design team at Google defines the functionality of a navigation drawer in Android as follows: The navigation drawer slides in from the left and contains the navigation destinations for your app. An example of a popular Android app that implements the navigation drawer is the Inbox app from Google, which uses a navigation drawer to navigate to different sections of the application. You can check it yourself by downloading the Inbox app from the Google Play store, if you don’t already have it on your device. The screenshot below shows Inbox with the navigation...

Read More

Android Things: Adding Google Assistant

With the growth of the Internet of Things (IoT), developers and engineers have had to rethink how users interact with devices on a day-to-day basis.  While screens work well for websites and most apps, devices that interface with the real world can be a bit more tedious to operate if you have to use multiple buttons or a screen in order to function. One of the ways around this is to enable voice controls on your devices.  In this tutorial you will learn about Google Assistant and how you can add it to your Android Things IoT devices. If...

Read More

Creating a Drop-Down Menu for Mobile Pages

This tutorial will teach you how to create and animate a hamburger menu icon and then attach an event listener through jQuery for triggering a drop-down menu. I will be using Jade (Pug) and Sass instead of vanilla HTML and CSS. So you should at least have a basic knowledge of these templating engines. Creating the Playground We will start with the implementation of a simple playground. I will only be providing the Jade template along with Sass styling, since this is not the scope of the tutorial. You can take it and use it or you can come...

Read More

Creating a Vue.js Serverless Checkout Form: Application and Checkout Component

This is the third post in a four-part series. In part one, we set up a serverless Stripe function on Azure. Part two covered how we hosted the function on Github. This post will focus on wiring everything up as a Vue.js application. Article Series: Setup and Testing Stripe Function and Hosting Application and Checkout Component (This Post) Configure the Checkout Component (Coming Soon) Stripe has a number of ways to build out a checkout form, the most basic being a single button on the page that you trigger to pull up their custom modal. There’s a repo and...

Read More
000webhost logo