r_unity3d | Unsorted

Telegram-канал r_unity3d - r/Unity3D

156

News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).

Subscribe to a channel

r/Unity3D

getting problem with WorldToScreenPoint function

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

Читать полностью…

r/Unity3D

It took me 1.5 years to make this mobile game. I hope it's worth it.

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

Читать полностью…

r/Unity3D

Programming private properties.

C# properties are private by default.

In this case, is there any advantage to adding "private" before each property that should be private?

Just curious do we get any benefits such as readability, or is it just a coding style choice?

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

Читать полностью…

r/Unity3D

⭐ Hi! 😊 I made a small walkthrough of my Unity setup for people who want to know what an engine looks like! 🌿 How does your setup look like?
https://youtu.be/VLq6VOcd9l4?feature=shared

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

Читать полностью…

r/Unity3D

We made a new enemy design! As this will be our first game on Steam, feedback always appreciated.
https://redd.it/1iernpw
@r_Unity3D

Читать полностью…

r/Unity3D

I quit my job, sold my car, took out a loan, lived off instant noodles in a bath outside of my parents house... all to make THIS game. It’s finally out!

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

Читать полностью…

r/Unity3D

How to make an event trigger another event?

I'm currently working on fleshing out the events and decisions for a choice-based interactive game, and I was wondering how I'd actually go about creating the mechanics for this? I'm new to Unity, so I'm not experienced in any sense other than the very basics of the program (like the UI and things of that nature). I haven't actually really started on the game either, but I do want to be prepared and learn in advance, so the process is a lot less time-consuming, and I have some knowledge when I do eventually start on it.

An example of what I want to do is this:

https://preview.redd.it/zo6cxg5redge1.png?width=1132&format=png&auto=webp&s=c41ce077cb221c5ab122348bd18c12d4210cb0bb

In the game, say you select Choice 1. How would I set it up so selecting Choice 1 triggers Event 1? I'd also like for there to be multiple methods to selecting a choice. What I have in mind is you can either click with your mouse or hit the '1' or '2' keys on your keyboard.

Any help would be appreciated! Thanks!

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

Читать полностью…

r/Unity3D

I finally got around to making the player's companions to follow you in the world like a true RPG.
https://redd.it/1ieh3zp
@r_Unity3D

Читать полностью…

r/Unity3D

2 years after posting our first gif here, we’re officially announcing HistoriCity: Florence, our Renaissance citybuilder built in Unity!

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

Читать полностью…

r/Unity3D

I'm Developping a MetroidVania with this Art Style what do you think ?
https://redd.it/1iebu6m
@r_Unity3D

Читать полностью…

r/Unity3D

Finally got steam workshop working!!! Now players can upload levels to steam workshop and play levels created by others.

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

Читать полностью…

r/Unity3D

The process of creating the "Survival Support Robot" – ROV-13 for my project.
https://redd.it/1iea9lf
@r_Unity3D

Читать полностью…

r/Unity3D

Vaulting / Climbing System I Created

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

Читать полностью…

r/Unity3D

Slicing spritesheet?

Hello all,

fairly new unity developer here, having a hard time understanding spritesheet slicing.

Attached here i have a spritesheet. I have used others for my tilemaps, where i can just slice everything by 16x16 for instance, and it works because every tile is that size.

However, as seen here, there are varius size. Some objects in this tilemap are bigger than others. How do i go about slicing this? Unity tries automatically, and it works for 90% of the tilemap, but as you can see there is 1 section where it just groups 20 objects together into 1.

How do i go about using this? thanks all :)

https://preview.redd.it/t5ro7kvtn8ge1.png?width=946&format=png&auto=webp&s=77f4f25ffef12175d954e69bf348e26b6ad7b6c5



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

Читать полностью…

r/Unity3D

Sharing an environment we created
https://redd.it/1iduo8m
@r_Unity3D

Читать полностью…

r/Unity3D

Captain cats is dropping soon! Do you like it?

https://www.youtube.com/watch?v=c9XNZkawLjY

Rebels have taken over Meow-1 and they want to turn black cats into slaves! Can you stop them?

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

Читать полностью…

r/Unity3D

Game camera movement issues

So, I made this program where the camera tracks the player. The idea is that the camera will move to a spot that’s between where it was 0.005 seconds ago and the player’s current position to create this smooth movement effect. Well, the result isn’t exactly what I hoped for.

