Learn Basic Programming by example - A 2D Game - Part 03

Опубликовано: 29 Сентябрь 2024
на канале: Pure Programming
699
29

Learn PureBasic by example. Follow the development step by step of a simple 2D game : the snake. This famous game lets you control a snake on a screen where apples appear at random. When the snake eats an apple, it grows in size. The goal is to survive the longest.

In this episode, I make the snake turn with the left and right arrow keys. I will also improve the background by tiling a sprite to make a checkerboard pattern.

Download the code from this episode at http://bit.ly/36eXKLA

Download PureBasic at http://www.purebasic.com/pp

Get some Pure Programming merch at https://shop.spreadshirt.net/pure-pro.... If you're in the Americas, try our US store at https://shop.spreadshirt.com/pure-pro....