• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PacktPublishing/Beginning-Cpp-Game-Programming-Second-Edition: Beginning C++ Gam ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

PacktPublishing/Beginning-Cpp-Game-Programming-Second-Edition

开源软件地址:

https://github.com/PacktPublishing/Beginning-Cpp-Game-Programming-Second-Edition

开源编程语言:

C++ 99.2%

开源软件介绍:

Beginning C++ Game Programming - Second Edition

Beginning C++ Game Programming - Second Edition

This is the code repository for Beginning C++ Game Programming - Second Edition, published by Packt.

Learn to program with C++ by building fun games

What is this book about?

The second edition of Beginning C++ Game Programming is updated and improved to include the latest features of Visual Studio 2019, SFML, and modern C++ programming techniques. With this book, you’ll get a fun introduction to game programming by building five fully playable games of increasing complexity. You’ll learn to build clones of popular games such as Timberman, Pong, a Zombie survival shooter, a coop puzzle platformer and Space Invaders.

This book covers the following exciting features:

  • Set up your game development project in Visual Studio 2019 and explore C++ libraries such as SFML
  • Explore C++ OOP by building a Pong game
  • Understand core game concepts such as game animation, game physics, collision detection, scorekeeping, and game sound
  • Use classes, inheritance, and references to spawn and control thousands of enemies and shoot rapid-fire machine guns
  • Add advanced features to your game using pointers, references, and the STL
  • Scale and reuse your game code by learning modern game programming design patterns

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

int main()
{
    return 0;
}

Following is what you need for this book: This book is perfect for you if you have no C++ programming knowledge, you need a beginner-level refresher course, or you want to learn how to build games or just use games as an engaging way to learn C++. Whether you aspire to publish a game (perhaps on Steam) or just want to impress friends with your creations, you’ll find this book useful.

With the following software and hardware list you can run all code files present in the book (Chapter 1-22).

Software and Hardware List

Chapter Software required OS required
1-22 Visual Studio Community 2019 Windows (Optional: Mac/Linux with proper configuration)
1-22 SFML Windows (Optional: Mac/Linux with proper configuration)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Errata

  • Page 134 (line 6) Draw the line should be Draw the line (Please note this isn't in BOLD)
  • Page 92 (line 14 from the top) Now draw the insect should be Draw the insect
  • Page 532 (GameObject code block) m_UpdateComponent = new UFOUpdateComponentComponent(); should be m_UpdateComponent = new UFOUpdateComponent();

Related products

Get to Know the Author

John Horton is a programming and gaming enthusiast based in the UK. He has a passion for writing apps, games, books, and blog articles. He is the founder of Game Code School.

Other books by the authors

Suggestions and Feedback

Click here if you have any feedback or suggestions.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap