Questions tagged [2D] (128)

4
answers

Factorio is a game with real 2D?

I played so in factorio Great game and all, but noticed one interesting thing Seemingly everything seems to be made in 2d, buildings, conveyors, even the beetles If something moves, it more or less serves a 2d logic Everything is moving in the vertical, horizontal and diagonals, again, even the same bugs But as soon as w...
joshuah_Swaniawski83 asked April 18th 20 at 13:08
0
answer

What to do if not working collision C# 2D iOS?

I have a game where bombs are falling, if you touch the bomb to the player, the bombs should cease to spawn, but this does not happen and they continue to spawn, what to do? Here are all 4 of my script in game: The script fall(on prepare bombs hanging): using UnityEngine; public class FallDown : MonoBehaviour { [Serializ...
Jude asked April 16th 20 at 11:00
2
answers

How to make it so that when a collision with an object, falling down, the character does not hit against it?

According to the question, I think nothing is clear. I'll try to explain: a Top-down to spawn the coins, the character is at the bottom. When the coin flies to the character it's hitting him and then just disappears(I've written a script where the collision of the character with a coin it disappears), that is, I want to mak...
ada.Murray asked April 16th 20 at 10:11
1
answer

How to make the movement of an object at certain coordinates?

Hello, I want to make the move a game object at the specified position, namely that the object is moved to the coordinate of for example 1;0 with coordinates 0;0 , and then when he reached the coordinates are moved contrary to the initial coordinate 0;0, and as consistently as enemies in Mario. I did that the object is move...
Ara25 asked April 16th 20 at 10:01
2
answers

How to consider the time coroutine regarding the second coroutine?

How to consider the time coroutine regarding the second coroutine? That is, the first Korotin executed 2 seconds have passed and executes the second Korotin , it took 2 seconds for the second - executed first and so on.public class activeplatform : MonoBehaviour { public bool on; Collider2D coll; private void Start() { S...
ellie.Labadie asked April 9th 20 at 10:54
2
answers

How to call a method which will be switched on and off every few seconds?

Hello, I want to make on and off a method every few seconds-that is, to 5 seconds after starting the game off the platform. Also after 5 seconds the platforms included, and so on throughout the entire level. The actual switch-off of the platform I made, now you need to add this script to the time through which the platform ...
okey_Kiehn asked April 9th 20 at 10:53
1
answer

What to do if the camera in Unity is constantly changing sizes?

Hello, there's a problem, I have created a few scenes, and often when I worked on the same stage, I go to the other changing the dimensions of the chamber, mainly the width(Oh), I don't really notice when it changes the width, but often have to adjust it to the background, buttons etc . Please tell me what to do?
jettie19 asked April 9th 20 at 10:40
1
answer

How to reset the checkpoints in Unity?

Good day! There are 3 script to work with control points. Death panel Canvas is loaded and there are a couple of buttons. Restart the scene loads the last checkpoint, but how to make the button with a Canvas loading the level from the beginning?spoilerusing System.Collections; using System.Collections.Generic; using UnityEn...
Dovie11 asked April 9th 20 at 10:19
2
answers

How to remove object when collision of the character with him?

Hello, please help... I did the random appearance of objects(with a drop clones). How do I make it so that in the collision of the character with this clone clone been? It is necessary that is missing is the clone that is in contact with the character(not all the clones at once). I did it only so that he was lost all object...
Mabelle42 asked April 9th 20 at 10:14
0
answer

That you can begin to explore 2d design?

Would like to find out how you can enter the field of 2D design (sprites, models of the characters, drawing 2D characters). Tried to Google, but basically the courses are paid. Possible I would like literature or free courses in Russian, if not, free materials with practical examples.
Reba asked April 8th 20 at 18:00