r/Unity3D – Telegram
r/Unity3D
265 subscribers
12.7K photos
15.6K videos
14 files
48.1K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
One year making Sky Harvest, I call it open-world and cozy but for me, it's also a sleep deprivation simulator. [Please consider Wishlisting on Steam. Thanks 💘]

https://redd.it/1gk34v0
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
My game is finished after two years of development. I'm excited because it's going to be released on November 8th

https://redd.it/1gk2wq3
@r_Unity3D
How is the game from the outside, honestly please? If it is unappealing, what could we improve? It is a Divinity OS inspired Tactical Turn-Based RPG with basebuilding and 4X elements. 3 games in 1

https://redd.it/1gk5pys
@r_Unity3D
Does AI help in game development process? Survey.

Hi, I am a student from Latvia. I have a project about - "Artificial intelligence in optimization of the game development process. " So I have created this survey and I need help (if possible) from all of you! If you are a game developer or just a gamer I would be really happy to hear your thoughts in this survey.

Link to the survey

https://redd.it/1gk7007
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
My best friend was an underwater welder on a deep-sea oil rig in the North Sea. He passed away from a heart attack just a year after he retired. I’m creating the game Weldiver to honor his memory.

https://redd.it/1gk8zce
@r_Unity3D
How do I copy a score into a different scene

Helloo I'm new to coding and I need help. I need to put the score from one scene (game scene) to another scene (respawn scene) and I don't know how to do that.

[Scene 1](https://preview.redd.it/7amd8cqow3zd1.png?width=907&format=png&auto=webp&s=4f088a6a22c4884102cd16450194693dda63456f)

[Scene 2](https://preview.redd.it/8jkes6kjw3zd1.png?width=910&format=png&auto=webp&s=c7fd178ac8b4034ba0ffbcbe7f6caa538df1f4ec)

Player movement with scoring code:
And "Scoring" Script (I tried following a tutorial but I don't get it)

using JetBrains.Annotations;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;

public class Controller : MonoBehaviour
{

public Animator animator;
private Rigidbody2D rb2d;
private float moveInput;
private float speed = 10f;

private bool isStarted = false;

private float topScore = 0.0f;

public Text pointsText;
public Text startText;


// Start is called before the first frame update
void Start()
{

rb2d = GetComponent<Rigidbody2D>();

rb2d.gravityScale = 0;
rb2d.linearVelocity = Vector3.zero;


}

void Update()
{

if(Input.GetKeyDown(KeyCode.Space) && isStarted == false)
{

isStarted = true;
startText.gameObject.SetActive(false);
rb2d.gravityScale = 5f;

}

if (isStarted == true)
{

if (moveInput < 0)
{

this.GetComponent<SpriteRenderer>().flipX = false;

}
else
{

this.GetComponent<SpriteRenderer>().flipX = true;

}

if (rb2d.linearVelocity.y > 0 && transform.position.y > topScore)
{

topScore = transform.position.y;

}

pointsText.text = "Score: " + Mathf.Round(topScore).ToString();

}

}

public void AddPoints()
{
Scoring.topScore += //HELPPPPPPPP;
}

public void GetPoints ()
{
int recievedPoints = Scoring.topScore;
pointsText.text = recievedPoints.ToString();
}

void FixedUpdate()
{
animator.SetFloat("Speed", Mathf.Abs(moveInput));

if (isStarted == true)
{

moveInput = Input.GetAxis("Horizontal");
rb2d.linearVelocity = new Vector2(moveInput * speed, rb2d.linearVelocity.y);

}

if (transform.position.y + 30 < topScore)
{
SceneManager.LoadScene("GameOver");
}

}
}


using UnityEngine;
using System.Collections;

public class Scoring : MonoBehaviour
{
public static int topScore;
}


https://redd.it/1gka86j
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
After a year of learning Unity, I'm excited to announce my first game: Fluff'n'Roll. Let me know what you think!

https://redd.it/1gkaecb
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
The difference switching out a directional light for just a spotlight attached to the player's head makes when skiing at night!

https://redd.it/1gkabdn
@r_Unity3D
Making a simple flappy birds game for practice and needing help with OnTriggerEnter2D.

I have a parent object that spawns a pipe prefab that I made. The prefab contains a parent object and a noscript that moves the pipes with two children object "pipes" (each with boxcollider2d). I then have a boxcollider2d that is a trigger and I want it to delete the pipes on trigger which I named "DeadZone"

I made a noscript for DeadZone , but the pipes are not even being detected. Is it because the parent object doesn't contain a collider and only the prefab's children objects? I can't seem to get it to work.


From what I understand, OnTriggerEnter2D needs two collider2D's with at least one being a trigger. What am I doing wrong?

https://redd.it/1gkgy1n
@r_Unity3D
Rpg party follows leader with navmesh

So trying to work on an rpg and I was thinking of having the party members follow the leader when not in battle. The obvious and simple method would be to have them echo what the player is doing but with a delay.

But I was thinking would it be overkill to use 2D nav mesh to have them follow the leader? I feel like it could possibly make it more organic and feel more natural?

What do you guys think?

https://redd.it/1gkhdff
@r_Unity3D
Area vs Scene

There is a scene called "City" it's a giant map with many buildings.
Some building can be entered, Eg. Convenient Store, so I'm creating a seperate scene called "Convenient Store" but some buildings are massive, for example "School", there are couple of classrooms and a gym, cafeteria, library etc etc... do you think it is good idea to divide these areas into seperate scenes or just leave it in one scene called "School".

Until now, I put everything in one scene but each area has fairly large gap in there positions eg (-80, 0) (40, 0) something like that, but I'm not sure whether I should divide it or not...

It's a pixel art game so, the image size is small, so in terms of optimisation I don't think it is a problem but I need some "experts' opinion".

Thanks :)

https://redd.it/1gkjvqb
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Skip that last awful geometry LOD or LODs all together with Amplify Impostors!
https://redd.it/1gkirwn
@r_Unity3D