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

How to 'mock' fluid mechanics?

Hey everyone,

So let me first explain what I'm trying to achieve, and then what I tried. There is a sorting game where you need to match your colored liquids between bottles. Game idea is not super important right now, and I easily can code the algorithm for that. I am doing this project because it looks simple to code (except this problem) and I wanted to see if this is really simple or not. Also, I can always learn something. So basically, not commercial.

But the problem I have is that illustrating the liquid animations in those bottles. It is pretty hard for me to explain, so please take a look at this 1-min video

[Game Link Video - Bottle Fluid Animation](https://www.youtube.com/watch?v=Ib02Xcn0cA8)

As you see, fluid does not predent as a super realistic fluid. So, this is what I want actually, because when I look at fluid tutorials in 2D (like CodeMonkey's here: [CodeMonkey - Simple Liquid Simulation](https://www.youtube.com/watch?v=_8v4DRhHu2g)), I see few problems about implementing this in my project:

* First, this would be a problem because I want this game to be fast-playable. Meaning that, of course this game is not hypercasual, but still, I want the "fluid transfer" between bottles as fast as possible.
* Secondly, he is using a technique where a game object is copied over and over, and I don't think it is healthy for mobile gaming that's resource intensive.
* Finally, also due to Reason2, the fluid willnot stabilize its upper part precisely horizontal, meaning that there will be little waves before fluid calms down, which contradicts what I want in Reason1.

Therefore, can you please help me or suggest some resources about this? I'm really interested in this part, other than that, this is probably a stack implementation, where each bottle has its own stack etc. However, this part is really confusing for me. Thanks in advance.

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

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

r/Unity3D

Filling a maze with water

I'm trying to make a 2d platformer game where you are trying to reach to the top before water catches up and drowns you in kind of a vertical maze. I want the water to start at the bottom and slowly rise and fill the corridors of the maze. No matter how much I try I wasn't able to code this in a way that doesn't glitch awfully or break my system. Is it possible to do this in Unity? If so does anyone know what would be the best approach? I'm new to Unity so I don't really know much of additional and community tools, so if there is any you can recommend me that may help I would appreciate it too.

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

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

r/Unity3D

Checking collision points' direction does not return the correct value

I have a bool for each direction(except upwards, because I don't need that for what I'm making at the moment), and what I tried to do was:

-set all 3 bools to false

-every point sets the corresponding bool to true, if it exists

this was supposed to update whether or not the player is colliding in each direction each frame, however if the player is colliding in 2 directions at the same time, only one bool will return true. Both Debug.DrawRay and Debug.Log work correctly every time, and the bools are never changed anywhere else in the code. Could anyone help with what's wrong with the code?

void OnCollisionStay2D(Collision2D other)
{

isCollidingDown = false;
isCollidingLeft = false;
isCollidingRight = false;
foreach (var item in other.contacts)
{
Debug.DrawRay(item.point, item.normal * 100, Color.white, 0.3f);

if (item.normal == Vector2.up)
{
isCollidingDown = true;
Debug.Log("down");
}

if (item.normal == -Vector2.right)
{
isCollidingRight = true;
Debug.Log("right");
}

if (item.normal == Vector2.right)
{
isCollidingLeft = true;
Debug.Log("left");
}
}


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

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

r/Unity3D

Help with my game

Hi, this is my first project in unity and been trying to do it with chatgpt and watching yt videos, but can't find anything similar to what I have in mind and chatgpt was useless with the code. Basically what i want to do is a trading game. So far i have made the prefabs I need and have a CVS file with data that has open close high low and time, i want to display a candlestick chart. I've spent hours going through the unity documtation but can't make sense of anything tbh and it just puts me to sleep reading them.
I'd appreciate any tips on writing a script to generate the candlestick chart, as I want to just have a functional chart first before i start figuring out how to add game elements.


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

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

r/Unity3D

Deadpool Takes a Ride!
Arcade Bike Physics Pro Showcase
Link : https://u3d.as/3jxy

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

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

r/Unity3D

Russian Roulette: Online. New team mafia-like game
https://redd.it/1f35ppe
@r_Unity3D

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

r/Unity3D

Help with UI not showing in game, please

I can´t get my inventory to show in game, but it shows on the scene view.

(Main camera config)

https://preview.redd.it/xkd6pc2xvbld1.png?width=1916&format=png&auto=webp&s=28d8196d22504bbe056fc72753dee401c80570ff

(Canvas)

https://preview.redd.it/oaanb8w2wbld1.png?width=706&format=png&auto=webp&s=8772e6d292dc3ebf0668b1a55d1d73a83fc583e2

(Inventory/toolbar)

https://preview.redd.it/uf2rxl55wbld1.png?width=704&format=png&auto=webp&s=ca6ce5c33b59701bc713a614719a6e5ad0b58b93

I´ve tried changing almost every setting possible, so some things may look strange i guess. Would really appreciate some help.

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

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

r/Unity3D

What do you think of the game play of my game so far?
https://www.youtube.com/watch?v=YGS_bqYbXfI

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

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

r/Unity3D

I'm drawing this dungeon inspired tileset, do you guys like it?
https://redd.it/1f2s11a
@r_Unity3D

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

r/Unity3D

Reworking an Old Enemy Type is Always Fun
https://redd.it/1f2nvj9
@r_Unity3D

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

r/Unity3D

Only 2 weeks left until the release of cat wizard roguelike game. It's been an incredible year long journey. And here's a small footage of what we've managed to achieve. (Boss fights that you will face throughout the game)

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

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

r/Unity3D

13 months solo developing Tower Factory, a mix between tower defense and factory game.

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

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

r/Unity3D

Developed a game similar to hearthstone as practice. Anyone interested in try it out?

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

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

r/Unity3D

Rant - Beware of Photon and their outrageous CCU overage fees - $490 extra for 5 days of usage on top of a 500 CCU plan (story in the comments)
https://redd.it/1efzb8u
@r_Unity3D

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

r/Unity3D

Any tips on how to implement a comic book style deduction mechanic?
https://redd.it/1efzwv9
@r_Unity3D

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

r/Unity3D

2D Top Down 8 Directional Idle/Spin Animation w/ skin tone variations.
https://redd.it/1f3it5g
@r_Unity3D

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

r/Unity3D

Devlog on how to create procedural grass that grows anywhere.
https://youtu.be/zRgtNwuSbCQ

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

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

r/Unity3D

Best Unity beginner course between this two in Udemy?

I already know basic C# programming language (Thanks to Microsoft Learn) and I'm heading to learning Unity now. However, I'm torn between these two courses in Udemy:

1. The Ultimate Guide to Game Development with Unity (Official)
https://www.udemy.com/course/the-ultimate-guide-to-game-development-with-unity/

2. Complete C# Unity Game Developer 2D
https://www.udemy.com/course/unitycourse/

If you have any experience with these courses, which one is worth the time? Thanks!

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

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

r/Unity3D

Control Unity Engine with ChatGPT

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

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

r/Unity3D

Interaction System in 60 sec using C# interfaces

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

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

r/Unity3D

Added mirrors and leaderboards to my driving game! Feels complete enough to release a playable version

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

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

r/Unity3D

Thats it, I'm deleting you from manifest.json!
https://redd.it/1f302sb
@r_Unity3D

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

r/Unity3D

Video Player Pauses When Moving Mouse Quickly

Hey, so im having this problem with my video player, in the editor everything works fine however in an actual game build if i move the mouse kind of quickly the video will pause until the mouse has stopped.

I am using the render in texture and have also tried toggling skip on drop but none of that seems to work.

Im wondering if anyone else has had this problem and found a solution

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

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

r/Unity3D

Wireframe shader asset (just finished it, what do you think?)

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

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

r/Unity3D

How do you feel about the atmosphere in our abandoned hospital scene in The Mirror Dimension? What are your suggestions?

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

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

r/Unity3D

Been working on some terrain editing using stamps

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

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

r/Unity3D

An actual interactive music system, where every note is generated live, that my team and I made over the last couple of years. This demo scene showcases some features. Hope you guys like it!

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

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

r/Unity3D

Do muscle proportions look good for a human in a voxel based game ?

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

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

r/Unity3D

How would you approach this style with shaders?

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

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

r/Unity3D

Hex Map 3.4.0: Cell Struct
https://catlikecoding.com/unity/hex-map/3-4-0/

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

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