Creating a Character Collider Script
Im new to Unity and fairly new to Javascript. I am creating a game that uses a movement and camera system similar to Xenogears, and I have the character movement script and the camera script working...
View ArticleScripting a Player Character Collider
Im trying to create a game with a Xenogears style movement and camera system. I created my own scripts for the character movement and for the camera and they are working as intended. I am now trying to...
View ArticleHow to make lighting work with tiles?
I have been working with the unity and blender to try to create a stage and I have run into a problem. They way I wanted to set things up is to create tiles in blender and bring them over into unity...
View ArticleWhere can I find Unity Script Tutorials that teach how to make the scripts...
I have been looking around for a long time at various tutorials to teach me Unity Script, and have had great deal of luck every time I am looking for a specific solution to a specific problem Im...
View ArticleGetComponent for siblings and parents
I'm trying to put together a battle system, and I've run into a few problems. I'm setting the enemies up to have nearly identical scripts and hierarchy so that they will be easy to reference later on...
View ArticleTrouble with targeting enemies from a List
So I am following a tutorial on creating a simple combat system that is in C# and I am trying to convert it into unity script. I have the scene set up with a simple object that will be the player and...
View ArticleAdding scripted variables to an array
I am trying to set up way for the player to select spells during combat. I need to put them into an array so that I can I list them and scroll through them. Being a newbie to Unity Script I thought the...
View ArticleSorting a list into multiple smaller lists
Im trying to get certain parts form a large list into a few smaller lists, and Im running into problems. I have it set up with a base Food Class. There is a Fruit and Veggie Class that extend from the...
View ArticleWhat is the best way to implement Game States?
So I am trying to create an RPG, and off the top of my head I will need about 4 different game states that changes what button input does. The first would be the normal state (when your just walking...
View ArticleQuestion about pulling variable types from a List
I am trying to Implement a dialogue system for my game. I have created a class called TextBox that is 3 strings. The three strings display letter my letter to make it look like talking, yada yada. I...
View ArticleHow do I get the index of an item in a for loop? (js)
I have a list of items that I want to display in their index order, displayed in the OnGUI function by a name variable in their class. I want to put each new item on the next line. How do return the...
View ArticleGeneric Lists, Item adding and removing options
I've recently had to dive headfirst into generic lists to work out the inventory system in my game. I am trying to make it so that when I remove an item from my inventory list it will leave an empty...
View ArticleBest way to access static variables from the inspector
Ill start by by saying Im not sure if this is the best way to go about doing this, but its the best way I could come up with. So any suggestions on doing it a different way are welcome. So, for my...
View ArticlePoint lights are blinking on and off as the camera moves
I have two directional lights that are very low and a bunch of point lights throughout the scene that handles the majority of the lighting. The issue Im having is that certain lights will blink off and...
View ArticleWhat is the best way to ease a rotation? (js)
I have a gameObject, Player Controller. This gameObject handles all of the movement, which basically moves you in the direction of the input relative to the screen. Inside the Player Controller I have...
View ArticleLooking for a forum or group to discuss UnityScript
I've been coding with UnityScript for a few years now, and I've gotten the jist of how things work with it. All the things I have set out to do I have found a way to do through tutorials or this site....
View ArticleWhat's the best way to access a component that isn't pre-defined?
I am trying to create a system that casts magic abilities for my combat system. In a nutshell I want my main combat script to be able to call a MagicStart(); function that will be applied to one of a...
View ArticleBest way to light grass?
I am just getting started messing around with different ways to make good looking foliage for nature scenes. My problem is that I can't get the light to hit the grass I've created to match the lighting...
View Articlehow do I set Property Drawer dimensions?
So Ive been wanting to learn some editor scripting so a specific class in my game will show up correctly in the inspector. As the class doesn't derive from MonoBehavior I read that I need to look into...
View ArticleTurn culling off on the Transparent / Cutout / Diffuse Shader
Can anyone help me figure out how do turn the culling off on the Transparent Cutout Diffuse Shader? Before I get a lot responses that I've seen on unityAnswers I will clarify a few things: - I am sure...
View Article