Questions tagged [unity3d-2dtools]

Use this tag if your question is about using Unity's built-in 2D features, like the Sprite type and the 2D physics engine, based on Box2D.

The 2D Tools refers to the collection of tools to make 2D applications.

Useful links


Related tags

492 questions
-2
votes
1 answer

Unity2D (c#) - fall over edge like stone

I am make 2D platforming game in Unity and I have a problem: If my player goes over an edge the player falls along an arc trajectory. I want to make the player fall over the edge like a stone? Unable to alter the value of gravity.
user5790809
-2
votes
2 answers

How to Play Video in Unity 2D?

i need to play Videos in my 2d game. many Tutorials in Youtube how to play Videos but its 3d. so share with me how to play Video File in unity Video Format
Natheem Yousuf
  • 143
  • 2
  • 2
  • 8
-2
votes
1 answer

Unity 3D - Move 2D sprite around the screen edges clockwise/anticlockwise

I was wondering if anyone knows the best way to get a 2d sprite to go around in a clockwise or anti clockwise motion around the screen edges in Unity? (Snake like motion) I have looked at ways of determining the screen size but in terms of a…
taiomi
  • 31
  • 4
-2
votes
1 answer

Load images from folder and use them as sprites in unity

I have an idea about a game, where you need to catch flags. In the game I want to give the user the opportunity to use his own images. I was thinking the user could input a folder directory and I would access the directory and use the images stored…
-2
votes
1 answer

Come down faster after jumping

In my 2D game, I need my player to be able to pull down after jumping. I tried using a vertical control on the joystick, but it just made me float around. When I try to jump, I hang in the air too long. I want to be able to pull my player…
Lyn_Pepper
  • 11
  • 2
-2
votes
1 answer

Android app using iOS SDK in Unity 3D

I want to create small android app in unity. I am using iOS machine. Can i create an android app using iOS sdk in Unity 3d ?
Nibin Jose
  • 111
  • 1
  • 10
-2
votes
1 answer

To restart the game on a button click in unity framework

this is my code void Start () { GetComponent().enabled = false; animator = transform.GetComponentInChildren(); if (animator == null) { Debug.LogError("Didn't find animator"); } } } …
robin
  • 1
  • 2
-2
votes
1 answer

C# Scripting Enumerations

using UnityEngine; using System.Collections; struct SimonLightPlate { public enum eType { INVALID_TYPE = -1, BLUE, GREEN, RED, YELLOW, NUM_TYPES } public SimonLightPlate(string plateName) { plate =…
-2
votes
1 answer

Move a whole enemy object to a new point

In my code I am trying to check if the player dodges the obstacle and the obstacle goes to the x position of -13 (offscreen). If it does than it should reappear coming in with a random x and y coordinate. I get no errors it just doesn't do the code…
Jim Larson
  • 57
  • 1
  • 1
  • 8
-3
votes
1 answer

Tracking a 2 dimensional sprite in Java

I'm kind of new to this whole thing but I'll get started by asking my first question ever. So a friend and I are working on a project in which we need to track the player character's head movement and attach items to it. Now is this something that…
-4
votes
1 answer

How to swing an Object by linear interpolation?

i trying to swing an object by using Linear interpolation.
-4
votes
2 answers

How to execute a set of query after seconds in unity?

I'm building a game as my final project of university after some short research on internet I've used something like Waitforsecond() in unity but it didn't work, anyone know the solution, plesase help!
user2905416
  • 404
  • 7
  • 21
1 2 3
32
33