# Wiki Code Tutorials

**URL:** <https://forums.unrealengine.com/t/wiki-code-tutorials/256>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [March 20, 2014, 9:39pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256 "2014-03-20T21:39:34Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 19, 2014, 3:11am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/103 "2014-04-19T03:11:50Z")

</div>

**[FONT=Comic Sans MS]Featured Tutorial**

**[Print Messages to yourself during runtime!](https://wiki.unrealengine./Logs,_Printing_Messages_To_Yourself_During_Runtime)**

[https://wiki.unrealengine](https://wiki.unrealengine)./Logs,\_Printing\_Messages\_To\_Yourself\_During\_Runtime

**I would like to thank JohnFlux** for adding the section for on-screen debugging, I used it myself recently when logs and clientmessaging where both not options but I still had access to GEngine 🙂

[https://wiki.unrealengine](https://wiki.unrealengine)./Logs,\_Printing\_Messages\_To\_Yourself\_During\_Runtime#Logging\_message\_to\_the\_screen

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 20, 2014, 7:25am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/104 "2014-04-20T07:25:40Z")

</div>

**[FONT=Comic Sans MS]Featured Tutorial**

**[Algorithm Analysis: Create Directory Recursively!](https://wiki.unrealengine./Algorithm_Analysis:_Create_Directory_Recursively)**

[https://wiki.unrealengine](https://wiki.unrealengine)./Algorithm\_Analysis:\_Create\_Directory\_Recursively

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 21, 2014, 9:56pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/105 "2014-04-21T21:56:35Z")

</div>

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/7/b0718b08ac25925300211b2c46010e22dc7d75b6.jpeg)  
**[FONT=Comic Sans MS]800+ Line Complete HUD Sample Class**

**[Complete Sample HUD Class, Tooltips, Custom Cursor, Transparent HUD Elements, DrawMaterial, Buttons!](https://wiki.unrealengine./HUD,_Canvas,_Entire_Class_Sample,_Create_Buttons_%26_Draw_Materials)**

[https://wiki.unrealengine](https://wiki.unrealengine)./HUD,\_Canvas,\_Entire\_Class\_Sample,_Create\_Buttons_%26\_Draw\_Materials

---

<div class="post-metadata">

**Author:** ![Doublezer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Doublezer0](https://forums.unrealengine.com/u/Doublezer0)\
**Post date:** [April 21, 2014, 10:14pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/106 "2014-04-21T22:14:30Z")

</div>

Thanks !

The Entry Level Guide to UE4 C++ ( [https://wiki.unrealengine./Entry\_Level\_Guide\_to\_UE4\_C%2B%2B](https://wiki.unrealengine./Entry_Level_Guide_to_UE4_C%2B%2B) ) is a godsend.

I have been programming (or you could say scripting) for 15 years but never learned C++. I was fairly comfortable with Unrealscript but the switch to C++ has been a nightmare for me. Lost at the first step. entry level guide was a great way to learn how to reference and point to instantiate a memory optimised reference to code. Something I have done a million times yet never in C++.

The wiki is now a staple of my favourites. Thanks again !

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 22, 2014, 4:13am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/107 "2014-04-22T04:13:39Z")

</div>

[=Doublezer0;21156]  
Thanks !

The Entry Level Guide to UE4 C++ ( [https://wiki.unrealengine./Entry\_Level\_Guide\_to\_UE4\_C%2B%2B](https://wiki.unrealengine./Entry_Level_Guide_to_UE4_C%2B%2B) ) is a godsend.

I have been programming (or you could say scripting) for 15 years but never learned C++. I was fairly comfortable with Unrealscript but the switch to C++ has been a nightmare for me. Lost at the first step. entry level guide was a great way to learn how to reference and point to instantiate a memory optimised reference to code. Something I have done a million times yet never in C++.

The wiki is now a staple of my favourites. Thanks again !  
[/]

Yay! I am glad you enjoy my UE4 C++ Intro tutorial!

I tried to be really creative with that one!

🙂

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 22, 2014, 4:14am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/108 "2014-04-22T04:14:10Z")

</div>

**[FONT=Comic Sans MS]Multi-Threading Wiki Tutorial**

[https://wiki.unrealengine](https://wiki.unrealengine)./Multi-Threading:\_Task\_Graph\_System

**[My new Wiki tutorial on Multi-threading!](https://wiki.unrealengine./Multi-Threading:_Task_Graph_System)**

I am happy to announce I figured out how to use the UE4 Task Graph System to do multi-threading!

```auto

**Video: First 50,000 Prime Numbers Being Calculated...

   While Game Thread Continues!**

Here's a video of my game calculating the first 50,000 prime numbers while I continue to play around in the game thread!

!

:)

I am sending myself feedback on the thread as each prime number gets calculated in the other threads, could be turned into a fully operational incremental progress meter!

https://youtube./watch?v=cgELOodtoSU

```

**Comparing Results**

You can compare my in-game computed results displayed in the player console to web page of the first 50,000 prime numbers!

[http://www.cs.arizona.edu/icon/oddsends/primes.htm](http://www.cs.arizona.edu/icon/oddsends/primes.htm)

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 23, 2014, 6:38am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/109 "2014-04-23T06:38:58Z")

</div>

[FONT=Comic Sans MS] **Actual Multi Threading for Large Tasks**

is a tutorial on creating actual new threads that will run until they are requested to stop!

To put in perspective, the entire Render Thread is one such thread, as I am showing you how to create below!

I had great performance gains from creating an actual thread to compute the first 50,000 prime numbers. My fps stayed at solid 90 (my personal chosen max) the whole time!

[https://wiki.unrealengine](https://wiki.unrealengine)./Multi-Threading:\_How\_to\_Create\_Threads\_in\_UE4

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 24, 2014, 12:27am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/110 "2014-04-24T00:27:37Z")

</div>

bump Multi threading 4 you!

[https://wiki.unrealengine](https://wiki.unrealengine)./Multi-Threading:\_How\_to\_Create\_Threads\_in\_UE4

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 24, 2014, 11:41pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/111 "2014-04-24T23:41:00Z")

</div>

**[FONT=Comic Sans MS]Yay for Multi-Threading!!!**

[https://wiki.unrealengine](https://wiki.unrealengine)./Multi-Threading:\_Task\_Graph\_System

**[My new Wiki tutorial on Multi-threading!](https://wiki.unrealengine./Multi-Threading:_Task_Graph_System)**

[https://youtube](https://youtube)./watch?v=cgELOodtoSU

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 28, 2014, 2:06am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/112 "2014-04-28T02:06:05Z")

</div>

**[FONT=Comic Sans MS]Entry Level Guide to C++**

[https://wiki.unrealengine](https://wiki.unrealengine)./Entry\_Level\_Guide\_to\_UE4\_C%2B%2B

**[Entry Level Guide to C++](https://wiki.unrealengine./Entry_Level_Guide_to_UE4_C%2B%2B)**

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a51b192](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a51b192](https://forums.unrealengine.com/u/anonymous_user_3a51b192)\
**Post date:** [April 28, 2014, 10:26pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/113 "2014-04-28T22:26:58Z")

</div>

Just awesome, I will definitely dive into . Thank you!

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 29, 2014, 10:11am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/114 "2014-04-29T10:11:37Z")

</div>

[=SeA#;24644]  
Just awesome, I will definitely dive into . Thank you!  
[/]

You’re welcome!

❤

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e6ea60f51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e6ea60f51](https://forums.unrealengine.com/u/anonymous_user_e6ea60f51)\
**Post date:** [April 30, 2014, 4:28pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/115 "2014-04-30T16:28:26Z")

</div>

I feel like it would be a crime to follow your tutorials without coming here and thanking you!

Great job, is exactly what was needed for a lot of the UE4 adopters. Keep up the incredible work!

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [May 1, 2014, 6:12am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/116 "2014-05-01T06:12:44Z")

</div>

[=;25490]  
I feel like it would be a crime to follow your tutorials without coming here and thanking you!

Great job, is exactly what was needed for a lot of the UE4 adopters. Keep up the incredible work!  
[/]

Hee hee!

Thanks for your message!

🙂

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [May 2, 2014, 6:40pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/117 "2014-05-02T18:40:34Z")

</div>

**[FONT=Comic Sans MS]New Solus Project Tutorial**

**Get All Supported Screen Resolutions**

Full source code for getting a list of all screen resolutions supported on the End User’s Computer:

[https://wiki.unrealengine](https://wiki.unrealengine)./Solus\_C%2B%2B\_Tutorials#Solus\_Options\_Menu:\_Screen\_Resolutions

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [May 2, 2014, 11:05pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/118 "2014-05-02T23:05:08Z")

</div>

[=;26551]  
**[FONT=Comic Sans MS]New Solus Project Tutorial**

**Get All Supported Screen Resolutions**

Full source code for getting a list of all screen resolutions supported on the End User’s Computer:

[https://wiki.unrealengine](https://wiki.unrealengine)./Solus\_C%2B%2B\_Tutorials#Solus\_Options\_Menu:\_Screen\_Resolutions  
[/]

Great work. I love these Solus tutorials! It’s all very applicable and useful for so many types of games.

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [May 3, 2014, 3:37pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/119 "2014-05-03T15:37:23Z")

</div>

[= ;26648]  
Great work. I love these Solus tutorials! It’s all very applicable and useful for so many types of games.  
[/]

Thank you !

So nice to hear from you!

🙂

---

<div class="post-metadata">

**Author:** ![VegasRich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VegasRich](https://forums.unrealengine.com/u/VegasRich)\
**Post date:** [May 5, 2014, 7:44pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/120 "2014-05-05T19:44:37Z")

</div>

[=Agentleo;9937]  
:rolleyes:  
The point that the information is available on web really isn’t valid. At the least you could add an additional information section. I just believe if your audience is beginner C++ programmers you need to educate them more on the CS aspect of things.  
[/]

If you’re a C++ beginner I’d opine that a full game engine is the wrong place to be cutting your teeth. Get a programmer to set some blueprints up for you and call it a day.

If you’re interested in learning C++ there are literally hundreds of books and web tutorials on the subject - adding a C++ primer to each UE4 tutorial is _beyond_ redundant. And I’m not sure how the author is supposed to know what parts of the tutorial any given reader will need help with…

I thought about apologizing for being “mean,” but then I realized I don’t really care. I guess the term “tutorial” makes too many people feel like it should cover any question they happen to think of when reading one.

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [May 6, 2014, 6:19pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/121 "2014-05-06T18:19:59Z")

</div>

[=VegasRich;27738]  
adding a C++ primer to each UE4 tutorial is _beyond_ redundant. And I’m not sure how the author is supposed to know what parts of the tutorial any given reader will need help with…  
[/]

Yay for the fact that we can all make our UE4 games in C++ now! One of the most well-documented languages in the world!

🙂

---

<div class="post-metadata">

**Author:** ![timconwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@timconwell](https://forums.unrealengine.com/u/timconwell)\
**Post date:** [May 7, 2014, 2:38am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/122 "2014-05-07T02:38:28Z")

</div>

Probably a great many people here, especially those coming from another engine that shall not be named, are cramming C++ like mad. (I’ve taken to calling Unreal -\> Funreal due to how often I call it the wrong name)

Anyway, been lurking here for a while now, relearning the language, asking myself dumb questions and getting hung up on simple code \*\*\*\*. Seems like every time I find a pointer towards whatever solution I’m looking for, “” is the signature at the bottom.

Just want to say how very much you rock. If game we are working on ever takes off, I’m going to find a way to send you pizza or a comfort food of your choice. So thanks, and keep being awesome.  
\*edit: the asterisk’s in my comment above made me laugh, implying a much more harsh choice of word. Ha! But apologies none the less. \*

[Previous page](https://forums.unrealengine.com/t/wiki-code-tutorials/256.md?page=5)

[Next page](https://forums.unrealengine.com/t/wiki-code-tutorials/256.md?page=7)
