r/Unity3D – Telegram
r/Unity3D
265 subscribers
12.7K photos
15.6K videos
14 files
48K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
I've heard it's really good to cache Camera.Main or GetComponents. But Is there any performance advantage of caching a static instance ? I use a Singleton Manager so I call it a lot in my other Monobehaviours.
https://redd.it/1h8zq7g
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
started a new prototype about owning a movie theater! thoughts?

https://redd.it/1h9chgf
@r_Unity3D
Rigidbody2d.velocity = Vector2.MoveTowards is making my ai go to a random point and jiggle

I’m so pissed, I’ve been up for 2 hours trying to fix this. I have three points I need an ai to travel to, and it was working perfectly but I needed to update my movement system to use rigidbodies and now it’s not working. The first two points work (but I had to make Vector2.MoveTowards negative), but the last and most important point just won’t work.

The first two points use

speed = 10


rb.velocity = -Vector2.MoveTowards(transform.position, point.transform.position, 1).normalized speed Time.deltaTime;

Last one that doesn’t work uses

speed= 10
Offset = -10

rb.velocity = -Vector2.MoveTowards(transform.position, new Vector2(itemPoint.transform.position.x, itemPoint.transform.position.y + offset), 1).normalized speed Time.deltaTime;

There is nothing I can tell at all that may be causing the problem but still all of the ai keep going to some point. It’s either 1,0 or 0,1

I just realized that the last input of Vector2MoveTowards actually did change something (the 1 at the end) but I don’t know what to do with it. It changed the point the ai was going to but i put in the position of the item point and it didn’t work

Does anyone have any advice, it will save me so much and anything is appreciated.


https://redd.it/1h9du7s
@r_Unity3D
Adding new regions to Gunslinger Express! Thank you for all the feedback since launch.
https://redd.it/1h97lvh
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Implementing gaze handling. (Rotation of waist, neck, and eyeballs) ..'똥' means poop.

https://redd.it/1h9hbk9
@r_Unity3D
Having issues with tilemap (z as y) rendering, any help?
https://redd.it/1h9ixmx
@r_Unity3D
How to align multiple sprites?

https://preview.redd.it/hpmh0mzo2n5e1.png?width=536&format=png&auto=webp&s=0b3658bba7b0e94ee95b266c41e0f1cbe8bbf308

I went through the painfully process of aligning the red blocks manually. I know there's a simple way to align various objects at once, using something like a UI Layout, but I cannot find it.

Can someone help me?

https://redd.it/1h9kml2
@r_Unity3D
Pathfinding A

Hello, I am trying to make a turn-based game and I want to use algorithm Pathfinding A\
for enemy movement however it doesn't work properly. No youtube videos can help me nor chat gpt and I already spend many hours on it, but still I can't fix it. I am desperate. Any help would be a bless and truly appreciate!!

