In this tutorial we will write a cross-platform, retro C program that accepts keyboard control of a text-based player character on screen.
Hacks are our tips and how-to tutorials. If you want to know how to do something then this is the category for you!
Programming in C traditionally starts with outputting “Hello World” to the text console/terminal command-line. In the previous C tutorial we looked at that code but didn’t examine it, so let’s do that now, and expand to include input from the user so we can start making useful code. We will also look at the essentials […]
Learn to code in C and create your own retro games with this free multi-part C programming tutorial series. But first, why learn to program in C? TL;DR C is one of the most sought-after languages in its own right, it has spawned or inspired lots of other super popular languages, and learning C is […]
Retro computing and retro games have had a renaissance. I love it. The community has never been so vibrant. As I write this, my friend Andy has won an award for his brand new Commodore Vic 20 computer game! While I have enjoyed emulation for many years (as regular readers are no-doubt fully aware), and […]
Ever wondered how to create your own custom keyboard or keypad? Do you want a fast way to quit out of Zoom calls? Today we’re going to be making our own custom Arduino macro USB keyboard. Well, a two-key “keyboard”.
So far I have covered more Arduino/C and even AMOS Basic than anything else, but my main language on the daily is Python, and my main use of Python is for making my day job life easier! Python is an excellent language for automation and interacting with APIs (Application Programming Interfaces). Even if you are […]
Today, we’re going to create the world’s easiest Hackintosh using the virtual MacOS package, Sosumi.
Seeed sent me a Wio Terminal to play with, and I have to say I am impressed. Rather than do a straight review, I thought I would show how easy it is to make a quick project with it.
In the final (for now, at least) entry in this series, we are going to pull everything together into a playable “Shoot the Invaders from Space” game that has keyboard and joystick control, killable enemies, moving bullets, and a scrolling star field backdrop … Previous AMOS Basic Tutorials in this series: Loading images and configuring […]
There is one last popular option for scrolling the screen and covering it gives us an opportunity to introduce the special AMOS animation language, AMAL … Previous AMOS Basic Tutorials in this series: Loading images and configuring AMOS screens “Dual Playfield” Bobs and Sprites Maps and Scrolling Better Tile Scrolling