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)

0
votes
1answer
8 views

What language should I use, and how should I go about this?

After a few weeks of trying to decide what my personal game project will be, I finally came up with one. I'm a pretty decent programmer, but I don't know if I am coming at this the right way. I plan ...
0
votes
3answers
135 views

How to make progress bar adapt to various aspect ratios in Unity3d

Can anyone help me with this problem: I want to make a time progress bar in my game. I have two textures: progressBarFrame and progressBar. Currently I'm doing the following: void OnGui() { ...
3
votes
1answer
85 views

Rotating a GUI.Label relatively

Learning Unity for 2D development, I want to create a text label. So far, I have been using GUI.Label to write the text. It is above my sprite: I would like to rotate the label relatively to the ...
0
votes
1answer
137 views

Angled topdown perspective camera for 2.5d game

I have a 2d tile based game created using Unity's 2d tools and orthographic camera: The tiles are created by programmatically generating a mesh, assigning a texture to each pair of triangles, and ...
0
votes
1answer
574 views

Stop animation playing automatically

I've created an animation to animate a swinging mace. To do this I select the mace object in the scene pane, open the animation pane, and key it at a certain position at 0:00. I'm prompted to save ...
0
votes
3answers
64 views

Minecraft Type Game Support Blocks

OK I have a game that is similar to minecraft in a sense. Players can build castles block by block. I'm using Unity3D and Photon Network for my game and I was wondering how I would handle detecting if ...
1
vote
2answers
428 views

How does the Unity3D entity system work?

I saw the Java Artemis Entity Component System and thought of the entity system in Unity3D. In Artemis for example you can only add one component type to each entity and the logic is not in the ...
0
votes
1answer
15 views

Decentralized Matchmaking in Unity?

I'm making a card-playing game, similar to Magic Workstation. I've been looking into several options for networking. I have a working LAN version with the build in Unity networking, as well as Photon ...
0
votes
1answer
67 views

How to inplement a save-system for a complex nested list of character classs?

This is the situation I'm in: I'm developing a game with C# using unity. In the game I have characters which is either locked or unlocked, and they're pretty much the same. For every character, they ...
1
vote
2answers
63 views

Unity3d - Playerprefs not saving

Im trying to make a script to save the player settings like volume and field of view.It used to work before but it suddenly stopped for some reason.This is the script Im using(a part of it actually) : ...
-1
votes
0answers
12 views

Unity3d WebView for Blackberry [on hold]

I was looking for a monetizing solution for Blackberry with Unity3d. Here is some links Available for Monetizing Blackberry Game With Unity3d: https://www.assetstore.unity3d.com/en/#!/content/10987 ...
0
votes
1answer
34 views

Unity 2D, C# - Make object move diagonally by a certain angle?

I have a sprite object which I want to move in 8 directions. Left, Right, Up, Down, Left top, Right top, Left down, Right down. The view is 2D with a isometric projection. The difficulties I am ...
-1
votes
1answer
18 views

Moving an object continuously when left or right key is pressed

I want the object to move continuously as long as key is pressed to left when left arrow is pressed and to right when right arrow is pressed. Instead of moving continuously it moves first time and ...
0
votes
1answer
23 views

Incosistent jump, stuttering

I've written this C# code to handle movement in my testing project. The game is supposed to be 2D, some kind of a platformer, just to get me started with Unity. However, it seems there's something odd ...
0
votes
0answers
21 views

How to give a Jerk Effect when the player is moving left of right

float amttomove = Input.GetAxis("Horizontal") * playerspeed * Time.deltaTime; transform.Translate (Vector3.right * amttomove); Currently, I have above script in Update function to move ...
1
vote
1answer
63 views

collision in different layer

I have a game object called game object 1 on screen. It holds an image called red . when i drag an image called "animal" on a game object 1 collision happening fine and destroys the "animal" in same ...
2
votes
2answers
83 views

How to do masking in Unity?

