Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.

learn more… | top users | synonyms (1)

-1
votes
1answer
12 views

What to do? How can I begin? [on hold]

This is more a question for personal use. I want to learn how to develop games, but the problem is how am i going to start? Data about me: Im a 1 year CS student and I know the basics of OOP and ...
0
votes
1answer
24 views

What is the speed of sound?

I've been reading the manual about the properties of the AudioManager. http://docs.unity3d.com/Documentation/Components/class-AudioManager.html There's one option that isn't explained, which is ...
0
votes
1answer
81 views

Prevent GUI Clickthrough

I'm using NGUI to setup my UI in Unity. Attached to the MainCamera I do have a script to rotate the camera view by clicking and dragging. It does handle mouse events using Input.GetMouseButton(). ...
0
votes
1answer
44 views

GameObject remains null for some reason

The idea is to access the function BlockWasDestroyed(); from Combo class. Instead of var combo = gameObject.GetComponent(Combo); I've also tried with var combo = GetComponent(Combo); var ...
2
votes
2answers
45 views

android game development using unity 3d [on hold]

I want to learn android game development. I dont have any programing knowledge. So should I learn JAVA and eclispe to develop games for android. Or should I learn Unity 3d. And is knowledge of java ...
-1
votes
2answers
66 views

Why is my C# array in unity not working?

I'm creating a 2D brick breaking game in unity 4.3. I want all of my bricks to be different colours for each game, so I've created a C# script to assign random colours to each brick when the game ...
0
votes
1answer
34 views

How can I fix “the referenced script on this Behaviour is missing” warnings?

One of my game objects used to have a script that I have now deleted on purpose. Now it keeps saying this message as a warning: The referenced script on this Behaviour is missing! How can I rid ...
-1
votes
0answers
34 views

Updating counters using time.delta

Why when we want to try to make a counter up or down we use counter+=Time.deltaTime; Isn't Time.deltaTime can be a fractions of number like 0.003, that wouldn't be accurate counting.
0
votes
1answer
34 views

Error when using GetComponent (Object reference not set to an instance of an object)

I'm using a textmesh to check variables in real time. Thing is if I use AddComponent within Update(), it obviously starts spamming and slows the game. If I try with GetComponent the error is the ...
1
vote
1answer
26 views

Wrapping each script with classes causes errors

The goal here is to change variables from another script. Thing is that they must be in classes, so for example I wrapped this code (which is from PadControl.js): #pragma strict public var ball : ...
0
votes
0answers
32 views

How to trace a line following the user's touch in Unity3D?

I want to make a flow type game where the user connects two dots via a line. The line starts when the user puts his/her finger on the dot and moves it along a path. My question is how would I make ...
0
votes
0answers
35 views

Unity C# Coroutines to Java [on hold]

I wrote a simple Battle System in Unity C# that use Coroutines. I wrote it in Unity C# because at initial stages it was a Single Player game, but I decided to make it an MMO. So I have to port some ...
0
votes
0answers
48 views

How easy is Unity for the self-trained Java Programmer compared to other engines? [on hold]

My actual "career" background is tech support, not programming. However, I have no interest in business apps and game development is my passion. If price under $5000 for software were not a limiting ...
1
vote
1answer
36 views

Can't edit specific variables from the inspector panel, while variable is static

In order to make the variable accessible from other classes, I have to make it static. When I make it static, I can't edit it from the Unity's Inspector panel. No way to be able to do both: ...
3
votes
2answers
170 views

Update vs. FixedUpdate in Unity

I was told to use Update() for graphics and FixedUpdate() for physics, but sometimes my inputs won't register when I use FixedUpdate(). It works fine if I use Update() for everything though. Should I ...
0
votes
4answers
75 views

Why are my Unity procedural animations jerky?

I'm working in Unity and getting some crazy weird motion behavior. I have a plane and I'm moving it. It's ever so slightly getting about 1 pixel bigger and smaller. It looks like the it's kind of ...
4
votes
1answer
442 views

