Skip to main content

All Questions

Tagged with or
1 vote
1 answer
49 views

In the Unity engine, I am using GPGS as a token to log in via Google sign-in. It works, but now I have another issue: As of the last update of the SDK 2.1., this method in PGS for Unity is deprecated: ...
1 vote
1 answer
41 views

This could be answered from a perspective of Unity dev, or generically for programming - either would be beneficial. I'm working on a game and am using two packages, More Mountains' TopDownEngine (for ...
1 vote
1 answer
1k views

So, according to some documentation I found, the Xbox controller on Mac does not return Dpad presses as vertical/horizontal axes: As you can see, the Dpad is only recognized as buttons 5, 6, 7, and 8, ...
2 votes
2 answers
922 views

I'm trying to determine the best architectural approach for handling communication in Unity, specifically when the interaction is strictly one-to-one. The Core Design Conflict I have five crucial, ...
2 votes
1 answer
1k views

I'm using blender to create assets to use in Unity3D, and I'm having some trouble understanding how the smooth/flat shading interacts with shadows, I'm sorry if it has been asked before, but all the "...
1 vote
2 answers
2k views

I'm using unity2D and C#, and I have a code for touch screen: ...
0 votes
1 answer
2k views

I'm making a 2D platformer game with the default Unity 2D physics. I am implementing slopes, but my player slips down the slope because of the physics. Here is the code I use for the player movement: ...
0 votes
1 answer
1k views

On a few objects I use a technique where instead of using geometry, I place planes with a Cutout Material on top of each other, creating a 3D illusion with minimal cost. The thing is, it looks great ...
3 votes
2 answers
1k views

So for my game I need the ability to add a grid overlay over my tilemap. Now I don't think that making the grid with each cell being its own GameObject with some SpriteRenderer would be hard to do but ...
3 votes
1 answer
148 views

I'm trying to implement a robust pause system in Unity and I'm confused about the correct approach. My first (very simple) implementation in my previous project used a ...
1 vote
1 answer
59 views

I'm using a very basic animation to create a transition, which involves deactivating a gameobject on the last keyframe. Goal: The ChangeRound animation is about 1 second long. It enables the UI image ...
12 votes
1 answer
1k views

I have a spell system where a the spell is a self-contained game object handling all the logic. When done, it destroys itself. This works great Then I added a second game object handling animation, ...
1 vote
4 answers
2k views

I'm trying to display file names including their directory. When the file path gets too long for the text box, I want to align it right, because the filename is more important than the directory. I ...
5 votes
2 answers
8k views

I'd like my game to have the same aspect ratio at all cost, including keeping all UI elements fixed in the same place. I'm totally ok with losing screen space in the interest of fixing the aspect ...
4 votes
1 answer
2k views

I have a button on my main menu that creates and has the player join a random room. After the client joins this room, I change the scene to the game (main) scene in the ...

15 30 50 per page
1
2 3 4 5
1116