Ability System i learned thanks to help from people here, comes with template code to make your own ability! Link for unity package in the denoscription... Feel free to give tips or ask questions [Short code and uses flyweight pattern, noscriptableObjects]
https://redd.it/1hc7qfh
@r_Unity3D
https://redd.it/1hc7qfh
@r_Unity3D
Reddit
From the Unity2D community on Reddit: Ability System i learned thanks to help from people here, comes with template code to make…
Explore this post and more from the Unity2D community
i have walls that you can place down for my top down 2.5D game and i have all these sprites to make them look connected
i have walls that you can place down for my top down 2.5D game and i have all these sprites to make them look connected. Im using rule tiles rn but i cant figure out how to give each tile its own y sorting and own health noscript what should i do?
i rather make it so you place gameobjects instead of tiles cause that seems easier to add the all the noscripts i need but idk how i can achieve the same effect as a rule tile.
(idk how to word this question AT ALL BTW sorry)
https://redd.it/1hc8ymq
@r_Unity3D
i have walls that you can place down for my top down 2.5D game and i have all these sprites to make them look connected. Im using rule tiles rn but i cant figure out how to give each tile its own y sorting and own health noscript what should i do?
i rather make it so you place gameobjects instead of tiles cause that seems easier to add the all the noscripts i need but idk how i can achieve the same effect as a rule tile.
(idk how to word this question AT ALL BTW sorry)
https://redd.it/1hc8ymq
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
How to tell if the 2D space is full?
I encountered a problem and asked for help. Suppose I have a 2D desktop with some objects placed on it, which may be circles, capsules, etc. They can be dragged and placed irregularly but cannot overlap. When I get a new I want to place an object on the table. How can I tell if the table has enough space to accommodate it, or if the table space is already full?
https://redd.it/1hca9rm
@r_Unity3D
I encountered a problem and asked for help. Suppose I have a 2D desktop with some objects placed on it, which may be circles, capsules, etc. They can be dragged and placed irregularly but cannot overlap. When I get a new I want to place an object on the table. How can I tell if the table has enough space to accommodate it, or if the table space is already full?
https://redd.it/1hca9rm
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
How to remind myself when i have to call base when overriding and when it's just to replace a behaviour or im doing it wrong?
for example Awake() when the parent and children both have variables to set i need to remember to call base
but if i make a weapon reload virtual function it doesn't require calling base, but it's not necessary to implement it neither if i don't want the weapon to reload
https://redd.it/1hcatzy
@r_Unity3D
for example Awake() when the parent and children both have variables to set i need to remember to call base
but if i make a weapon reload virtual function it doesn't require calling base, but it's not necessary to implement it neither if i don't want the weapon to reload
https://redd.it/1hcatzy
@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
Made a noscript for slicing meshes that I thought looked pretty cool
https://redd.it/1hc7yjo
@r_Unity3D
https://redd.it/1hc7yjo
@r_Unity3D
CaptureScreenshot not updating in our game!
Our game uses a system where it takes a screenshot of a finished food item to show the player what they made when they deliver it out to a customer! However, we've run into an issue where in the build, not the editor, the screenshot does not seem to update. It works perfectly fine in the editor, however. Any potential fixes to this problem? Thank you!
https://redd.it/1hcetxn
@r_Unity3D
Our game uses a system where it takes a screenshot of a finished food item to show the player what they made when they deliver it out to a customer! However, we've run into an issue where in the build, not the editor, the screenshot does not seem to update. It works perfectly fine in the editor, however. Any potential fixes to this problem? Thank you!
https://redd.it/1hcetxn
@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 our game, there are mini-puzzle games. Similar to Goose Goose Duck, players play mini-games during the day to obtain clues. I'm brainstorming other puzzle ideas with a similar vibe. Would it be better to add more challenging puzzles or to include a lot of easier puzzles?
https://redd.it/1hcepaz
@r_Unity3D
https://redd.it/1hcepaz
@r_Unity3D
pls help i need help asap
# can anyone help me write a code?
so basically im making a 2d topdown game and i need a movement code can anyone help mine isnt working i used this video https://youtu.be/ongCws4gs5A?si=yXxHz6mZxkcSoWXI and this is the code
using UnityEngine;
public class TopDownPlayerMovement : MonoBehaviour
{
public float moveSpeed = 5f;
private Vector2 moveInput;
private Vector2 movement;
void Update()
{
moveInput.x = Input.GetAxisRaw("Horizontal");
moveInput.y = Input.GetAxisRaw("Vertical");
if (moveInput.magnitude > 1)
{
moveInput.Normalize();
}
movement = moveInput moveSpeed;
transform.Translate(movement Time.deltaTime, Space.World);
}
}
https://redd.it/1hcgyw9
@r_Unity3D
# can anyone help me write a code?
so basically im making a 2d topdown game and i need a movement code can anyone help mine isnt working i used this video https://youtu.be/ongCws4gs5A?si=yXxHz6mZxkcSoWXI and this is the code
using UnityEngine;
public class TopDownPlayerMovement : MonoBehaviour
{
public float moveSpeed = 5f;
private Vector2 moveInput;
private Vector2 movement;
void Update()
{
moveInput.x = Input.GetAxisRaw("Horizontal");
moveInput.y = Input.GetAxisRaw("Vertical");
if (moveInput.magnitude > 1)
{
moveInput.Normalize();
}
movement = moveInput moveSpeed;
transform.Translate(movement Time.deltaTime, Space.World);
}
}
https://redd.it/1hcgyw9
@r_Unity3D
YouTube
4. How to make a 2D RPG in Unity - Character Movement - Code
In this video, we will use the logic from the previous video to code the character movement. We will be creating the movement component, getting input from the keyboard, and using physics to move our character in the world.
Support me on Patreon: https:…
Support me on Patreon: https:…
This media is not supported in your browser
VIEW IN TELEGRAM
Universal Gravitation with 50k objects in Unity. Optimized with GPU compute shader's calculations + indirect GPU instancing
https://redd.it/1hch5rt
@r_Unity3D
https://redd.it/1hch5rt
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
I released my first Asset about Insect Simulations (Free codes on Desc)
https://redd.it/1hcjgbu
@r_Unity3D
https://redd.it/1hcjgbu
@r_Unity3D
ENSCROLL: Craft Magical Scrolls in my first Steam indie game - Free Release on December 17th!
https://redd.it/1hckd5g
@r_Unity3D
https://redd.it/1hckd5g
@r_Unity3D
Reddit
From the Unity2D community on Reddit: ENSCROLL: Craft Magical Scrolls in my first Steam indie game - Free Release on December 17th!
Explore this post and more from the Unity2D community
This media is not supported in your browser
VIEW IN TELEGRAM
New blink / talk animation and voice. Before or after voice? Sound on
https://redd.it/1hckfto
@r_Unity3D
https://redd.it/1hckfto
@r_Unity3D
Defender's Dynasty, From a Simple Tutorial to a Full-Fledged Game. First Game, a Journey Through Iterations, Refinements and Creativity!
https://redd.it/1hcn45o
@r_Unity3D
https://redd.it/1hcn45o
@r_Unity3D
A procedural solar system, somewhere... made with Unity HDRP and lots of noise!
https://redd.it/1hcjxna
@r_Unity3D
https://redd.it/1hcjxna
@r_Unity3D
Reddit
From the Unity3D community on Reddit: A procedural solar system, somewhere... made with Unity HDRP and lots of noise!
Explore this post and more from the Unity3D community