Being a coder isn’t just about coding.

We’re excited to announce our new Kickstarter: Complete Guide to Self-Promotion for Techies and Startups. We need your help to make a course that teaches coders soft skills. ‘Soft skills’ include teamwork, communication and management skills.

If you want to start your own coding business, there’s much more to it than the technical aspects of the job.

We want to teach coders how to stand out in the tech industry and successfully start their own business. Even if you don’t want to make your own company, this course will teach you skills that will make you invaluable wherever you work.

We’ve identified 6 key topics that can strengthen the core of your coding business:

  • The psychology of entrepreneurship
  • Fusing soft skills and software development
  • The code of human interaction
  • The art of persuasion
  • Expanding creativity
  • Mastering team dynamics

We don’t believe in hypotheticals.

Our course will provide you with practical examples of issues you’ll face in the coding industry. We based our curriculum on proven psychological methods and on our experiences in the coding industry.

If you take this course, you will become part of a community of students supported by us. You’ll go from talented coder to business champion. Visit our Kickstarter’s page to get involved.


THE Habit of Highly Effective Coders

A good coder is good because they code.

“I never took a day off in my twenties,” says Bill Gates. “Not one.”

The number 1 way to get better at anything is to practice. It doesn’t matter if you do it wrong. As long as you do it.

Suppose you want to improve your typing speed. Typing fast and not worrying about making mistakes is the best way to improve your average speed over time. (Rather than being careful to spell everything correctly and take your time.)

At first, you’ll make tons of mistakes while typing at faster than your comfortable speed. But over time, you’ll make fewer mistakes. You have to push past your comfort level in order to raise it.

Making mistakes is the #1 way to learn.

Instead of copying and pasting, write code out yourself. Though it may be harder, understanding what you’re doing is how you truly learn. 

The tech field changes constantly. Technology innovates faster and faster day by day. The truth is, to be a developer, you have to keep learning. You can’t just get a degree in computer science and expect to use what you learned and nothing else for the rest of your life.

You have to be willing to continue to expand your skill set.

Lucky for you, that’s good for your brain. Your mind (and resume) will thank you for it.

New coding languages become the rage every year, and they’re all competing for the top spot. Just like you as a developer.

The greats didn’t become great overnight. Everyone was a beginner once. You can have some natural talent, sure, but you can’t expect to become great over that alone. Success takes work.

And don’t worry, there are tons of resources that make it easy for you to keep up with the newest releases and what’s in demand in the field. (Such as Mammoth Interactive’s courses).


Creating a C++ Script | Unreal Tutorial

Scripts are so important when it comes to making a game in Unreal. For an in-depth lesson on Unreal, consider enrolling in Mammoth Interactive’s Unreal course

If you want to add a player to your game, you need to write code to give the player its own behavior. Default modes contain logic from Unreal. To create a new mode with custom behavior, you need to write a script.

Go to C++ Classes > CoinCollector in the Content Browser. Right-click in the Content Browser. Select “New C++ Class”.

Select “Pawn” from the “Choose Parent Class” to extend a pawn. With the Pawn class, the mode to be able to receive input from the player. The player will be able to move the mode.

Press Next. Name the pawn “HeroController”. Our player to be a hero who collects coins. Press “Create Class”. Unreal will create the script. Note that it does take some time for Unreal to create or compile a script.

We will enable HeroController to move based on user input. When the code compiles, you can open Xcode to view the files of the script if you are on a Mac. If you do not own Xcode, you can download it from the App Store. Xcode is a free program that you can use to write code.

If you are using Windows, you can use Visual Studio to write your code. Visual Studio should already be on your computer.

The Files of a C++ Script

Two files will open with the script: HeroController.h and HeroController.cpp. These are two different files for a single class. .h files are header files. They are used to list variables and methods in a class.

.cpp files are implementation files. They are used to implement those methods and variables. HeroController.cpp contains the implementation of HeroController’s behavior.

We will begin coding in HeroController.h. Some default code is already in the file. class COINCOLLECTOR_API AHeroController : public creates the class. Then there are five public functions:

  • The ACoinController function is a constructor. ACoinController is called when the script loads (when the object is created).
  • BeginPlay is a function that is called when the game starts (after the constructor and internal processes complete). A function performs a method or operation. You can use functions to set the behavior of an object.
  • Tick is a function that is called every frame (every time the game is processed by your computer, smartphone, or console).
  • SetupPlayerInputComponent is a function that is called to configure the input. Whenever we want to make HeroController move left, right, top, or bottom, we need to register the input bindings in this function.