At first, when the player moves in a straight line, the camera follows normally. But after a few seconds, it starts shaking from sideandand to side (like in movie I posted), and the shaking just keeps getting worse the longer it goes on. It’s honestly driving me nuts.

This is the program

https://preview.redd.it/1wj7zxuqsgge1.png?width=1394&format=png&auto=webp&s=4fc0cf929d50253c01026c74ac89843b20c64a0c

The variable MovementCameraDelay is set to 0.005f and EndTime is 0.25f.

MovementCameraPos is a position which at the position 3.5 above and to the right of the player, its parent object is the player, so it will move with the player.

https://preview.redd.it/q9k0s82yvgge1.png?width=464&format=png&auto=webp&s=1700ab2ee2c4622cbf17967c9a0d7625a408f047

(I hope you can understand this question, because I translated it using Google Translate and my native language is not English.)

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

Читать полностью…

r/Unity3D

How can I put 2d Character in UI Canvas?

https://preview.redd.it/wiovb6fafgge1.jpg?width=1280&format=pjpg&auto=webp&s=f7b939b3a9800a754d1febf0694749744296719e

I'm trying to make character display system like Battle Brothers.
These characters are going to be look same even outside the UI.
But when I put SpriteRenderer objects in World Space Canvas, they look 100 times smaller.
1. Putting a camera over each character to show them doesn't look rational.
2. Change Sprite Renderer to Image everytime I call them also doesn't look good.

Actually, I want to put Sprite Renderer Character over UI Canvas.
Is there setting or so of thing that matches SpriteRenderer component and Image component to have same size?

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

Читать полностью…

r/Unity3D

A new enemy design for our game!
https://redd.it/1ietgx8
@r_Unity3D

Читать полностью…

r/Unity3D

Stop walking animation when jumping?

Hi!

So I haven’t touched Unity in a few years now (life, kids etc) but decided to make a small 2D side scrolling shooter for the fun of it. I’ve reached the point where I got the player up and running, but the jump portion of it is driving me nuts. So first I could infinit jump, so I started to play with the Groundcheck. Then I got jump animation of I just put it in the scene, but if I nested it to the player he just jumped but no animation played. Started changing the size of the Groundcheck object and eventually he got kinda stuck in the jump animation looping but couldn’t take off from the ground. I’ve now made sure the transitions are properly set up and got it to work whilst it’s nested to the player character. However, now when I jump whilst running the running animation finishes playing before it changes to the jump animation mid jump. I have a vague memory of having a similar issue on a project way back but got it solved somehow. Sorry for not pasting my code or anything but I’m traveling over the weekend for work. Does anyone have any wisdom to share on how I might solve this?

Jumping is literally done by applying jump force in a normal player control script. Cheers

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

Читать полностью…

r/Unity3D

Why isn't my rotation working?

I'm making a game where the player is a robot. I am trying to add a wheel that will spin when the player moves. The wheel however is acting extremely weirdly and I can't figure out why. Here is my code:

The code that controlls the wheel



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

Читать полностью…

r/Unity3D

Context-Based Steering for Vehicles

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

Читать полностью…

r/Unity3D

We're making the worlds first Chemistry themed AR card game! made with Unity.

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

Читать полностью…

r/Unity3D

I made a new gameplay trailer for my top-down post apocalyptic survival game

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

Читать полностью…

r/Unity3D

Ready for a massive gamedev event? Join DevGAMM Gdańsk on Feb 27-28, 2025!
https://redd.it/1iect4q
@r_Unity3D

Читать полностью…

r/Unity3D

Finally launched my game after 2 years!

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

Читать полностью…

r/Unity3D

howitzer artillery fire

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

Читать полностью…

r/Unity3D

Lines between tiles, pixel perfect camera, player shaking..

Hi,

I have a 2D game I'm working on where I'm using a tilemap and it gets black lines between the tiles as I move. To combat this, I applied a Pixel Perfect Camera component to my camera.

But that caused an issue where my player moving causes its sprite to mess up and appear to be shaking, I believe due to the player movement lerping between two points, which causes it to not perfectly fall between 2 tiles..



Anyone have ideas about how to go about fixing the issue?

Thanks.

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

Читать полностью…

r/Unity3D

Here’s the new graphics for my game "Albatross Program"

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

Читать полностью…

r/Unity3D

Before and after for our 2.5D game made in Unity HDRP pipeline

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

Читать полностью…
Subscribe to a channel