Gaming using Windows API calls - part 1 @powerbasicforbeginners
Gaming using Windows API calls - part 1  @powerbasicforbeginners
Uploaded August 2025 | Updated September 2026, 3 days ago
In this series of videos, which are aimed at those who have never coded in PowerBasic before, I cover one element of the language or programming - today we're looking at the use of Windows API calls within a game.

00:00 - Introduction
00:35 - Setting up constants and globals
02:36 - Creating the dialog
04:22 - The Event handler
11:17 - Drawing the screen and Timer
23:02 - Spawning a new piece
28:13 - Testing and debugging
29:13 - Summary

I don't work for, nor am I paid or sponsored by, the owners of PowerBASIC, I'm just a fan of their products.

For more information on PowerBASIC visit
pbusers.org
OR
pump.richheimer.de/index.php

Music by ghosthack.de

Source files for these projects are available from here
gsfsoftware.co.uk/PBTutorials/Projects.htm

GitHub
github.com/gsfsoftware/Tutorials/tree/master/Windows_Game_FallingBlocks
Gaming using Windows API calls - part 1AI or Human Assistants and Trust - PodcastThe Jevons Paradox and the Rise of Artificial Intelligence - PodcastThe Evolutionary Journey of Computers - PodcastThe Future Trajectory of AI and Computing Power - PodcastDesigning and Releasing Software Applications - PodcastPowerBasic for Windows Course - The Forms Designer - part 9Can AI write code in PowerBasic? part 1AI and the future of Manufacturing - PodcastIntro: The Rise of the RobotsPowerBasic Projects - Star Migration part 2AI developments over the next 5 Years - part 7 - Podcast
PowerBasic for Beginners |

Gaming using Windows API calls - part 1

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER