r/Unity3D – Telegram
r/Unity3D
258 subscribers
12.6K photos
15.5K videos
14 files
47.9K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
Creating a 2D top down game's "level" ?

Hey y'all, I'll like to do a top down 2D game as my first game, either RPG or Sim, I'll figure it out later

I know the basics of C# and Unity code wise

But I'm stuck on creating levels with Unity

I have a bunch of free assets but I can't find a good tutorial to create the "level" part of the game

Like, putting tiles, creating a level, etc.

I know I can "paint" the canvas but it looks so weird to put the entire level pixel by pixel

Am I really supposed to do that for a whole top down world ?

And I can't find any tutorial about how to properly use the tools to create a level

Could anyone guide me towards a website or something that would help with that please ?

I've searched but I can't seem to find

Thank you and take care !

https://redd.it/1keyt37
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
Fluid Frenzy + Curved World = From Dust on Planets!

https://redd.it/1kf7tny
@r_Unity3D
Unity Technologies releases new Unity Vehicles package.

Unity Technologies has released the new Unity Vehicles package. 'Unity Vehicles aims to be a universal vehicle controller for ECS that covers a wide range of vehicle types and configurations. The package targets a medium level of vehicle physics realism, striking a balance between performance and fidelity.'

https://discussions.unity.com/t/unity-vehicles-experimental-package-now-available/1636923

https://i.redd.it/csnz7ggp8yye1.gif

https://i.redd.it/fh70yngp8yye1.gif

https://i.redd.it/lc1cesgp8yye1.gif



https://redd.it/1kf9bli
@r_Unity3D
Learning C# for Unity when I am somewhat familiar with C

I am trying to learn Unity and apart from some tutorial projects I managed to make tic-tac-toe on my own. I am already familiar with C by learning on my own at first, then using it in intro to C programming at colllege and for numerical methods. I'm trying to do more advanced stuff and struggling with the noscripting because there are a lot of new concepts mostly related to OOP. I can handle the logic decently but using the logic to manipulate the objects in the scene is difficult. I can't find a good tutorial because most of them either don't focus on the noscripting side of things or try to teach C# from the absolute fundamentals, which I don't need. So is there a tutorial catered towards those new in Unity C# that are already somewhat familiar with functional programming?

https://redd.it/1kfch2w
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Creating my first visual novel with turn-based combat, city building and an unusual plot - almost alone with the help of friends. I'm learning the engine as I go, drawing animations, writing code and voicing the main character. I hope you won't judge the result too harshly.

https://redd.it/1kf89cb
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Does this level select screen make you feel like flying through space?

https://redd.it/1kffr56
@r_Unity3D
Object pool vs instantiate for notes (rhythm game)

Helloo, my rhythm game currently spawns notes then deletes them however earlier it was lagging when notes spawned but now it runs smoothly idk what changed. This made me wonder if I should create an object pool, I tried making one and it broke the entire system so should I change the spawn delete code for notes into an object pool? Thanks!!

https://redd.it/1kfhpsn
@r_Unity3D
Issue with Rigidbody2D set to Kinematic

Hello, I’ve been working on the collision system for my 2D project and encountered an annoying issue. After changing my enemy's Rigidbody2D body type to 'Kinematic', the enemy started to slowly move through the floor, even though it should stay on top of it. This behavior is not expected, and I’m not sure what might be causing it. Does anyone have any idea? Below is the code from the class that controls the enemy's movement.

Code:

using System.Security.Cryptography;

using UnityEngine;



public class MainInimigo01 : MonoBehaviour

{

//variaveis publicas

public int life;

public float vel;

public Transform pontoA;

public Transform pontoB;

public Rigidbody2D oRigidbody;

public Animator anim;

public Collider2D oCollider;

public SpriteRenderer oSpriteRenderer;



//variaveis privadas

private bool goRight;



//metodo que é chamado frame a frame

private void Update()

{

if(life <= 0)

{

Debug.Log("Inimigo derrotado!");

Destroy(this.gameObject);

}

}



//metodo que é chamado a cada 0,02 segundos

private void FixedUpdate()

{

Movimento();

}



//metodo que executa a IAzinha do movimento e ataque do inimigo

private void Movimento()

{

if (anim.GetCurrentAnimatorStateInfo(0).IsName("inimigo_attack"))

{

return;

}



if (goRight)

{

transform.eulerAngles = new Vector3(0f, 0f, 0f);

oRigidbody.MovePosition(Vector2.MoveTowards(oRigidbody.position, pontoB.position, vel * Time.fixedDeltaTime));

if (Vector2.Distance(transform.position, pontoB.position) < 0.5f)

{

goRight = false;

}

}



else

{

transform.eulerAngles = new Vector3(0f, 180f, 0f);

oRigidbody.MovePosition(Vector2.MoveTowards(oRigidbody.position, pontoA.position, vel * Time.fixedDeltaTime));

if (Vector2.Distance(transform.position, pontoA.position) < 0.5f)

{

goRight = true;

}

}

}

}



https://redd.it/1kfjepf
@r_Unity3D