You’re invited! Come to our JSON Data webinar.

Do you want IN on the Number 1 way of transferring data? Join programming expert Nimish Narang for a 1-hour session on how to work with JSON. Register here for just 10 dollars.

Why JSON?

JSON (JavaScript Object Notation) is a data format commonly used to store and exchange data. Because it is so user-friendly, most iOS apps (including Facebook and Twitter!) send data to their web services in JSON format.

Here’s what you’ll learn:

– How to parse incoming JSON data to be used in Xcode projects
– How to make URL requests

But wait, there’s MORE! If you enroll in this webinar, you’ll get 2 FREE courses from Mammoth Interactive. First, you’ll get our NEW Introduction to SpriteKit course, where you learn how to build 3 games in SpriteKit. Second, you’ll get our 77-hour course on how to build virtual reality games with Blender and Unity3D!

Reserve your spot today for just 10 dollars.

Learn Unreal with our new book series 📖

It’s that time of year… we at Mammoth Interactive have published new books! Available in both Paperback and eBook format, check out “Introduction to Unreal” and its sequel “Build 6 Games in Unreal.”

The Unreal Engine is a powerful program for building games. Learn how to navigate the Unreal editor by building a Coin Collector game!

First we set up the Coin Collector game’s design in Unreal. You learn how to position a camera in a game so that the user sees the game from your desired viewpoint. We make Blueprints to save objects. We give shape and color to the characters and objects in the game.

A sneak preview of the Paperback edition.

A sneak preview of the Paperback edition.

Then we use C++ scripts to give the game custom functionality. You learn how to process collisions and keep track of the number of times two objects collide. We make a coin disappear when the player touches it. We add a text box to the game to display the score. As well, we enable the player to restart the game with a hotkey.

By the end of this book, you know how to create a game from scratch that responds to user input through keyboard controls.

 

Learn how to navigate the Unreal editor while building 6 basic games. This book is an extension of “Introduction to Unreal.”

A sneak preview of the eBook edition.

A sneak preview of the eBook edition.

We make the following games:

  • Coin Collector Game
  • Shooter Game
  • Platform Switcher Game
  • First Person Shooter Game
  • Turret Game
  • Runner Switcher Game

Both of these books make creating your own game easy and efficient. You learn both the coding and artistic sides to game development. As such, you gain a unique perspective that is familiar with the different skills needed to make a game. Grab your copy today. 📖

 

You’re invited! Come to our SpriteKit webinar.

Do you want to make 2D games for Apple products? Join master programmer Nimish Narang for a 1-hour webinar on how to navigate the SpriteKit framework. Register here for just 10 dollars.

Why SpriteKit?

SpriteKit is THE framework for making 2D games for Apple products. It’s free! You can make cool games, from super simple to more complex, in SpriteKit. SpriteKit provides support for cool special effects and physics. It’s a fun interface to express your creativity. Before you know it, you could see a game you built in SpriteKit in the App Store!

Here’s what we’ll do:

– Learn the basics of scenes, nodes, actions, and physics bodies in Xcode’s game engine
– Put all the concepts together to make the simple version of a classic game for iOS

But wait, there’s MORE! If you enroll in this webinar, you’ll get 2 FREE courses from Mammoth Interactive. First, you’ll get our NEW Introduction to SpriteKit course, where you learn how to build 3 games in SpriteKit. Second, you’ll get our 77-hour course on how to build virtual reality games with Blender and Unity3D!

Have fun, and learn something new. Reserve your spot today for just 10 dollars.

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.

 

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.