251
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Doing some stylized flat art in Unity with shaders
https://redd.it/1v37dna
@r_Unity3D
Bezi Jam #12 [$400 Prizes] - Starts July 24 (Friday)
https://itch.io/jam/bezi-jam-12
https://redd.it/1v36qhb
@r_Unity3D
Buscando colaboradores para mi plataformas 2D en Unity (The Adventure of Frida)
Looking for: Passionate developers, level designers, and practitioners to help create and build out the remaining worlds of an arcade 2D platformer from scratch, featuring custom enemies, secrets, and a final boss fight to save the princess.
Skills: Unity (C#), game design, level layout, and project management (First world already built and set up on GitHub).
Project: The Adventure of Frida — A 2D retro arcade platformer in Unity featuring custom Fruits collection mechanics, increasing difficulty, and community-built worlds. Repository:https://github.com/alexgomezmind-art/The-Anventured-Of-Frida
Length of availability: Ongoing / Flexible
Status: Open 🟢
https://redd.it/1v34te9
@r_Unity3D
diegetic branching path selection
https://redd.it/1v2tvj2
@r_Unity3D
Sprite sheets: organization and updating
/r/gamedev/comments/1v2updh/sprite_sheets_organization_and_updating/
https://redd.it/1v2uu9v
@r_Unity3D
Devlog #4 — Bug Fixes and Enemy Doppables
Had a busy month and didn't touch the game for a few weeks (last update was June 20th 😅). Back at it now - here's what changed:
🐞BUGS FIXED:
1. Gun was autoshooting enemies before they finished their spawn animation
2. Some bullets weren't registering hits on enemies - turned out to be the bullet pooling logic
3. Unity's Animator was throwing a persistent error that blocked hit detection
🆕 ADDITIONS:
1. Enemies now drop loot on death: candy, coins, and limited chests 🍬💀
2. Reworked the gun animation - not going for polish yet, just a better feel
NEXT:
Player XP (tied to candy/coin pickups)
Wave Manager
Finalizing the core loop
Player stats (maybe)
GIF below shows the current state - droppables spawning and the new gun animation in action.
https://i.redd.it/d0ryp6ib0meh1.gif
https://redd.it/1v2nfj1
@r_Unity3D
Scouting potions that let you see what's behind hidden tiles
https://redd.it/1v2j22c
@r_Unity3D
(Simple) Previous frame reference
Hey hey 👋
I'm currently working on a top-down 2D game, but struggling with the sprite flipping and animations.
EDIT: This is for NPCs, not the actual player.
All the guides I can find make the flipping relevant to the player, whereas I want the flipping to be relevant to its own rigidbody.
My first thought is to reference the scale from the last frame and flip() if there's a sign difference in the X-axis between the previous and current frame, but I'm having trouble finding resources on how to do this (Note: I'm a C# newbie).if Mathf.Sign( //Last frame// localScale.x) != Mathf.Sign(gameObject.localScale.x){ flip() }
↑ Not the actual code, but I thought it'd help highlight the principle I'm trying to achieve. ↑
I've tried a LateUpdate() approach, but, it doesn't seem to like it.
Any advice?
https://redd.it/1v2h0yq
@r_Unity3D
I’ve tried to create retro-style graphics for my game, but it’s turning into something rather mysterious.
https://redd.it/1v2brrt
@r_Unity3D
From Sketch to a Playable 2.5D Adventure
https://redd.it/1v29xvv
@r_Unity3D
How do I fix my freaking Character????
I have been making a game, and for some reason, my whole character seems to rotate when I move my mouse, sometimes only my camera moves. I had this problem since I first started this project but I somehow fixed it somehow, but it does come up sometimes, like for example when I disable my character movement script or something. Right now, the issue has returned in full scale and I can't seem to control my character, the character seems to rotate around a circle from a fixed center, that is just intuition but it does feel like it when I move my camera around, I didn't even do anything, it was working fine yesterday. And I want to resolve it permanently.
Here are some details regarding this \- A video showing the issue (above), current unity version and associated scripts. -
First, here's my player hierarchy - **https://ibb.co/pjrcvZDr**
"Player" being an empty game object, Character is the actual game object which has the scripts and the Character controller and under the character is the main camera.
Also here are images for the character controller and the scripts in the hierarchy -
- **https://ibb.co/VYMJRSwv**
- **https://ibb.co/FLyvXsTX**
# Current Version - Unity 6.4 (6000.4.8f1)
# The Scripts (I am a beginner so scripts may be badly written)
1. Character Movement Script -
using UnityEngine;
using UnityEngine.TextCore.Text;
public class PlayerMovement : MonoBehaviour
{
Header("Player Settings")
SerializeField float normalSpeed = 3f;
SerializeField float sprintSpeed = 5f;
private float speed;
//References
private CharacterController characterController;
SerializeField private VelocityManagement velocityManagement;
private PlayerData playerData;
SerializeField AudioClip grassWalking;
SerializeField AudioClip houseWalking;
SerializeField float sprintPitch = 1f;
SerializeField float normalPitch = 0.7f;
//Privates
float movementX;
float movementZ;
Vector3 move;
private float velocity;
private AudioSource walking;
void Start()
{
characterController = GetComponent<CharacterController>();
playerData = GetComponent<PlayerData>();
walking = GetComponent<AudioSource>();
}
void Update()
{
if (playerData.isMobile)
{
movementX = Input.GetAxisRaw("Horizontal");
movementZ = Input.GetAxisRaw("Vertical");
move = transform.forward movementZ + transform.right movementX;
move = move.normalized;
move.y = velocityManagement.velocity;
AudioClip walkingClip = playerData.isInside ? houseWalking : grassWalking;
walking.clip = walkingClip;
if (Input.GetKey(KeyCode.LeftShift))
{
speed = sprintSpeed;
walking.pitch = sprintPitch;
}
else
{
speed = normalSpeed;
walking.pitch = normalPitch;
}
if (movementX != 0 || movementZ != 0)
{
if (!walking.isPlaying)
{
walking.Play();
}
}
else
{
if (walking.isPlaying)
{
walking.Stop();
}
}
characterController.Move(move speed Time.deltaTime);
}
}
}
2. Camera Rotation Script -
using UnityEngine;
public class CameraRotation : MonoBehaviour
{
Header("Camera Settings")
Unity 7 Announced
https://unity.com/releases/unity-7
https://redd.it/1v25cnk
@r_Unity3D
Before vs. Now: How my first game, Memoirs, evolved after a year of development
https://redd.it/1v1zivf
@r_Unity3D
Free Textures Plastics
https://redd.it/1ux321v
@r_Unity3D
Working on a new area for my soulsvania game. Do you guys like the atmosphere/ style so far?
https://redd.it/1ux1bar
@r_Unity3D
Why does my player movement "teleport"?
/r/unity/comments/1v31lsn/why_does_my_player_movement_teleport/
https://redd.it/1v3401f
@r_Unity3D
[Hobby] Busco colaboradores de corazón para divertirnos creando los mundos de "The Adventure of Frida" (Plataformas 2D en Unity)
"¡Hey! Actualmente estoy desarrollando un juego de plataformas arcade retro en 2D llamado **The Adventure of Frida**, hecho en **Unity (C#)**, y estoy buscando gente que quiera sumarse a colaborar de corazón y por pura diversión para construir los siguientes mundos desde cero.
La idea es simple: **juntar a un grupo de personas apasionadas** que disfruten creando mecánicas, niveles y retos divertidos solo por el gusto de hacer un videojuego juntos.
**¿Qué buscamos?**
* **Diseñadores de niveles:** Para armar los recorridos, secretos y la progresión de dificultad.
* **Programadores / Desarrolladores en Unity:** Para ajustar físicas, scripts y mecánicas.
* **Artistas y creativos:** Que quieran aportar al estilo visual, enemigos o efectos.
**Factores y diseño clave del juego:**
* **Mecánica de Colección (**`Fruits`**):** Sistema dedicado de recolección de frutas dentro de los escenarios que interactúa con la puntuación y el progreso.
* **Dificultad Progresiva:** Diseñado bajo una estructura clásica de arcade donde cada mundo incrementa el reto táctico y de reflejos para el jugador.
* **Enemigos Personalizados y Secretos:** Áreas ocultas en los mapas, enemigos con comportamientos únicos y un enfrentamiento final contra un jefe para rescatar a la princesa.
* **Base de Código Lista:** El **Primer Mundo** ya está completamente funcional, programado y montado para que puedas descargar el proyecto y empezar a programar de inmediato desde aquí: 👉[**Enlace al Repositorio en GitHub - The Adventure of Frida**](https://github.com/alexgomezmind-art/The-Anventured-Of-Frida)
**Sobre el proyecto:**
* **Motor:** Unity (C#)
* **Nuestra vibra:** Un espacio libre de presiones comerciales, hecho por diversión, compañerismo, comunicación constante y ganas de aprender haciendo.
Si te interesa sumarte de corazón, revisar el código o aportar ideas para los nuevos mundos, puedes **dejar un comentario aquí abajo o escribirme por mensaje directo**. ¡Hagamos algo genial juntos!
https://redd.it/1v356mx
@r_Unity3D
Integrating FMOD into an existing Unity project
Are there any resources or tutorials for replacing an existing game’s hard-coded audio system with FMOD?
Tl;dr I’m a VERY new solo dev, a significant portion of the game is built and I’ve been hard-coding all of my SFX in Unity, which has been fine so far, but now going down the road of adding adaptive music stems, and hit that old familiar beginner dev roadblock of “oh, nobody told you this was gonna be a WHOLE ASS THING and you should’ve been doing it all along?”
Is there a way to just update my existing code so it integrates with FMOD, without doing a complete wipe and redoing my entire audio infrastructure? The only resources I’ve been able to find are ones that assume I’m starting a brand new project from scratch, and I can’t be the first person to run into this issue. Thank you all in advance, I have no idea what I’m doing!
https://redd.it/1v304yl
@r_Unity3D
I'm having issues with the drag and drop functions
https://redd.it/1v2xgf0
@r_Unity3D
Aquarium-Messe
https://gamedevcafe.de/filebase/index.php?download/167/
https://redd.it/1v2jb4z
@r_Unity3D
Unity TileMap artifacts
https://redd.it/1v2llmq
@r_Unity3D
Fruit-Pop
https://gamedevcafe.de/filebase/index.php?download/168/
https://redd.it/1v2jccl
@r_Unity3D
I am making retro motocross game and just added a announcer
https://redd.it/1v2bgao
@r_Unity3D
Artists who can't program want to make a game, any tips?
Hello, me and my sister are both concept artists/illustrators and want to make our own game following a story of a character from our shared project. We can't afford to hire anyone to help with the technical side so we want to learn.
It's supposed to be isometric 2D view kinda imitating 3D, all the animations would be also in 2D. I know that, for example, Disco Elysium is made in Unity so I figured that what we want would also be possible.
I'm aware it's going to take a lot of time but I'm willing to learn all i need! I would really like to know where to start when making a game like this, maybe a very general step-by-step order so I know what tutorials should I look for?
For now, we know we want a simple combat focused on shooting, interacting with objects, dialogues and different options/outcomes, finding and using stuff, solving mysteries
I'd appreciate ant tips! Thanks!
https://redd.it/1v2cpz9
@r_Unity3D
SerializeField float sensitivity = 4f;
Header("References")
SerializeField Transform playerBody;
SerializeField private PlayerData playerData;
//Privates
private float mouseX;
private float mouseY;
private float xRotation;
private Vector3 originalLocalPosition;
void Start()
{
Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;
originalLocalPosition = transform.localPosition;
}
void Update()
{
//Upward/Downward Movement
if (playerData.isMobile)
{
mouseX = Input.GetAxis("Mouse X") sensitivity;
mouseY = Input.GetAxis("Mouse Y") sensitivity;
playerBody.rotation = Quaternion.Euler(0, playerBody.rotation.eulerAngles.y + mouseX, 0);
xRotation -= mouseY;
xRotation = Mathf.Clamp(xRotation, -90, 90);
transform.localRotation = Quaternion.Euler(xRotation, 0f, 0f);
}
}
}
3. Velocity Management Script -
using UnityEngine;
public class VelocityManagement : MonoBehaviour
{
Header("Settings")
SerializeField float gravity = -19.6f;
//References
private CharacterController characterController;
SerializeField private Transform spawnPoint;
//Privates
public float velocity;
private Vector3 move;
void Start()
{
characterController = GetComponent<CharacterController>();
}
void Update()
{
if (characterController.isGrounded && velocity < 0)
{
velocity = -2f;
}
velocity += gravity Time.deltaTime;
if (characterController.transform.position.y < -10f)
{
characterController.transform.position = spawnPoint.position + Vector3.up characterController.height/2;
characterController.transform.rotation = spawnPoint.rotation;
}
}
}
4. Player Data Script -
using UnityEngine;
public class PlayerData : MonoBehaviour
{
Header("Player State")
public bool isInside = false;
public bool isMobile = true;
public bool onPC = false;
}
That is all, if anyone can help me, please do. If you guys need further details/information, I can share my Discord.
Upvote1Downvote0Go to comments1RepostShare
https://redd.it/1v29dik
@r_Unity3D
Help
I’ve just left college after doing game art for one year and studying the whole of game design another year and i don’t know what to do next whether that’s to go to university or to focus on my own skills and growth so any feedback would be highly appreciated
https://redd.it/1v274wp
@r_Unity3D
Why does my sprite keep "sliding"?
https://redd.it/1v24c0a
@r_Unity3D
First game dev project: a city-builder which doesn't rely on grids
https://redd.it/1v1yvx4
@r_Unity3D
Sunset on the big red bridge (plus behind the scene)
https://redd.it/1uwqpws
@r_Unity3D
Got tired of Unity search failing when I forgot exact filenames, so I built a semantic search tool using Sentis.
/r/unity/comments/1uwg8g8/got_tired_of_unity_search_failing_when_i_forgot/
https://redd.it/1uwvs2a
@r_Unity3D