Should I be concerned about assets being accessed by dumping VRAM?

I have heard many people tell me that a user can dump the VRAM on their GPU and get all the images in my game. Including all "Streamed" images. This includes most of my Menu graphics. How would a ...
9
votes
2answers
1k views

Does Unity own my game?

I made my first game in unity, and I was wondering if I can sell it without owing anything to unity?
0
votes
1answer
48 views

Unity platform pathfinding

I've been trying to find a way to do this but I'm not sure how. I've gone through A* pathfinding but could find anything on this. What I'm looking for is pathfinding for something kind of like a super ...
0
votes
1answer
47 views

A problem with texture atlasing in Unity

I have the texture below and I need to get rectangular parts from it. I could finally combine meshes of different quads to improve performance, but I with quads of different tilings, this means ...
0
votes
1answer
77 views

Projecting a light onto a quad

I need to project the light onto the quad and use its value for translating the vertices. I'm currently having 6 vertices, two quads, The points are A X C B Y D Point X, Y are coming from two ...
-1
votes
0answers
33 views

What platforms are unity good for? [closed]

I recently read Unith have released support for the nintendo wiiU and are working on the 3DS. This has made me think about learning unity but moat of the questions regarding unity i see on here are ...
0
votes
1answer
52 views

How can I implement simple distributed processing in a Unity game?

I'm looking to set up a game which uses distributed processing. Just a simple brick shooter in unity with the distributed part being that the calculations for the falling blocks are handled by another ...
1
vote
1answer
61 views

How can I play an animation in response to an event?

I've written a script to play an animation, but it starts immediately as my level loads. Instead, I want it only to start when triggered by some event or after a given timeout. How can I do this?
1
vote
1answer
48 views

Is this Possible to force gameobjects (coliders etc) to get stretched based on the aspect ratio of the screen?