and here is the link for screenshots of my noscript and a video where I show you the problem with pathfinding (unity screen) (I didn't know any other ways to upload a video here, sorry .__. )

https://drive.google.com/drive/folders/1Fr96UVHPVpG8k-1QANRjT14dFYi9KlML?usp=sharing

https://redd.it/1h9kbcj
@r_Unity3D
How games like strange horticulture or potioncraft have split ui that are drag and intractable

Hi I'm new to unity and can't find a name for this and don't know what to search, it act like separate and split screen and each one have a separate interaction

https://redd.it/1h9n7re
@r_Unity3D
Choose 1 game idea for me

hello, so i have recently released one 2D pixel game on play store(which got 100+ downloads)

now I am trying to make a new game and I have 3 ideas. here is those idea's detail. (just important points)



1. FPS game(3D) - Focused on PC platform:- a bit sci-fi environment (lasers and white tiles)- low gravity and player has Magnetic boots that allow him to stick to walls and ceilings- boots do have a time limit, after that it wont stay magnetic and needs to recharge.- enemies will not have any magnetic boot but can shoot lasers in any direction(at player)- and example of this concept: https://theblackmezek.itch.io/six-degrees-of-decent
2. Well of Death(3D) - focused on PC platform:- as the name says it "Well of death" stunts game where player rides car into well of death- player needs to maintain the speed, if too slow it will fall down and if too fast it will go outside the well- other cars will be there as well which will try to attack and you can attack back as well- people will be on TOP with money that you can collect(but be carefull not to fall out)- you can change camera POV, either see it 1st person (right behind the car) or see it from 3rd person view(whole Well)- the more rounds you can go one, higher score you will get. with each 10 rounds, things will get harder.- example: https://play.google.com/store/apps/details?id=com.erafungames.well.of.death.tracator.bike.car.kart.sim
3. 1 ON 1 - versus fighting (2D) - Focused on PC- simple 1 Vs 1 fight, but here player can customize the avatar/fighter- the fighter can be assembled by taking different body part like hands, legs, head etc.- each body part has some unique powers/ability that will help in fight- player can also chose for enemy as well and have almost infinite combinations of fights- player needs to buy more parts and to buy it player needs to fight and win to earn some currency- example: https://www.youtube.com/watch?v=expZPaerXRI

all these ideas are already implemented in many ways.....so I will also just try to make my own version

I am making it a POLL so you guys can choose

and here is the game I published:

https://play.google.com/store/apps/details?id=com.maziminds.truedestination

please check it out as well

View Poll

https://redd.it/1h9lzjq
@r_Unity3D
Working on my menu (this is the Photoshop file). I plan to add animations to the clouds to bring some movement to the scene, but it still feels a bit off. Do you have any suggestions on how to improve it?
https://redd.it/1h9jk05
@r_Unity3D
"Juice" In Dice Mechanics

Hi everyone! 👋

I’ve been thinking a lot about how to add “juice” to 2D games, especially ones with tactical elements and dice mechanics. By “juice,” I mean those delightful little touches that make gameplay feel exciting and rewarding—things like satisfying feedback, impactful animations, and great sound design

The game concept I’m exploring involves dice rolling, drag-and-drop mechanics, and tactical decisions on a grid. While the mechanics are functional, I want to make interactions feel more joyful and engaging. For example:

• How do you make rolling dice feel impactful and fun?

• What visual or audio feedback works best for drag-and-drop mechanics?

• Are there ways to make combos or critical plays feel extra satisfying?

I’d love to hear your thoughts and ideas! Are there any 2D games with dice mechanics you think nailed this? What materials (videos, articles, etc.) would you recommend for learning about adding “juice” to games?

Some popular dice games I’ve seen mentioned in forums here are Dice & Fold,DiceyDungeons, but I’d love to hear if you have others I should check out for inspiration.

Thanks in advance for any tips, examples, or resources you can share! 😊

https://redd.it/1h9hozu
@r_Unity3D
How do i get started with sprites?

I've always been very interested in coding and I want to try my hand at making a little indie game. The only problem I have is that I don't do art, not even kinda, and I don't know any pixel artists who could make sprites for me and I don't want to make my own because I'm bad at art and I don't want to learn it. I know i cant be the only one who has this problem.

https://redd.it/1h9sxnr
@r_Unity3D
Metroidvania rooms - How is it done?

Games like Hollow Knight for example have several large environments, and each environment is split up into different rooms. I'm assuming each 'room' isn't a new scene, but instead just a separate set of sprites/tiles somewhere else in that existing scene.


Are there any tutorials out there on how to do this? I've had a search on YT but can't find what I'm looking for really.

https://redd.it/1h9v6fi
@r_Unity3D
Ground

So I made a floor with an imported png and I want it so when I make the object longer it doesn’t get stretched it becomes longer but the floor doesn’t get stretched, I tried making the wrap mode to be repeat and I turned on Auto Tiling on the Box collider but it still stretched?

https://redd.it/1h9ugnb
@r_Unity3D
Media is too big
VIEW IN TELEGRAM
Hats off to all of you. This is difficult. Read comment.

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