Migrated my game to ECS/DOTS and material overrides are awesome!
https://redd.it/1cuky8n
@r_Unity3D
New to unity but experienced SWE seeking advice
Hey all. Apologize if this sub sees these questions often.
I’m an experienced SWE primarily working in TS, Python, some rust and some Go. I’ve never done C# or any kind of game development. I’m pretty comfortable as far learning the language as I go I’ve picked up other languages pretty fast thus far.
So my question is what advice would you all have as I embark on a journey to create a 2D tycoon game? Prison Architect is my inspiration for style. I tried the Lego tutorial but it’s 3D based and I don’t really like tutorials I’m really just a dive in heads first learner. So I started a blank project, added a tilemap, a sprite, and a couple scripts and realized that yes this is a journey I will embark on.
What pitfalls have you seen? Are there common issues people struggle with? Any up front do’s or don’t? What is your favorite resources for unity development besides RTFM?
https://redd.it/1cuk08q
@r_Unity3D
Any way to make cpu go crazy without harming the hardware ?
Hi, so this is kind of a stupid question, but for my game, I would like to add some joke setting that would make the computer ventilators go up but without damaging any hardware ?
I have this game idea where it would be a very simple game but with some fake settings like "RTX ON" but it doesn't actually change anything visually and it just would make the fans spin faster to scare the user.
But without harming any hardware in the game or anything.
Does anyone know if it's possible ?
https://redd.it/1cuad8a
@r_Unity3D
Learning Photon Fusion - a problem loading scenes
I am trying to create a 2 player game. I have a scene where there is a IU with a simple button and input field, where a player can input a session name and create or join a session. after thhey join, I want to load the next scene, the actual game board. however, for some reason no matter how and where I try to do it, the player connects but the scene doesnt change. where am I going wrong?
(the methods are connected to a "join" and "create" buttons)
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using Fusion;
using Fusion.Sockets;
public class MatchMenuController : NetworkBehaviour, INetworkRunnerCallbacks
{
SerializeField private TMPInputField createMatchInput;
[SerializeField] private TMPInputField joinMatchInput;
SerializeField private byte playerMax = 2;
SerializeField private NetworkRunner runner;
private void CreateMatch()
{
string matchName = createMatchInput.text;
StartGameArgs gameArgs = new StartGameArgs();
gameArgs.GameMode = GameMode.Shared;
gameArgs.CustomLobbyName = matchName;
gameArgs.PlayerCount = playerMax;
gameArgs.SceneManager = gameObject.AddComponent<NetworkSceneManagerDefault>();
/ if (!runner.IsCloudReady)
{
Debug.LogError("Failed to connect to cloud");
}
else
{/
var result = runner.StartGame(gameArgs);
if (runner.IsSceneAuthority)
{
runner.LoadScene(SceneRef.FromIndex(2), LoadSceneMode.Additive);
}
if (result != null)
{
Debug.Log("Session created!");
}
else
{
Debug.LogError("Failed to Start");
}
/ }/
}
public void JoinMatch()
{
string matchName = joinMatchInput.text;
StartGameArgs gameArgs = new StartGameArgs();
gameArgs.GameMode = GameMode.Shared;
gameArgs.CustomLobbyName = matchName;
gameArgs.PlayerCount = playerMax;
gameArgs.SceneManager = gameObject.AddComponent<NetworkSceneManagerDefault>();
var result = runner.StartGame(gameArgs);
if (result != null)
{
Debug.Log("Session created!");
}
else
{
Debug.LogError("Failed to Start");
}
}
public void OnObjectExitAOI(NetworkRunner runner, NetworkObject obj, PlayerRef player)
{
}
public void OnObjectEnterAOI(NetworkRunner runner, NetworkObject obj, PlayerRef player)
{
}
public void OnPlayerJoined(NetworkRunner runner, PlayerRef player)
{
if (runner.IsSceneAuthority)
{
runner.LoadScene(SceneRef.FromIndex(2), LoadSceneMode.Single);
}
}
public void OnPlayerLeft(NetworkRunner runner, PlayerRef player)
{
}
public void OnInput(NetworkRunner runner, NetworkInput input)
{
}
public void OnInputMissing(NetworkRunner runner, PlayerRef player, NetworkInput input)
{
}
public void OnShutdown(NetworkRunner runner, ShutdownReason shutdownReason)
{
}
public void OnConnectedToServer(NetworkRunner runner)
{
if (runner.IsSceneAuthority)
{
runner.LoadScene(SceneRef.FromIndex(2), LoadSceneMode.Single);
}
}
public void
Here's Stabspore's before and after side by side!
https://redd.it/1cu2kn9
@r_Unity3D
We're making a Dark Fantasy VR game in Unity
https://www.youtube.com/watch?v=xFagimmRp7c
https://redd.it/1cu03yz
@r_Unity3D
How to make a Roguelike Dungeons and Game Design like Binding Of Isaac, ETG ?
I have made a platformers and hypercasual games in unity. Now I have started making a roguelike but I had a few issues
- How to make procedural dungeons with Entry/ Exit
- How to spawn enemies in map and where to spawn enemies
- How to place enemies and pickups in the dungeons without overlapping with walls or other items.
- How to Balance difficulty.
https://redd.it/1ctyqpj
@r_Unity3D
I recently got really into ShaderGraph. Today I modified Unity's shadows to be sharp and rounded with my custom shader!
https://redd.it/1ctncax
@r_Unity3D
When you're on magical adventure, make sure to visit Tomi's for any supplies you may need.
https://redd.it/1ctn9sj
@r_Unity3D
Little changes can make a big difference. Previously in Mighty Marbles all camera changes were same speed which led to the camera moving faster than marble. Now each change has it's own duration and you get these nice cinematic changes!
https://redd.it/1culso3
@r_Unity3D
What do you think of an inventory system like this?
https://redd.it/1cuio39
@r_Unity3D
Working on a small co-op arcade game in my free time. Temporary UI but I have a general gameplay impression, so how it looks?
https://redd.it/1cueh0f
@r_Unity3D
Has anyone had this problem
So, as basic as I can be I will try to explain.
All of a sudden, my 2d player sprite now does not flip when facing left.
When i click play, and turn the animator off in the inspector, everything works fine flipping, but obviously without the animations.
But when I turn animator back on, the animation play but only when facing right, and when facing left ... moonwalks!
Now, I have been working on this game for a long time, and I am fixing multiple things in the game, but this one was not expected.
I have it set up where if it faces left it flips image ... and it was working but now i cant seem to fix it
And creating left animations is not what I intend to do when it was all working fine
I have no idea, anyone else had this?
https://redd.it/1cudwe8
@r_Unity3D
OnDisconnectedFromServer(NetworkRunner runner, NetDisconnectReason reason)
{
}
public void OnConnectRequest(NetworkRunner runner, NetworkRunnerCallbackArgs.ConnectRequest request, byte token)
{
}
public void OnConnectFailed(NetworkRunner runner, NetAddress remoteAddress, NetConnectFailedReason reason)
{
}
public void OnUserSimulationMessage(NetworkRunner runner, SimulationMessagePtr message)
{
}
public void OnSessionListUpdated(NetworkRunner runner, List<SessionInfo> sessionList)
{
}
public void OnCustomAuthenticationResponse(NetworkRunner runner, Dictionary<string, object> data)
{
}
public void OnHostMigration(NetworkRunner runner, HostMigrationToken hostMigrationToken)
{
}
public void OnReliableDataReceived(NetworkRunner runner, PlayerRef player, ReliableKey key, ArraySegment<byte> data)
{
}
public void OnReliableDataProgress(NetworkRunner runner, PlayerRef player, ReliableKey key, float progress)
{
}
public void OnSceneLoadDone(NetworkRunner runner)
{
}
public void OnSceneLoadStart(NetworkRunner runner)
{
}
}
https://redd.it/1cu5jto
@r_Unity3D
Need help with this Exception (explained it in a diagram)
https://redd.it/1cu5qch
@r_Unity3D
Quiz Millionaire Game Asset : Easily Make a Quiz Game in unity
https://youtu.be/l842myBU194
https://redd.it/1cu2w4o
@r_Unity3D
Your feedback is appriciated. I am developing a space based turn based game, but barelly got any interests on Steam although that I have visitors. Yes, the trailer is missing etc, but I would say that beside that the available material should grab some of them but nope. Thoughts? Thanks!
https://redd.it/1cu09iy
@r_Unity3D
UnityTip - How to Automatically remove UNUSED using statements on Save
https://redd.it/1ctzoaf
@r_Unity3D
Do you use security tools for your game? Like anti cheating, obfuscation or encryption or similar? What is your opinion on this?
View Poll
https://redd.it/1ctys98
@r_Unity3D
I remade my trailer after feedback from Reddit! What do you think ?
https://redd.it/1ctbtnl
@r_Unity3D
Shaderposting - UVs scale with object size for an ILLUSION
https://redd.it/1ctgwgu
@r_Unity3D