Well with unity3D, I am in big trouble whenever I use sprites. As for textures I compensate for a evener look by Stretching it (Screen.width & Screen.height- that's fine for low end 2D games). Now ...
-2
votes
1answer
83 views

Why is my Snake' tail rendering the wrong sprite? [closed]

I am making a snake game in Unity. The game is simple, using Texture2D to display the head, tail and body parts. I am stuck with this problem: I stored 4 textures (each one for one of the four ...
5
votes
1answer
104 views

How can I implement Objective-C libraries in Unity?

I've been a "hardcore" developer for sometime now, as I've always worked with pure code reactive rendering, and contributed to Cocos2d library some time ago , (It is the one I used for my games) . But ...
-2
votes
0answers
24 views

Unity Question: Destructible Boxes [closed]

How would I go about creating a destructible box within unity? I am going for the videogame cliche "OOO look a box! There's stuff in that y'know"!
0
votes
0answers
59 views

What do you think about my starting setup? [closed]

I will start soon with learning Game-Developing. I already coded some programs and such things but 3D objects where have long ago. Now my question to you is, is this setup okey to begin with? Blender ...
0
votes
1answer
117 views

Textures in Unity3D appear with lower quality than in Photoshop

I made game assets that look great in Photoshop, but they look like crap when I import then into Unity and run the game. Why?
0
votes
1answer
66 views

Level loading works in Unity editor, but quits when deployed

In my level selection screen, all but the first level start out locked. When I click on a level, it loads perfectly in Unity editor. However, when I build the game on a real device, the game stops as ...
0
votes
2answers
55 views

how to call the specific animation?

I have a script to control the player simply moves Left, move right, etc.. but the animation when winning, losing, or Light, just put it on the animation and animator and no script for it. I wanted ...
1
vote
1answer
70 views

Animating feet seperately from the body

I have a character and I would like to animate a walking animation for it. However i get the following result when I animate it: (ignore the green lines/ markers/ sound) As you can see the foot ...
2
votes
3answers
159 views

Should I use scenes in Unity for menus?

I assume scenes are for different levels, but should I use them for menu screens or is there a specific tool for menu screens?
-1
votes
0answers
43 views

2d top down tank movement

I am trying out an idea of a tank like movement in a top down 2d game. I'd like to: get the float values of both left and right triggers I have from an xbox controller (float values from 0 to 1). I ...
0
votes
0answers
38 views

3D model editor manipulators

I'm trying to make my own 3D model editor to better learn 3D programming. I have my translate manipulators and I'm trying to calculate the Vector2 that the mouse would have to move in order to move an ...
1
vote
0answers
68 views

Frequent stuttering, high FPS spikes with VSync option turned on in Unity standalone build

I'm experiencing an issue using Unity 4.3.2 and standalone builds. If I turn on VSync in the project's Quality settings, running the game at the native monitor resolution, I'll frequently get high ...
2
votes
2answers
102 views

Print on the GUI in Unity

I'm trying to show the players name on the GUI with a label. GUI.Label(new Rect(10,10, 100, 30), playerName); Instead of use the default style I want to use a different font with larger character. ...
2
votes
0answers
30 views

How can I switch between texture atlases based on the iOS version?

How can I switch between atlases (with different resolutions) in Unity based on the runtime iOS version?
2
votes
2answers
64 views

Can I make a character solid but not lose non-physics behaviour?

My character can walk around in the world, but walks through other objects, for example a cylinder (stand-in for a cannon). To fix this I added a capsule collider to each of the character and ...
0
votes
1answer
66 views

How to create public Arrays of game objects so that they can be assigned through inspector

I am making a unity2D game. I need to declare public array of gameobjects so that I can assign them colliders, textures through inspector by drag n drop. Is there any way to do this? I am using c#. I ...
2
votes
3answers
43 views

How can I reorient the axes of an object?

I spent some time in Unity yesterday trying to fire a sphere from a horizontal cylinder (like a ball from a cannon). I was using Vector3.forward, but the sphere kept coming out the top of the cylinder ...
1
vote
2answers
47 views

Can you adjust the proportions of a 3D model via scripting?

We are developing a game in Unity where the character is different ages in different levels. Would it be possible to use a single 3D model asset, and alter its proportions via scripting to achieve ...
0
votes
1answer
49 views

Variable Jump in Unity3d

I implemented variable jumping in unity for an endless running game. My question, how can I make the jump frame rate independent? My algorithm if ( keyDown ){ isJumping = true ySpeed += ...
8
votes
4answers
361 views

Infinite 3D Cave in Unity

A friend and I are hoping to make a game in Unity in which you fly through an infinite 3D cave that can twist and wind in any direction (though obviously not to the point that the turns are impossible ...
2
votes
1answer
63 views

Possible to create transparency shader which doesn't stack alpha values

The image above best demonstrates what I'm trying to achieve. It's a transparent shader for objects, but wherever the objects with this shader intersect they don't add together but simply merge with ...
1
vote
0answers
40 views

SpotLight in ForwardBase pass using forward rendering

Is there anyway I can force Unity to allow me using a custom shader to render spotlights in a ForwardBase pass (using Forward Rendering Path)? For what I could see since now: Unity use and ...
-1
votes
0answers
32 views

How a game menu can be made easily without using paid plugins [duplicate]

I want to make game menu in which various stages are present, but they are locked unless user plays initial stages and earn score to make them open. I want to use swiping controls so the user can ...
-2
votes
1answer
141 views

How to make game menu in Unity using only the editor?

I am trying to implement a game menu screen in which all the levels are locked initially. Just like Angry Birds. When user scores he'll be promoted the level unlocks.
0
votes
0answers
37 views

Unity not updating sprite animations (possible bug)

I have a simple animation of a foot which i want to change sprites from one sprite to another, which is seen in the following two images: now as one can see in the animation timeline there is a ...