vidgrids.com : Online Video Search & Discovery Engine :

Prime31studios Videos

CharacterController2D
CharacterController2D

In this video we go over some of the basics of Unity's new 2D system. At the same time we learn how to setup and use the open source CharacterController2D.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Unity Cg Shaders Part 6: Specular Highlights
Unity Cg Shaders Part 6: Specular Highlights

In this tutorial we expand on the vertex lit shader we made in part 5 adding specular highlights. We start to learn the details of what will be necessary for point lights and the ambient lighting contribution is also taken into account.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

P31RestKit JSON Encode and Decode of Classes
P31RestKit JSON Encode and Decode of Classes

The P31RestKit.dll that come with all of our plugins has quite a few hidden goodies. A JSON parser that can handle encoding and decoding classes is one of them. This video shows how to take any class and save it as JSON and then recreate the class from the saved JSON.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Caliber Advantage Unity Plugin Demo
Caliber Advantage Unity Plugin Demo

Short demo showing the Zagg Caliber Advantage controller connecting to an iPad Mini Unity app.

More info about the Caliber Advantage can be found here: http://zagg.com/ifrogz/caliber/advantage

Developers can sign up to get the SDK/plugin here: http://zagg.com/ifrogz/caliber/developers

Sharing Code Between Projects with Unity
Sharing Code Between Projects with Unity

After hearing that there are tons of Unity users who share code between projects by just copying files from one project to another I decided to make a video tutorial showing how to pull off code sharing in a sustainable fashion. The video shows 2 different ways to create DLL's to facilitate sharing code between multiple projects in a way that doesn't make me cringe at the horror of copying files around.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

prime[31] Plugin Manager in Action
prime[31] Plugin Manager in Action

Our plugins have come with a Plugin Manager that lets you download any plugin you have purchased right from Unity. This video shows where it is and how it works.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Unity Cg Shaders Part 5: Diffuse Lighting
Unity Cg Shaders Part 5: Diffuse Lighting

In this lesson we implement lighting! We learn about the almighty N dot L and implement a very efficient, single directional, vertex lit shader.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Fun with Shaders and Physics
Fun with Shaders and Physics

Quick little prototype messing around with hinges, motors and configurable joints. The shaders are a simple pixellate and light weight bloom shader.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Mecanim + StateKit + Raw Mocap Data + TouchKit
Mecanim + StateKit + Raw Mocap Data + TouchKit

This video shows StateKit used in conjunction with TouchKit to control some Mecanim animations. The animations were grabbed from the Raw Mocap Data package available in the Asset Store.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

StateKit Integration with Mecanim
StateKit Integration with Mecanim

This video shows one way that the StateKit Mecanim feature can be used to control a character. A simple Mecanim state machine is used to show how StateKit integrates seamlessly with Mecanim for a super clean player controller.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Unity Cg Shaders Part 4: Dual Textures
Unity Cg Shaders Part 4: Dual Textures

In this installment we further our knowledge of Cg shaders and implement a couple dual texture shaders. As an aside, we also make a neat little vertex deformation shader.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Unity Cg Shaders Part 3: Textures
Unity Cg Shaders Part 3: Textures

In this tutorial we finally learn how to fetch and display texture data. We will make the most efficient single texture shader possible and then delve deeper into a 2-sided transparent object using multiple passes.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Unity Cg Shaders Part 2: Blending
Unity Cg Shaders Part 2: Blending

In this tutorial we delve a bit deeper into Cg shaders in Unity. If you missed part 1 you can view it here: http://youtu.be/hDJQXzajiPg We go into more detail about blend modes and render queues then learn how they affect the rendering pipeline.


Here is a link to the available blend modes in Unity: http://docs.unity3d.com/Documentation/Components/SL-Blend.html


As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Unity Cg Shaders Part 1: The Basics
Unity Cg Shaders Part 1: The Basics

This is the first in a series of tutorials on Cg shaders in Unity. My apologies for the length and humongous amount of background information in this video. I couldn't come up with a good way to introduce the information in small chunks so this video is a bit of a brain mangler. As we move forward with the tutorial series all this stuff will start to actually make sense.


Here are links to Unity's SubShader and Pass tags. Give them a quick read so that they start to get drilled into your head for future videos: http://docs.unity3d.com/Documentation/Components/SL-SubshaderTags.html http://docs.unity3d.com/Documentation/Components/SL-PassTags.html


Here is a link to the available blend modes in Unity: http://docs.unity3d.com/Documentation/Components/SL-Blend.html


As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

GoKitLite Introduction
GoKitLite Introduction

