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

Sprite Editor - Custom Physics Shape Outline Tolerance doesn't follow the outline

I try to modify in the Sprite Editor the Custom Physics Shape, but it doesn't matter the tolerance outline I choose, it doesn't follow the outline.
Am I missing something ?

I tried with .png or .aseprite file
Here is an example with a .png

https://preview.redd.it/sdjzaufcgezc1.png?width=1122&format=png&auto=webp&s=d2482bc62279005efa87814a705a30fd03e64bfa

https://preview.redd.it/1av2ubjhgezc1.png?width=1133&format=png&auto=webp&s=1b735e8af40b5287db2b3e4fa2da4516885cdcc5



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

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

r/Unity3D

Every godot developer right now...

https://www.youtube.com/watch?v=7ymxRRW2yQI

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

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

r/Unity3D

i made this 2d game in unity

guys i made a game in 47 hours. the unique thing about this game is that it crashes itself if you die. You can see here how i did it:https://youtu.be/\_ZpplyMki5A

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

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

r/Unity3D

We've been working hard on improving the mechanics of our VR anime cyberpunk bartending game to be much more interactive and pleasing. What do you think, is that some smooth operating?

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

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

r/Unity3D

My PSB faces the wrong way. I should just flip the sprites right? That will go well... right?

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

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

r/Unity3D

I'm new to unity and no knowledge on C#, my player keep jumping in the air when i press spacebar, how do i fix this?
https://redd.it/1cnpuuw
@r_Unity3D

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

r/Unity3D

White cat or black cat?

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

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

r/Unity3D

Just started, help?

I am wondering why the box collider of this pipe can interact with other objects but the edge collider cant?

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

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

r/Unity3D

I decided to make a Stickman Sniper PvP game in a year to prove myself I can release a game. Now, only after 3.5 years I'm close to releasing it! Yes, maybe its no longer stickmans, you can customize and move freely your character.. but.. but.. Srsly we should stop over complicating our projects wáá

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

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

r/Unity3D

Squishing enemies with light fixtures!
https://redd.it/1cncitk
@r_Unity3D

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

r/Unity3D

Unity documentation be like:
https://redd.it/1cn8smp
@r_Unity3D

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

r/Unity3D

No idea what I'm walking into

Hey all. I'm here because of a passing fancy I had recently about creating my own 2d survival craft game. Think terarria, necesse, core keeper, and of course minecraft. (mostly) procedurally generated game world, base building, fight guys, mine and smelt, etc. You know the type. I'm not sure if the genre is still in fashion, but I love these kinds of games and I'm curious if I could make one and how I would do that. Right now I'm at the "find out what goes into a project like this" phase and in general I don't know where to begin.


A bit of background on me. Like most of you, I've always been a gamer. I also have a lifelong history of game design in the form of custom made board games and tabletops. I like creating things, testing, balancing, etc. I'm confident I could dream up a game and map it out... On paper at least. What scares me about doing that for a video game is having to learn real actual code, and worse- learn proper coding practices. Also I'm not artistically inclined so I guess I have no choice but to outsource the visuals?

I've got a bit of coding experience, nothing complicated or especially useful. Mostly python, Javascript, bit of c++. I can use an if/else statement, for/while loops, simple functions. I vaguely remember how to use a class. That's about it. Don't know what a vector is, never used a gui (mostly just discord bots and python scripts that made api calls), never tried to make a video game before.

I've done some research and it seems like unity might be a good choice for me. I'm guessing the process to making my game is going to involve a few hundred hours of YouTube tutorials and a few thousand hours of slow-going trial and error, plus running to reddit every time I hit a snag (do affordable personal unity tutors exist?)?

I guess my overall question is where do I get started, and what do I need to know that I don't know yet? If I'm just working casually on it (15-20 hours a week), could the game be done in six months? Two years? It all depends I'm sure, just looking for a ballpark. Should I start by studying videos, or just dive in and start clicking stuff until I understand it? I get that I have to learn for myself, but I'd like to avoid needlessly grinding to write some function that any competent programmer would already know he can find on stack overflow or something.

Help, advice, personal anecdotes all appreciated! I'd like to make a checklist of what tools I need, what basic knowledge I need before I start, and where I can find good information on what I'm working on. Thank you!


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

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

r/Unity3D

New consumable card animation. What do you think?
https://redd.it/1cn522h
@r_Unity3D

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

r/Unity3D

Updated the Player sprites, video available on my page

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

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

r/Unity3D

Effortlessly craft effects in Unity

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

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

r/Unity3D

Villagers will now react to your actions. What do you think?

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

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

r/Unity3D

Released a Unity game today! Almost shipped a "BurstDebug_DoNotShip" folder, but caught it literally last minute. It's a story-based management game, and I would be honored if you can check it out

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

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

r/Unity3D

What are your thoughts on this asset? Would love some feedback!
https://youtu.be/9mytcMPXWvc

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

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

r/Unity3D

New Turbo Overdrive Shooter. I created new game trailer for Alpha version, how do you like?
https://www.youtube.com/watch?v=2j6ss4T3AKo&ab_channel=DAYZEROSTUDIO

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

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

r/Unity3D

Unity stops rendering sprites

So Im making a 2D platformer style gane and for some reason unity refuses to render any sprites beyond x = 500. I have no idea why. Any help is appreciated.

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

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

r/Unity3D

Facing issues with movement and sprite rotation FAIRLY NEW

I'm pretty inexperienced with Unity and I've been facing a problem that I haven't been able to find a solution to online. I have a simple script for a top down game I'm making that lets the player move, but sometimes the character will glide in one direction no matter what keys you're now pressing. I've used this code elsewhere in another project and had no issues, but the last two projects I've worked on have had this problem.