I'm trying to make a searchlight style punchout mask effect in unity 2d. I want to achieve this sort of effect: I made that animation in fireworks, using a white to black gradient circle masked on ...
1
vote
2answers
114 views

Using A*Pathfinding on terrain created by scripts?

I'm looking to use A* Path-finding as a method of navigating my game terrain. Trouble is, my terrain is built upon play using a script and A* grid does not detect this, therefore marking all nodes as ...
0
votes
0answers
19 views

Working with retina graphics on Unity 2D

I begun trying Unity for iOS 2D development. I am curious about how to work with retina devices. The first thing I did was create a 1136x640 solid rectangle sprite and throw it into my scene, then ...
0
votes
1answer
154 views

How do I animate Unity GUIComponents?

I want to transform my GUIWindow from the bottom of the screen to the middle whenever the user presses a button. How can I do this?
2
votes
1answer
196 views

How to translate swipe gestures into rotations?

I am making a snake game. I want to rotate my snake in the direction specified by swiping on the screen, the directions are limited to orthogonals (90 degree increments). It's an android game. Can ...
-1
votes
2answers
62 views

how would I go on about making a movement system like mario party

main question how would i go about getting a movement system similar to the one they have on mario party only minus the dice roll things i have researched so I have been studying the uses for ...
1
vote
0answers
51 views

How to use an A* Pathfinding System across uneven environments?

I am developing a game in Unity3D. I want an enemy character to follow the player around. The problem is, my surface is uneven and full of mountains. I am using aarongranberg's pathfinding project. ...
0
votes
2answers
30 views

Monobehaviour can not find a member OfType in Unity

This is the line where I am getting above mentioned error: var listeners = FindObjectOfType<MonoBehaviour> ().OfType<iPlayerRespawnListener> (); I have already imported these libraries ...
3
votes
3answers
134 views

How to launch a prefab at the mouse position

I want to use Instantiate(item, new Vector3(...), Quaternion.identity) to land an item at the position that was clicked. My game is using a third-person view (example). This is the code that I think ...
1
vote
3answers
150 views

How to create sprites, programatically without using prefabs?

I have different types of images for different sprites. and i am not certain that how much different sprites(images) i will have to show. So, i gotta create the sprites and apply textures ...
-2
votes
1answer
25 views

animation problem on player movement ( unity ) [on hold]

I atached these script to the player . And added animations. And it moving perfectly, but the problem is when i click play, it playing the moveP animation automatically. How can i make it. If i ...
2
votes
3answers
2k views

What needs to be done to port a Windows Flash game to Android?

My team has developed a game using Flash (with Lua embeded) that targets Windows. And we want to port that game to Android (also iOS in the future). It's acceptable to rewrite the Flash part of ...
-3
votes
0answers
28 views

Unity 3D UI freeze [on hold]

I have a last version of Unity 3D. And I have a problem with it. When I do something UI is freeze, so I can't see result of my actions, but when I resize window all is fine. So when I select texture ...
1
vote
0answers
31 views

How to make a text of several letters animate, only with an animation

I wonder if it is possible to create an animation in a text with a single "animation". The problem is that for me to reach the desired effect I need to create an animation for each letter, as each one ...
-1
votes
1answer
120 views

Disabling / Enabling object renderers on click

I am working on unity2d. I have six game objects: Object1, Object2, Object3 (these are images) ObjectImage1, ObjectImage2, ObjectImage3 (these are images). I have arranged the object in the scene ...
1
vote
0answers
97 views

How to keep two objects in the same zone when they collide?

I made a zone out of a cylinder with zero height. When one sphere moves to that zone it is fine but if another one moves to the same zone it only shows one sphere. I tried to add a rigid body for ...
0
votes
1answer
91 views

Game object position issue in unity3d

I have a set of objects placed on the same layer where all the objects are invisible except one .When i drag an object in to a selected area the current dragged object get destroyed and the object ...
0
votes
2answers
173 views

