Last year I was working on a big RPG project as part of my studies. It looked great but didn't run so well on the ps4 dev kit. After a lot of tweaking I got it from a pretty stuttery frame rate to something smooth. This guide will tell you how I did it.
Line Saving Code Tips – C#
Reducing lines of code can make your work more readable, making it easier for you and for others to read. More lines means more mental gymnastics to decipher which part of code does what. I want to go over some tips and tricks that helpd me.
How To Get Game Objects With A Specific Script Attached – Unity C#
If you've ever wanted to grab all of the game objects in your Unity scene with a specific script attached and refer to them in your code, it's quite straight forward. You can also get a single game object the same way.
How To Get All Of An Object’s Children – Unity C#
If you've ever wanted to get all of the children attached to a Unity GameObject and turn them into an array, there is a simple way to do it. This tutorial shows you how to do it in simple C# code.
How to loop through Undordered Maps C++
This article explains how to loop through undordered maps in C++ and assumes you know what an unordered map is. We will use a range-based for loop, also sometimes referred to as a for each loop.
How to do Gravity in Puzzle Script
Typically PuzzleScript is used to make top down Sokoban games, like I did with Puzzledorf, but you can in fact emulate some of the elements of side-scrollers, albeit with the limited rules of puzzle script, in that it is still turn based. This tutorial will cover how to make gravity. Puzzledorf I did a bit... Continue Reading →
How to do Animation in PuzzleScript
PuzzleScript is great fun, but wouldn't it be nice to know how to animate with it? Well, now you can with this tutorial. I also introduce the 'again' keyword, which is crucial for PuzzleScript success.
Send Strings across BitStream and RakNet
RakNet is a C++ networking engine to help you write multiplayer games. BitStream is a method for converting data such as variables into bytes to send out across the network. This article looks at how to send strings across a network from one client to the other, because it's not as simple as just sending an std::string. We will be looking at a special variable type.
How to do For Each Loops in C++
For Each loops, or loops that go through every element in an array, can be written two ways in C++ and Visual Studio. I will simply show you the options and explain them.
How to do For Each Loops in – Unity C#
For each loops in C# and Unity go through every element in an array or storage container and they are simple to write. Let me show you how.
