# Ongoing C++ Gameplay Example Series: Making a Survival Game

**URL:** <https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878>\
**Category:** Announcements\
**Tags:** unreal-engine\
**Created:** [March 20, 2015, 3:38pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878 "2015-03-20T15:38:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Looman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tom_looman/32/1215549_2.png) [@Tom\_Looman](https://forums.unrealengine.com/u/Tom_Looman)\
**Post date:** [March 20, 2015, 3:38pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/1 "2015-03-20T15:38:03Z")

</div>

Hi guys!

Some of you may know me from my [earlier work](http://.com) or these forums. Starting today, I am part of the Epic Games family as **Engine Content Creator**! I will be creating a small \*\*third-person survival game series in C++ \*\*as my first community project. are the details:

The series will be split up in 6 sections, released individually every 2 weeks. You can follow along with the source code through a [public repository on Github](https://github.com//EpicSurvivalGameSeries).

You’ll learn about the game framework, how to deal with physics, materials, ray-casting, casting, replication, and many more concepts that have been covered in Blueprint countless times, but this time it will all be done in C++! Blueprint is still part of the series however! You will learn how to combine C++ and BP in your project and how to expose your code to be extended by Blueprint.

The game will be a third-person survival game focusing on familiar mechanics from games in this genre. This includes weapons, hunger/thirst and movable traps / barriers to build your defences. The series will cover networking, so at the end of the series you and a friend can hop on the game together and hunt down some zombies! More details on the project will come with each released section!

 ![5e68a218fd55d38aa1ae7815fd4d568cec3c1719.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/6/5e68a218fd55d38aa1ae7815fd4d568cec3c1719.jpeg)

 ![4e15090d6f66e6ff0510bd95fed2b15b7537bb98.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/1/4e15090d6f66e6ff0510bd95fed2b15b7537bb98.jpeg)

Each section will be announced on the forums through a new thread, you are free to ask questions every time a new section is released.

- are the links to each section
- 

**[Section 1](https://wiki.unrealengine.com/Survival_Sample_Game:_Section_1)** - This section sets up the third person character movement with animation, object interaction, simple hunger system, all with networking support.  
**[Section 2](https://wiki.unrealengine.com/Survival_Sample_Game:_Section_2)**

- Adds weapon support for the character, a flashlight, UT-style inventory with on-character visual representation of the carried items and deals with damage, death and respawns for players.  
**[Section 3](https://wiki.unrealengine.com/Survival_Sample_Game:_Section_3)**
- Introduces AI with PawnSensing and Behavior Trees.  
**[Section 4](https://wiki.unrealengine.com/Survival_Sample_Game:_Section_4)**
- Introduces a gameloop with enemies, items, scoring and a time of day.  
**[Section 5](https://wiki.unrealengine.com/Survival_Sample_Game:_Section_5)**
- Discusses a few practical examples on networking the game. Adds support to move around objects in the world  
**[Section 6](https://wiki.unrealengine.com/Survival_Sample_Game:_Section_6)**
- In the sixth and for now final section of the series we’ll apply a coat of polish to the game, including improved AI behavior, zombie sound FX and bug fixes.

**If you have questions and/or feedback, let me know in this thread! Hope you guys are as excited about this series as I am!**

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [March 20, 2015, 3:45pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/2 "2015-03-20T15:45:21Z")

</div>

and Congrats for being part of Engine Content Creator!! 😃 😃

---

<div class="post-metadata">

**Author:** ![Erasio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Erasio](https://forums.unrealengine.com/u/Erasio)\
**Post date:** [March 20, 2015, 4:16pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/4 "2015-03-20T16:16:24Z")

</div>

First of all congrats! I can hardly imagine how it has to be for you right now 😃

I do have a small question about this format. Every two weeks but this is supposed to be a video tutorial type of series right? Because that would certainly be and quite a bit more interesting that the current sample games. No doubt those are cool as well but to really follow something like this step by step is a great way to help people who have the basics down but need some kinds of guide on how to approach a project.  
With this in mind I would like to see this started with some kind of “goals” or todos… basically the game design document. What is the gameplay supposed to be and which parts are important? So people are able to follow everything. Not just the step by step decisions but also the abstract mechanics which are supposed to be implemented and how you get from those to finished mechanics.

To finish my quick statement. It sounds like a great step forward to get people to understand UEs structure and the follow along sounds great! I thought exactly the same about the recent temple run game series on youtube. That was just great!

---

<div class="post-metadata">

**Author:** ![ChrisTm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChrisTm](https://forums.unrealengine.com/u/ChrisTm)\
**Post date:** [March 20, 2015, 5:45pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/5 "2015-03-20T17:45:17Z")

</div>

Hello ,

Congrats ! Very cool project but the series can be followed by c ++ beginner ?

Thank

---

<div class="post-metadata">

**Author:** ![NickEast](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nickeast/32/468669_2.png) [@NickEast](https://forums.unrealengine.com/u/NickEast)\
**Post date:** [March 20, 2015, 5:48pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/6 "2015-03-20T17:48:51Z")

</div>

This is very interesting. I will surely follow this, as I’m very much interested in learning C++ with Unreal Engine.

---

<div class="post-metadata">

**Author:** ![Mhousse1247](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mhousse1247](https://forums.unrealengine.com/u/Mhousse1247)\
**Post date:** [March 20, 2015, 5:55pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/7 "2015-03-20T17:55:01Z")

</div>

Congrats ! waiting forward for this

---

<div class="post-metadata">

**Author:** ![Nachtmahr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nachtmahr](https://forums.unrealengine.com/u/Nachtmahr)\
**Post date:** [March 20, 2015, 6:00pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/8 "2015-03-20T18:00:11Z")

</div>

Will definitly keep an Eye on this one! C++ knowledge always welcome. And Congrats 😜

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0df12f74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0df12f74](https://forums.unrealengine.com/u/anonymous_user_0df12f74)\
**Post date:** [March 20, 2015, 6:01pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/9 "2015-03-20T18:01:13Z")

</div>

Wow, congratulations ! Looking forward to the tutorials, will be great to see some new C++ examples! 🙂

---

<div class="post-metadata">

**Author:** ![InTheShadows](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@InTheShadows](https://forums.unrealengine.com/u/InTheShadows)\
**Post date:** [March 20, 2015, 6:03pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/10 "2015-03-20T18:03:00Z")

</div>

This is ! Congrats. I will certainly be following this 😃

---

<div class="post-metadata">

**Author:** ![jeeb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jeeb](https://forums.unrealengine.com/u/jeeb)\
**Post date:** [March 20, 2015, 6:09pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/11 "2015-03-20T18:09:19Z")

</div>

! Everything you do in Unreal seems so clean and correct. Very excited for this.

---

<div class="post-metadata">

**Author:** ![Omar\_Vector](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omar\_Vector](https://forums.unrealengine.com/u/Omar_Vector)\
**Post date:** [March 20, 2015, 6:10pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/12 "2015-03-20T18:10:15Z")

</div>

That’s , But please, check the API correctly, Last C++ tutorial I suffered bec. of the Build version difference

Love you all 😃 \<3

---

<div class="post-metadata">

**Author:** ![Cadaresien](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cadaresien](https://forums.unrealengine.com/u/Cadaresien)\
**Post date:** [March 20, 2015, 6:17pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/13 "2015-03-20T18:17:28Z")

</div>

Congratulations ! It’ll be very interesting C++ journey. Can’t wait and I hope there will be video tutorials. I will follow for sure.

---

<div class="post-metadata">

**Author:** ![Tom\_Looman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tom_looman/32/1215549_2.png) [@Tom\_Looman](https://forums.unrealengine.com/u/Tom_Looman)\
**Post date:** [March 20, 2015, 6:25pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/14 "2015-03-20T18:25:15Z")

</div>

> [@;252490](#):
>
> Hello ,
> 
> Congrats ! Very cool project but the series can be followed by c ++ beginner ?
> 
> Thank

That is definitely the intention. It’s not going to be a step-by-step, but I’ll try to make the code as straight forward as possible, adding comments to explain the concepts and documentation will be available to further explain the reasoning behind certain coding concepts etc.

---

<div class="post-metadata">

**Author:** ![Tom\_Looman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tom_looman/32/1215549_2.png) [@Tom\_Looman](https://forums.unrealengine.com/u/Tom_Looman)\
**Post date:** [March 20, 2015, 6:28pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/15 "2015-03-20T18:28:05Z")

</div>

> [@Omar Vector;252525](#):
>
> That’s , But please, check the API correctly, Last C++ tutorial I suffered bec. of the Build version difference
> 
> Love you all 😃 \<3

Right! This is definitely something that requires maintenance! The C++ API has been changing with each version, my own C++ tutorial requires an update with I hope to resolve very soon! Thanks for letting me know.

---

<div class="post-metadata">

**Author:** ![ColaGGS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ColaGGS](https://forums.unrealengine.com/u/ColaGGS)\
**Post date:** [March 20, 2015, 6:30pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/16 "2015-03-20T18:30:50Z")

</div>

Congrats! This is amazing news for newbies in ue4 api like me 🙂 Thx for covering this. It is much appreciated!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d829b65b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d829b65b](https://forums.unrealengine.com/u/anonymous_user_d829b65b)\
**Post date:** [March 20, 2015, 6:36pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/17 "2015-03-20T18:36:04Z")

</div>

Hell yeah! Cannot wait for this 🙂

---

<div class="post-metadata">

**Author:** ![Devero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Devero](https://forums.unrealengine.com/u/Devero)\
**Post date:** [March 20, 2015, 6:42pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/18 "2015-03-20T18:42:36Z")

</div>

, I have a feeling this will be a great resource especially with the talent behind it! =)

Following!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d6e21bca](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d6e21bca](https://forums.unrealengine.com/u/anonymous_user_d6e21bca)\
**Post date:** [March 20, 2015, 6:52pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/19 "2015-03-20T18:52:33Z")

</div>

Yeah! ! I’m really happy for you 😉

---

<div class="post-metadata">

**Author:** ![neryun](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neryun/32/722041_2.png) [@neryun](https://forums.unrealengine.com/u/neryun)\
**Post date:** [March 20, 2015, 6:56pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/20 "2015-03-20T18:56:07Z")

</div>

Congrats man you deserve it with all what you are doing at such a high quality!

---

<div class="post-metadata">

**Author:** ![Tom\_Looman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tom_looman/32/1215549_2.png) [@Tom\_Looman](https://forums.unrealengine.com/u/Tom_Looman)\
**Post date:** [March 20, 2015, 7:08pm UTC](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878/21 "2015-03-20T19:08:19Z")

</div>

Thanks guys! I’ll do my best to make this something Epic! 🙂

[Next page](https://forums.unrealengine.com/t/ongoing-c-gameplay-example-series-making-a-survival-game/24878.md?page=2)