Is it possible to use C++ with Unity instead of C#?

The title kind of says it all. Is it possible to replace C# with C++ on a game using Unity?
-1
votes
0answers
68 views

Randomly generated voxel planets? [on hold]

what would be best way to implement this in unity engine, I have code that can render three dimensional array of bytes as voxels and it can generate good looking flat terrain using perlin noise, but I ...
2
votes
2answers
347 views

Intelligently move aircraft using curves

I am trying to code a script to move an aircraft entity from point A to point B and at some point in the middle of moving have the aircraft forward vector face Point C (to fire a missile at an enemy ...
0
votes
1answer
104 views

VertexColor shader is not working correctly in built application

I want to change the vertex colors of my mesh. The light sources must not affect the objects with this shader, its lighting must be determined only by its vertices colors, so I turned the Lighting ...
0
votes
2answers
93 views

Set new forward directions based on camera position

I have a 3rd person camera which can rotate around the player. When I look at the back of the player and press forward, player goes forward. Then I rotate 360 around the player and "forward ...
0
votes
1answer
176 views

Change players state and controls in-game

I'm using Unity 3D Let's say the player is an ice cube. You control it like a normal player. On press of a button, ice transforms (with animation) into water. You control it completely different than ...
1
vote
0answers
38 views

Unity Animator State Freezing

I am really new with Unity, I am making a game, but I am having some problems with the animators, my problem is that I am trying to add some animations to my menu, and also add new characters to my ...
13
votes
3answers
7k views

Can I legally remove the default Unity splash screen by removing it from the APK?

While using Unity I export an Android game as an APK. When the APK is run, the first thing that is displayed is the Unity splash screen. I worked out that I could replaced that image by opening the ...
0
votes
0answers
30 views

Text within a gameObject boundries

I am working in a little project and I want to show text within a rectangle. for that I use a sprite(rectangle) and a child that contains a TextMesh as component. The text change during runtime, and ...
-1
votes
2answers
94 views

Does Unity have a built in pathfinding system?

I know that there a lot of plugins available for pathfinding in unity but I was just wondering if unity has a built in pathfinding system ?
0
votes
1answer
50 views

Animation position changes everytime I play the animation

I've been trying to create a death animation for an enemy object in my scene.I created an animation on an empty object in which i placed all my child objects like hands and legs.I animated them but ...
1
vote
2answers
310 views

How do you map a texture to a sphere in Unity using script?

I am looking to map a texture to a sphere inside of Unity using c# (not in the visual editor)? dragging a jpg or other image resource onto the sphere is the effect I am looking for -- but I would ...
0
votes
1answer
103 views

What is the best type of c# timer to use with a Unity game that uses many timers simultaneously?

I am developing a stand-alone 3d game in Unity that will have anywhere from 1 to 200 timers running simultaneously. There will be a GameObject containing 1 timer. For this game timer durations will ...
0
votes
2answers
53 views

Unity, Unrealistic Sphere On Inclined Plane

So I am trying to model a ball rolling down an inclined surface in Unity based on what I am observing in real life but it is still quite off. In Unity it takes the ball about 3 seconds to travel ...
-2
votes
1answer
706 views

How to obtain a camera stream from Unity without rendering it to the player's screen?

I'd like to stream the output of two cameras to a separate process. Right now, it looks like the best way to do that is to grab the rendered camera views from the screen via platform specific screen ...
0
votes
1answer
442 views

Creating a curved mesh on inside of sphere based on texture image coordinates

In Blender, I have created a sphere with a panoramic texture on the inside. I have also manually created a plane mesh (curved to match the size of the sphere) that sits on the inside wall where I can ...
5
votes
1answer
2k views

Unity: how to apply programmatical changes to the Terrain SplatPrototype?

I have a script to which I add a Terrain object (I drag and drop the terrain in the public Terrain field). The Terrain is already setup in Unity to have 2 PaintTextures: 1 is a Square (set up with a ...