Skip to main content

Posts

Cloth Effect with Blender 2.57

When making a game with a character, you don't want that character to be clothe-less (right?)  So what you need are some cloth with a cloth effect, you don't want your character to look like a lego, do you? (do you?)  So here's a tutorial on how to apply the cloth texture to your object using Blender 2.57.

Adding Inaccuracy To Shooting

Let's say you have a shooter game and its just plain to hard. Your Enemies are perfect shots and can hit you straight on every time. Making the game a little more fair would be nice, and one way doing so is by dumbing down your enemies AI a bit, and making them a less accurate with aiming.

Blender Normals

In the previous post, in order to fix the model, I had to switch the normals.  Understanding what a normal is helps you understand how to fix future problems you may have with your model.  So, what is a normal?

Debug Rays =D

I use them for looking at what enemies are looking or aiming at. Since it's Debug it only shows up in the scene view and not in your actual game play. They  can be very useful sometimes. Here's an example of what they look like. The red lines are the debug rays.

Exporting Blender models to Unity 3D

Your models won't be much use unless you can export them to Unity.  This will be a continuation to the previous post, so overall this is the model making, exporting, and debugging process.

PT Boat overview

This will just be a brief overview on how I made this patrol torpedo boat for the game.  There won't really be any other pictures, just steps and tips.

Loading Project Assets Through A Script (dynamically)

To do so, you first need to start by creating a new folder and naming it "Resources" You put whatever you want to load in the script in the folder, textures, prefabs, all that stuff. So if you want to Instantiate a prefab, you would simply put this in the code. var boat : GameObject = (Resources.Load("Boat")); Instantiate(boat, location, rotation); Simple right? If you want to get something out of a folder in the resources folder you just say: var smallBoat : GameObject = (Resources.Load("folder name/Small Boat")); Ta da. Easy. Read more at Unity's scripting Reference here