GoKitLite is GoKit's little sister. It is insanely fast and efficient but it lacks some of the advanced features that GoKit has (such as full tween control, object oriented approach, path tweens, etc). In this video we go over everything that GoKitLite can do.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Unity Editor Scripting: Menu Items and Editor Windows
Unity Editor Scripting: Menu Items and Editor Windows

In this installment we learn how to make our own menu items and then launch a custom editor window from them. We build on the vertex colorizer made in the last installment by putting it in an editor window and allowing us to apply the vertex colors to any selected GameObjects.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins All of our free, open source projects are available on GitHub: http://github.com/prime31

Unity Editor Scripting: Custom Editors
Unity Editor Scripting: Custom Editors

We dive headfirst into Unity editor scripting in this video. We will make a handy vertex colorizer that works with any mesh and is controllable via a custom editor right in the Unity inspector.

As always, you can find all of our iOS, Android and Mac plugins on our website: http://prime31.com/plugins

TouchKit New Features (formerly know as GestureKit)
TouchKit New Features (formerly know as GestureKit)

TouchKit just got even more useful. It now includes a multitouch simulator using just a mouse while in the editor, debug drawing of all hit rects, automatic retina support and more.

As always, you can find TouchKit on GitHub (https://github.com/prime31/TouchKit) along with all our other open source kits. Visit our webpage (http://prime31.com/plugins) to cover all your native code plugin needs.

TouchKit Introduction (formerly know as GestureKit)
TouchKit Introduction (formerly know as GestureKit)

TouchKit (available on GitHub https://github.com/prime31/TouchKit) aims to make touch handling in Unity more sane. Out of the box, it includes gesture recognizers for taps, presses, long touches, swipes, pans, pinches and rotations. Adding your own gesture recognizers is super easy as well. This is a quick introduction going over all the basics of TouchKit.

Be sure to check out our iOS, Android and Mac plugins here: http://prime31.com/

StateKit Introduction and Tutorial
StateKit Introduction and Tutorial

StateKit is a free, open source state machine for Unity available here: https://github.com/prime31/StateKit Gone are the days where setting up and using a state machine required a PhD. StateKit is easy to setup and adding new states is as simple as creating a new class.

In this video we show how StateKit can be used to manage a menu system. The flexibility of StateKit allows it to be useful for all kinds of tasks like managing NPCs, CharacterControllers, general game state and pretty much anything else you can think of. It is very open ended and designed to be as flexible and simple as possible.

You can find our other open source code on GitHub (prime31 user) and our Unity plugins here: http://prime31.com/unity/

Mac SocialNetworking Plugin
Mac SocialNetworking Plugin

In this video we showcase all the different ways to access Facebook and Twitter with the Mac SocialNetworking Plugin. Checkout all of our plugins here: http://prime31.com/unity/

Getting Started with a prime[31] Unity Plugin
Getting Started with a prime[31] Unity Plugin

This video will show you what we recommend you do when first downloading one of our plugins. The example shows the Mobclix Plugin but the procedure is the same for any of our plugins. For more information on the naming conventions we use for all our plugins and general information that applies to all of them visit our documentation: http://prime31.com/unity/docs/#generalDoc

As always, you can see what plugins we currently offer for iOS, Android and Mac here: http://prime31.com/unity/

Mac SocialNetworking Plugin Teaser (early prototype)
Mac SocialNetworking Plugin Teaser (early prototype)

We are getting close to releasing some new Mac plugins in preparation for the release of Mountain Lion. The two big ones are the GameCenter and SocialNetworking plugins. This video shows a very early version of the Facebook login flow which was finally made possible due to some changes Unity made to how they handle windows and events on Mac.

Check out our other plugins and watch out for it here http://prime31.com/unity

Easy Global Defines in Unity
Easy Global Defines in Unity

This is a demo of a quick and dirty editor script that makes managing project-wide global precompiler defines dead simple. You can find the script here: https://github.com/prime31/P31UnityAddOns/blob/master/Editor/GlobalDefinesWizard.cs

Don't forget to checkout some of our other vides as well: http://prime31.com/unity/docs/

Prime31 SpriteKit: 2D Sprite Atlas Editor Extension with Sprite Animation Support
Prime31 SpriteKit: 2D Sprite Atlas Editor Extension with Sprite Animation Support

Once again, we set out to reinvent the wheel. There are many sprite engines out there for Unity (commercial and free) but they all seemed way to heavy for something as simple as sprites. We set out to make our own little sprite library and after a day of coding this is what we came up with.

Current features:
- create sprite atlases by just choosing a directory of files (both SD and HD)
- automatic texture loading at runtime based on device resolution
- update sprite atlases at anytime (after adding new images for example) by clicking an update button
- add a sprite in the editor by changing two drop downs (sprite atlas chooser and then sprite image chooser)
- create a sprite animation by selecting the files in the animation and choosing a menu item
- one line of code for new sprite creation

Dynamic 2D Terrain Generation in Unity
Dynamic 2D Terrain Generation in Unity

Video showing one way to tame PhysX while creating dynamic, 2d, pixel perfect endless terrains as seen in hit games like Tiny Wings and Ski Safari. The main gist of the system we used was a three class approach:

TerrainManager: Monobehaviour responsible for requesting new terrain to be created as the camera reaches the threshold of the current terrain. It manages 2 GameObjects each of which contains a dynamic terrain. When a new terrain is needed the old one (that is now offscreen) is reused and displayed to the right of the current terrain

Terrain: responsible for creating the actual visible mesh and collision mesh. It uses data generated on the fly by the TerrainGenerator class

TerrainGenerator: stores the terrain generation algorithm (which can be modified with subclasses or on the fly via properties). Allows access via the brackets operator (generator[index]) which creates data on the fly when an out of range index is requested. This allows the Terrain to request data at will when needed without having to worry about if it is available or not.

For our full assortment of iOS, Android and Mac native code plugins checkout http://prime31.com/unity Be sure to subscribe to our channel to get updates as new videos go live!

LiveTexture Plugin Update
LiveTexture Plugin Update

Teaser for the next update of the Camera and Video Texture Plugin by prime31 (http://prime31.com/unity). This update includes the ability to playback multiple videos simultaneously with audio for one of them.

Prime31's GoKit Unity Tween Library: Getting Started
Prime31's GoKit Unity Tween Library: Getting Started

Brief tutorial showing how to get up and running with GoKit. GoKit is a high performance tween library for Unity that allows you to tween just about anything.

Some useful links: GitHub repo (http://prime31.github.com/GoKit), API reference (http://prime31.com/unity/docs/#goKitDoc), wiki (https://github.com/prime31/GoKit/wiki).

Prime31's GoKit Tween Library Visual Path Editor Demo
Prime31's GoKit Tween Library Visual Path Editor Demo

GoKit (http://prime31.github.com/GoKit/) is a free, open source animation library coming soon to Unity. This demo is of an early alpha quality build showing how the visual path editor works right in Unity.

Be sure to checkout http://prime31.com for all your Unity iOS, Android and Mac needs.

Applying actions, attributes and extension methods in a custom DLL
Applying actions, attributes and extension methods in a custom DLL

In this tutorial we take what we have learned in previous videos and apply it by making a custom DLL for use in Unity. The DLL and code allows us to strongly type the returns from the Facebook API. This same procedure can be used with any web based API that you need to consume.

Unity Mac StoreKit Plugin
Unity Mac StoreKit Plugin

Demo of prime31's Mac StoreKit Plugin. The video shows how to use our new signing tool to prepare your app for submission to the Mac App Store along with how to test in app purchases. To purchase the plugin see our site here: http://prime31.com/unity

Unity Android Large APK Downloader Plugin
Unity Android Large APK Downloader Plugin

Demo video of our upcoming Android plugin which provides an easy way to work around the Market download limit. Your games can be any size at all using this plugin. It provides a bootstrap Unity scene that you can do whatever you want with and trigger a download of your actual game data. Once the download is complete you can relaunch your game and the full game will then be available.

UIToolkit Scrollable Containers
UIToolkit Scrollable Containers

The first alpha release of scrollable containers. There are still some bugs and bouncing at the extents needs to be added but everything else is working. UIToolkit is freely available here: https://github.com/prime31/UIToolkit

Unity Coding Tips: Debugging
Unity Coding Tips: Debugging

This time we dive into some neat tricks for debugging. We cover the Conditional method attribute, precompiler directives and using MonoDevelop for true debugging. As always, if you have a suggest hit up our contact form: http://prime31.com/unity

Unity Coding Tips: Coroutine Coordinator Part 2
Unity Coding Tips: Coroutine Coordinator Part 2

In this video we will make a coroutine coordinator that will allow us to pause, unease and kill running coroutines at will.

Unity Coding Tips: Coroutine Coordinator Part 1
Unity Coding Tips: Coroutine Coordinator Part 1

In this video we will make a coroutine coordinator that will allow us to pause, unease and kill running coroutines at will.

iOS Video Texture
iOS Video Texture

Short demo of a 1280 x 720, hardware decoded video being mapped to a rotating cube using Unity. Of course I wouldn't suggest ever using a video that large on a texture. This is just for demonstration purposes to see what iOS can do. Yes, that is a bunny hopping around on the floor.

Unity Mobclix Android Plugin Integration
Unity Mobclix Android Plugin Integration

Check out how simple implementing a prime31 Android plugin is. Short and sweet, all it takes is an import and a prefab and you are on your way to the money. All of our plugins can be found here: http://prime31.com/unity

UIToolkit Introduction Part 2
UIToolkit Introduction Part 2

Runthrough on the basics of setting up the open source UIToolkit for Unity. For more info see the forum post: http://forum.unity3d.com/threads/87917-Prime31-UIToolkit-Multi-Resolution-GUI-Solution-Ready-for-Use...and-it-s-free

UIToolkitPart Introduction Part 1
UIToolkitPart Introduction Part 1

Runthrough on the basics of setting up the open source UIToolkit for Unity. For more info see the forum post: http://forum.unity3d.com/threads/87917-Prime31-UIToolkit-Multi-Resolution-GUI-Solution-Ready-for-Use...and-it-s-free

Part 2 of the video is available here: http://youtube.com/watch?v=tOh8ZmiU9RY

Prime31 Nectar Sync Sneak Peak
Prime31 Nectar Sync Sneak Peak

Nectar will allow any iDevice to wirelessly sync the saved data from an app or game with one button touch. With the proliferation of games that run on both the iPhone and iPad these days Nectar aims to let users be able to bounce back and forth between any of their iDevices and continue right where they left off. We are also considering a cloud sync for Nectar but are uncertain if it will make it into the final version.

Check out our other iOS plugins here: http://prime31.com/unity

Social Networking Plugin Facebook Integration
Social Networking Plugin Facebook Integration

Short demo showing the steps required to setup the Facebook portion of the Social Networking Plugin. This will use the new Facebook single sign on system and requires an extra step to take part in the fun.

Unity Coding Tips Part 5c: LINQ and Extensions in Action
Unity Coding Tips Part 5c: LINQ and Extensions in Action

Part 3 of applying LINQ and Extension methods to make a simple but powerful animation system. Part 2 is available here: http://youtube.com/watch?v=qCMLgSSk2xs and Part 1 is available here: http://youtube.com/watch?v=LVar0R7mpbc

Check out our other tutorials here http://prime31.com/unity/docs and for a list of our available Unity iOS plugins go here: http://prime31.com/unity/

Unity Coding Tips Part 5b: LINQ and Extensions in Action
Unity Coding Tips Part 5b: LINQ and Extensions in Action

Part 2 of applying LINQ and Extension methods to make a simple but powerful animation system. Part 1 is available here: http://youtube.com/watch?v=LVar0R7mpbc

Check out our other tutorials here http://prime31.com/unity/docs and for a list of our available Unity iOS plugins go here: http://prime31.com/unity/

Unity Coding Tips Part 5a: LINQ and Extensions in Action (extending Vectrosity)
Unity Coding Tips Part 5a: LINQ and Extensions in Action (extending Vectrosity)

In this tutorial, we apply what we learned about LINQ and Extension methods to add some really useful animation extensions to the excellent Vectrosity (http://starscenesoftware.com/vectrosity.html) package.

The material covered in this 2 part tutorial can be used to make simple and efficient animation methods capable of animating any object type.

Check out our other tutorials here http://prime31.com/unity/docs and for a list of our available Unity iOS plugins go here: http://prime31.com/unity/

Unity Coding Tips Part 4b: LINQ Object Recycler
Unity Coding Tips Part 4b: LINQ Object Recycler

This is a continuation of Unity Coding Tips Part 4a available here: http://youtube.com/watch?v=IX041ZvgQKE

Check out our other tutorials here http://prime31.com/unity/docs and for a list of our available Unity iOS plugins go here: http://prime31.com/unity/

Unity Coding Tips Part 4a: LINQ Object Recycler
Unity Coding Tips Part 4a: LINQ Object Recycler

In this tutorial we are going to create a reusable object recycler that is powered by some LINQ queries. Performance is extremely important on mobile devices so we will instantiate some prefabs up front and our recycler will take it from there.

Check out our other tutorials here http://prime31.com/unity/docs and for a list of our available Unity iOS plugins go here: http://prime31.com/unity/

Unity Coding Tips Part 3: Actions
Unity Coding Tips Part 3: Actions

This tutorial is a continuation of the previous one so if you haven't seen it, drop over and check out part 2: http://youtube.com/watch?v=va556bGnXIg

Check out our other tutorials here http://prime31.com/unity/docs and for a list of our available Unity iOS plugins go here: http://prime31.com/unity/

Find the Videos, Producers, & Vloggers You Want Faster