Wiki Code Tutorials

[FONT=Comic Sans MS]Featured Tutorial

Print Messages to yourself during runtime!

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 :slight_smile:

https://wiki.unrealengine./Logs,_Printing_Messages_To_Yourself_During_Runtime#Logging_message_to_the_screen

[FONT=Comic Sans MS]Featured Tutorial

Algorithm Analysis: Create Directory Recursively!

https://wiki.unrealengine./Algorithm_Analysis:_Create_Directory_Recursively


[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

Thanks !

The Entry Level Guide to UE4 C++ ( 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 !

[=Doublezer0;21156]
Thanks !

The Entry Level Guide to UE4 C++ ( 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!

:slight_smile:

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

https://wiki.unrealengine./Multi-Threading:_Task_Graph_System

My new Wiki tutorial on Multi-threading!

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


**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

[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./Multi-Threading:_How_to_Create_Threads_in_UE4

bump Multi threading 4 you!

https://wiki.unrealengine./Multi-Threading:_How_to_Create_Threads_in_UE4

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

https://wiki.unrealengine./Multi-Threading:_Task_Graph_System

My new Wiki tutorial on Multi-threading!

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

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

https://wiki.unrealengine./Entry_Level_Guide_to_UE4_C%2B%2B

Entry Level Guide to C++

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

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

Youā€™re welcome!

:heart:

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!

[=;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!

:slight_smile:

[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./Solus_C%2B%2B_Tutorials#Solus_Options_Menu:_Screen_Resolutions

[=;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./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.

[= ;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!

:slight_smile:

[=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.

[=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!

:slight_smile:

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. *