Note that typing // in front of a line turns the code into a comment, which is not read by the compiler. You can use comments to organize code.

To learn how to build 6 games in Unreal, enroll in our Unreal course.

Implementing a Button | Unity Tutorial

In virtual reality (VR) games, one of the few interactions a player can make is press a button by looking at it. In this tutorial, we will implement the button we made in our previous Unity tutorial.

If you are a beginner and want to learn how to build virtual reality games, check out our Unity3D course!

There are two ways to interact with the button. Both ways involve looking (the looking logic). We need to understand how to identify the button. To do this, we will perform raycasting.

To draw an image, Main Camera throws rays in multiple directions to find pixels to draw. We will use the ray that shoots forward in the direction the camera is facing. If the ray flying from the camera touches an object, we will identify the object.

Rename Main Camera “Player” because the player will look through the lens of the camera. We can treat the camera as the eyes of the player. Create a C# script in Assets. Name the script “Player”. Drag and drop the Player script to “Player” in the Hierarchy.

Double-click on the Player script to open it. Type the following code in the Update method in Player.cs. This code declares the local variable hit of type RaycastHit.

public class Player : MonoBehaviour {
// Use this for initialization
void Start () {


// Update is called once per frame
void Update () {
Raycast hit;

hit is a local variable because we declared it in one function. You can only call a local variable within its function. If you know you are only going to use a variable in one function, declare it as a local variable.

If you declare a variable in a class outside of a function, you can use the variable throughout the functions in the class. These variables are global.

If you hover over “RaycastHit”, you can read that if your raycast hits an object, the object will be stored in hit, along with other details.

Create the following if block, which calls the Raycast method from the Physics class.

// Update is called once per frame
void Update () {
Raycast hit;

if (Physics.Raycast()) {


We need to pass three parameters to perform the raycast:

1. We need to pass the origin of the raycast. We want the ray to come from the exact position of the camera. transform.position is the position of Player.

// Update is called once per frame
void Update () {
Raycast hit;

if (Physics.Raycast(transform.position)) {


2. We need to pass the direction of the ray. transform.forward refers to the direction of the blue arrow. transform.forward always points forward even when the camera rotates.

// Update is called once per frame
void Update () {
Raycast hit;

if (Physics.Raycast(transform.position, transform.forward)) {


3. We need to pass where we will save the hit information if there is a hit. We will store the information in the hit variable.

// Update is called once per frame
void Update () {
Raycast hit;

if (Physics.Raycast(transform.position, transform.forward, out hit)) {


The if block’s condition will return true when the raycast hits something. In this case, we will use the hit variable. The condition will return false when the raycast does not hit anything. hit will not store a value, so we will not use it.

If the condition returns true, use the following code to print the name of the object the raycast hit.

// Update is called once per frame
void Update () {
Raycast hit;

if (Physics.Raycast(transform.position, transform.forward)) {
Debug.Log (;

Save the script, and open Unity. Press Play. Press Alt/Option, and move the cursor until the crosshair is on top of Button. The console will print the message “Button” constantly because every time the Update method is called, it sees that we are looking at the button, and it prints the message.

Save your project. Want to learn more about buttons? Check out our Unity3D course, where you build 30 virtual reality games!

New eBook Release! Ultimate iOS 10, Xcode 8 Development Book

Want to learn how to build an app from scratch using Xcode? The Ultimate iOS 10, Xcode 8 Development Book by Mammoth Interactive is now available as an eBook! Get it here for only 25.99.

This eBook takes you step by step through designing, coding, and testing different iOS applications. The code is easy to follow along with. The eBook’s numerous screenshots ensure that no rner is left behind.

The Ultimate iOS 10, Xcode 8 Development Book contains 3 parts:

1. Playground – In Part 1, you learn the foundations of Xcode using Swift 3.0’s Playground. The Playground is the perfect place to test code in real-time. We use the Playground to introduce coding topics like variables, functions, and loops.

2. UI Elements – Apps are made up of User Interface (UI) elements. In Part 2, you create Projects to test common UI elements, including labels, buttons, and text fields. With code, you learn to implement the objects to give them functionality.

3. Example Apps – In Part 3, we create functioning apps. To build an app, we design its layout and implement its functionality. You learn how to test your apps by running them in the Simulator.

Get the eBook here today!