Tutorial #5: Enemy AI, Score System, Finishing the Gameplay


Ever wondered how games are programmed?

In this tutorial series, I will teach you how to make a game in C++.
Hopefully, you will learn the fundamentals of game programming and be able to make your own games by the end!

This series is beginner friendly, and I'll take a step by step approach, to make sure everyone can follow along. (But basic programming skills are recommended).

In this tutorial, we created a score system for the game, and drew the numbers using our software renderer. We also create and improve an AI for the enemy, discussing some important points of artificial intelligence for games. This makes the end of the gameplay for the game! Next time, we'll add a menu system and polish the game, preparing it for the release!
If you have any questions, be sure to comment below!


Download the source code: https://danzaidan.itch.io/pong-learn-programming
Lean how to make a game in C++: https://www.youtube.com/playlist?list=PL7Ej6SUky135IAAR3PFCFyiVwanauRqj3
Making a game in C from scratch and releasing it on Steam: https://www.youtube.com/playlist?list=PL7Ej6SUky1357r-Lqf_nogZWHssXP-hvH


I hope you enjoy programming this game as well!

Files

Pong - Tutorial #5.exe 16 kB
33 days ago
Pong - Tutorial #5 - Source Code.zip 7 kB
33 days ago

Get Pong - Learn Programming

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.