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
Get Pong - Learn Programming
Pong - Learn Programming
A simple pong game with accompanying tutorials and source code
Status | In development |
Author | Dan Zaidan |
Genre | Action |
Tags | 2D, Arcade, Casual, Fast-Paced, Open Source, Pixel Art, pong, Tutorial |
More posts
- [COMPLETE TUTORIAL] How to make a game in C++!Sep 26, 2019
- How to make an AI for GAMESSep 23, 2019
- Introduction to Collision Detection For GamesSep 08, 2019
- How to make your GAME feel AWESOMESep 08, 2019
- C++ Tutorial: Gameplay, Movement and CollisionSep 04, 2019
- Tutorial: Player Movement, Input and TimeAug 23, 2019
- Tutorial: How to make a software renderer to display graphicsAug 16, 2019
- Learn how to make a game in C++Aug 07, 2019
Leave a comment
Log in with itch.io to leave a comment.