Animation Question
Hello!
I am working on a 2D project and I have run into a bit of a problem. The game I'm making is a 2D grid based tactics game. I am implementing animations currently, and I have 4 directions for idle, walking, moving, etc.
The problem is, if a character gets hit, I need to make into account which way they were facing, and where the hit came from. So that's 4x4=16 animations. Is there any way I can avoid this, and reduce the amount of animations I need to make?
Thanks!
https://redd.it/1hk8wus
@r_Unity3D
Hello!
I am working on a 2D project and I have run into a bit of a problem. The game I'm making is a 2D grid based tactics game. I am implementing animations currently, and I have 4 directions for idle, walking, moving, etc.
The problem is, if a character gets hit, I need to make into account which way they were facing, and where the hit came from. So that's 4x4=16 animations. Is there any way I can avoid this, and reduce the amount of animations I need to make?
Thanks!
https://redd.it/1hk8wus
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
This media is not supported in your browser
VIEW IN TELEGRAM
I'm finally content with our custom building system that alters the terrain
https://redd.it/1hkch9i
@r_Unity3D
https://redd.it/1hkch9i
@r_Unity3D
Our previous investor left us, and for the past two years, my husband and I have been creating a pixel art adventure game entirely with our own funds and through the personal experience of trial and error.
https://www.youtube.com/watch?v=biegtZltbhc
https://redd.it/1hkgbl4
@r_Unity3D
https://www.youtube.com/watch?v=biegtZltbhc
https://redd.it/1hkgbl4
@r_Unity3D
YouTube
how it's going
Media is too big
VIEW IN TELEGRAM
First look at my Space RTS game in early development - Would love your feedback!
https://redd.it/1hkhl62
@r_Unity3D
https://redd.it/1hkhl62
@r_Unity3D
Are Brackey’s tutorials still a solid way to learn Unity?
The tutorials are seven years old at this point. Are they dated? Are they still useful for someone with no Unity experience to learn the system? Are there any alternatives you’d recommend to a complete beginner?
https://redd.it/1hk6xn1
@r_Unity3D
The tutorials are seven years old at this point. Are they dated? Are they still useful for someone with no Unity experience to learn the system? Are there any alternatives you’d recommend to a complete beginner?
https://redd.it/1hk6xn1
@r_Unity3D
Reddit
From the Unity3D community on Reddit
Explore this post and more from the Unity3D community
This media is not supported in your browser
VIEW IN TELEGRAM
Working on a platformer where you play the main melody of the stage. The song is just a cover I made btw.
https://redd.it/1hkjkzg
@r_Unity3D
https://redd.it/1hkjkzg
@r_Unity3D
Canvas Visible but Gameplay Offscreen/Invisible on Mobile Devices (Unity Build Issue)
Hi everyone,
I'm facing an issue with my 2D Unity game where the UI canvas displays perfectly on mobile, but the actual gameplay is not visible—it seems to be offscreen or not rendering. Here's a breakdown of my setup and the problem:
* **What Works:**
* The game runs fine on PC and even on emulators like BlueStacks.
* UI canvases (like the main menu, victory screen, etc.) display properly on mobile.
* **The Problem:**
* After pressing "Play" on the mobile device, the game appears to load, but the gameplay elements (like the player and obstacles) aren't visible.
* The game logic is working because touching the screen rapidly progresses through win screens and other canvases, but I can't see any gameplay visuals.
* **What I’ve Tried:**
* Verified the camera position and its settings (Clear Flags: Skybox, Viewport Rect: 0,0 to 1,1).
* Checked that gameplay elements aren’t on layers excluded by the camera’s Culling Mask.
* Adjusted the Canvas Scaler to **Scale With Screen Size** with a reference resolution of 1920x1080.
* Ensured that gameplay objects are within the camera's view frustum and not behind other objects.
Has anyone faced a similar issue? Could this be related to screen resolution or some rendering issue with the camera or canvas? Any suggestions for debugging this on mobile would be greatly appreciated!
Everything works perfectly in the Unity Editor and on PC builds, but the problem only occurs on actual mobile devices.
https://redd.it/1hkkzy4
@r_Unity3D
Hi everyone,
I'm facing an issue with my 2D Unity game where the UI canvas displays perfectly on mobile, but the actual gameplay is not visible—it seems to be offscreen or not rendering. Here's a breakdown of my setup and the problem:
* **What Works:**
* The game runs fine on PC and even on emulators like BlueStacks.
* UI canvases (like the main menu, victory screen, etc.) display properly on mobile.
* **The Problem:**
* After pressing "Play" on the mobile device, the game appears to load, but the gameplay elements (like the player and obstacles) aren't visible.
* The game logic is working because touching the screen rapidly progresses through win screens and other canvases, but I can't see any gameplay visuals.
* **What I’ve Tried:**
* Verified the camera position and its settings (Clear Flags: Skybox, Viewport Rect: 0,0 to 1,1).
* Checked that gameplay elements aren’t on layers excluded by the camera’s Culling Mask.
* Adjusted the Canvas Scaler to **Scale With Screen Size** with a reference resolution of 1920x1080.
* Ensured that gameplay objects are within the camera's view frustum and not behind other objects.
Has anyone faced a similar issue? Could this be related to screen resolution or some rendering issue with the camera or canvas? Any suggestions for debugging this on mobile would be greatly appreciated!
Everything works perfectly in the Unity Editor and on PC builds, but the problem only occurs on actual mobile devices.
https://redd.it/1hkkzy4
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
Made a tool to automate converting Unreal's texture maps to Unity's texture maps
https://redd.it/1hknhxf
@r_Unity3D
https://redd.it/1hknhxf
@r_Unity3D
Reddit
From the Unity3D community on Reddit: Made a tool to automate converting Unreal's texture maps to Unity's texture maps
Explore this post and more from the Unity3D community
Nested gameobject problem
Hi there, I'm supernew to Unity, and currently trying some very basic stuff like creating child gameobjects
to separately store a sprite and a collider for the parent gameobject. My expectation was that children with automatically have the parents' transform, but that does not seem to happen for me. Any idea on what I could be doing wrong? For the record, I am using Unity 6.
https://redd.it/1hkoqy4
@r_Unity3D
Hi there, I'm supernew to Unity, and currently trying some very basic stuff like creating child gameobjects
to separately store a sprite and a collider for the parent gameobject. My expectation was that children with automatically have the parents' transform, but that does not seem to happen for me. Any idea on what I could be doing wrong? For the record, I am using Unity 6.
https://redd.it/1hkoqy4
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
This media is not supported in your browser
VIEW IN TELEGRAM
In 2018, our Early Access flopped, and I ran out of money. I went back to work, saved up, and now, 1 month from release, we’re back! Today, we launched a free demo with create mode. Try it out (or let your kids!) and tell me what you think. Thanks! 🏃♂️🔥 (link in comment)
https://redd.it/1hko6cn
@r_Unity3D
https://redd.it/1hko6cn
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
After a year and a half I finally released my 90 minute tutorial on procedural animation in Unity! I hope it helps out the community! [Link in comments]
https://redd.it/1hkqee7
@r_Unity3D
https://redd.it/1hkqee7
@r_Unity3D
Firebase not initializing in Meta Quest 3 but does on android and editor. (Same Project)
I am trying to use Firebase with Meta Quest but it's not initializing.
Same code initializes in android phone and editor but just not in meta quest 3.
Any suggestions, devs ?
Thanks!
https://redd.it/1hkt2ud
@r_Unity3D
I am trying to use Firebase with Meta Quest but it's not initializing.
Same code initializes in android phone and editor but just not in meta quest 3.
Any suggestions, devs ?
Thanks!
https://redd.it/1hkt2ud
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community