In one of my previous tutorials, I have demonstrated how to create a simple starfield simulation using Python and Pygame. Today, we will make a few modifications in the code from that tutorial to make a pretty cool parallax starfield.
Category Archives: Programming
In this tutorial we will create a simple but cool starfield simulation with Python and Pygame. The tutorial will be very brief and accompanied by a self-explanatory small amount of code.
In the last tutorial we saw how to make a simple 3D simulation. In this tutorial we will build from the theory and code from the last tutorial and make a rotating 3D wireframe cube.
In this tutorial I will show you how to build a simulation of 3D point rotation using Python and Pygame. I will begin by giving you a brief background on 3d computer graphics theory. It will help you understand the code that will be presented afterwards. I assume you have a basic knowledge of Pygame.
Pygame is a cross-platform game library written in Python. It is the most used library to write games using Python. This tutorial aims to get you started using the Pygame library. After finishing this tutorial you will be able to craft simple Pygame applications, and will be in position of understanding complex Pygame applications written by others.
PHP is often used to generate HTML pages. However, PHP is capable of generating different types of content like music, videos, pdf documents, and images. In this tutorial, you will learn how to generate images on the fly using PHP. We will create a PHP script, that every time is invoked, generates an image with a random number.
Python and Pygame are simple yet powerful tools that make up a great combination for rapid game development. This tutorial will guide you step by step in using these two tools to make the classic Breakout game.
Python is a very powerful yet simple language. One of its advantages is the availability of many libraries. One special library is the Pygame library that is suited to do computer graphics and make games. This tutorial will guide you …
In the last tutorial we covered the concept of the game loop and applied it to make a simple animation. Drawing upon the code of the last tutorial, we will add a box that we will be controlled using the …