[SerializeField] float moveSpeed = 0f;

Vector2 rawInput;

Health health;

void Awake() {

health = GetComponent<Health>();

}

void Update() {

if (health.GetDeath()) { return; }

Move();

}

void Move() {

Vector2 delta = Time.deltaTime * moveSpeed * rawInput;

Vector2 newPosition = new Vector2();

newPosition.x = transform.position.x + delta.x;

newPosition.y = transform.position.y + delta.y;

transform.position = newPosition;

}

void OnMovement(InputValue value) {

rawInput = value.Get<Vector2>();

}

Additionally, I'm trying to rotate a sprite around my character as a melee attack. While standing still, the code works as intended, however the rotation freezes when I move my character and continues once I stop moving.

void MeleeAttack() {

meleeAngle = -meleeAngle;

GameObject instance = Instantiate(meleePrefab, transform.position, Quaternion.Euler(new Vector3(0, 0, meleeAngle)), transform);

Melee settings = instance.GetComponent<Melee>();

settings.SetSettings(meleeSpeed, meleeAngle);

}

--------------------------------------------------------------------------------------------------------------------

float meleeSpeed;

float meleeAngle;

Rigidbody2D rb;

public void SetSettings(float melee, float angle) { meleeSpeed = melee; meleeAngle = angle; }

void Awake() {

rb = GetComponent<Rigidbody2D>();

}

void FixedUpdate() {

if (rb.rotation != -meleeAngle) {

Rotate();

}

if (meleeAngle > 0 && rb.rotation < -meleeAngle) {

Destroy(gameObject);

}

else if (meleeAngle < 0 && rb.rotation > -meleeAngle) {

Destroy(gameObject);

}

}

void Rotate() {

float delta = Time.fixedDeltaTime * meleeSpeed;

if (meleeAngle > 0) {

float temp = rb.rotation - delta;

rb.rotation = temp;

}

else if (meleeAngle < 0) {

float temp = rb.rotation + delta;

rb.rotation = temp;

}

}

Any help is much appreciated, as I'm short on time to get this working and I'm stumped. Thanks.

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

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

r/Unity3D

Thoughts on the vehicle physics? Do you think you'd be able to use a gimbal weapon turret while driving or will it be too difficult? (for PC)

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

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

r/Unity3D

Raiders Assemble
https://redd.it/1cnjdsr
@r_Unity3D

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

r/Unity3D

Rusty's Retirement inspired me to add a minimize function to my cozy aquarium game. What do you think?

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

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

r/Unity3D

About 900 days ago, two developers set out to create the indie game Freenergy: In the role of an engineer design robots to fight in the corporate arena, conquer the ring to gain freedom. A demo is available for your feedback
https://www.youtube.com/watch?v=AJ7dotZXq34

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

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

r/Unity3D

A noob on unity trying flappy bird learning C# for the first time

So I'm a cnc machinist and recently had a seizure and I'm out until I'm clear again and i wanted to get into unity and make flappy bird to pass the time. i got stuck 13 minutes into this video https://www.youtube.com/watch?v=ihvBiJ1oC9U with progress because i couldn't get my bird to move probably because idk what I'm doing. My inspector doesn't say my strength or gravity that i can adjust so even from the start none of my scripting works. i tried a brackeys C# tutorial video and noticed my script ran without braces unlike his... the beginning of visual studio code is different now that i use .NET8 compared to all the other older tutorials... you open up visual studio code and there's 1 line now without brackets and braces so do we not need them now? This is a copy and paste of my script i had copied from this video.. now my only error is "input does not contain a definition for touchcount" Now if that is the only error why is it that my inspector also doesn't seem to read the beginning of my program for gravity and strength? Also what did i write wrong for the touchcount? I'm a mega noob willing to learn a bit of 2d gaming while I'm off of work for a bit haha... I'm pretty sure there's alot missing and i just don't know it i learned just from the downloads and extensions lol... Thank you to whoever

https://preview.redd.it/xua29no6g8zc1.png?width=1920&amp;format=png&amp;auto=webp&amp;s=ec46b66518ee74df95f2011418419efb91f1627b

https://preview.redd.it/k0dr39ucg8zc1.png?width=1920&amp;format=png&amp;auto=webp&amp;s=0b402affcf2d4943c24880f982f7dac1ef2b74ee

using UnityEngine;

public class Player : MonoBehaviour
{
private Vector3 direction;
public float gravity = -9.8f;
public float strength = 5f;

private void Update()
{
if (Input.GetKeyDown(KeyCode.Space) || Input.GetMouseButtonDown(0)) {
direction = Vector3.up * strength;
}

if (Input.TouchCount > 0)
{
Touch touch = Input.GetTouch(0);

if (touch.phase == TouchPhase.Began){
direction = Vector3.up * strength;
}
}

direction.y += gravity * Time.deltaTime;
transform.position += direction * Time.deltaTime;
}

}

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

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

r/Unity3D

I made a menu to keep track with all the character you are going to meet in the adventure! :DD Any feedback? do you like it? (:

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

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

r/Unity3D

Custom Editor Window for Fast Pixel Art Animation Debugging
https://youtu.be/u3FkeHfdzrg

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

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

r/Unity3D

I'm pretty proud of my fake cheap volumetric lights even if I know it's nothing new or crazy. It was a battle to get it to work
https://redd.it/1cn0g4j
@r_Unity3D

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

r/Unity3D

I just released my first ever steam demo for my roguelike word game - OMG Words
https://redd.it/1cl2gr8
@r_Unity3D

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