Skip to main content

Questions tagged [unity3d]

Unity, also referred to as Unity3D, is a cross-platform game engine with a built-in IDE developed by Unity Technologies. It is a commercial development platform for creating games, interactive 3D applications, training simulations, and medical and architectural visualizations.

0 votes
0 answers
105 views

I've been banging my head against the AI for a Hnefatafl game I'm making (pronounced NEF-a-taf-full, otherwise known as Tablut) for quite a while now. It's caused me no end of frustration, though I ...
ModiMagnus's user avatar
7 votes
1 answer
134 views

I'm making a game with a system inspired by the PSP Game Dungeon Dungeon maker 2 the hidden war: Visual Reference. I have everything set up but I feel there are ways to make the code more simple and ...
Jereco Merash's user avatar
5 votes
1 answer
122 views

I made this service locator to be used on my game projects, but it uses pure c#. Basically, new services needs to inherit from the common IService interface to be registered. I also added events to ...
Thomas's user avatar
  • 77
4 votes
2 answers
269 views

I'm working on a game with unity, and I've created a state manager for the in-game state of certain organisms. Each state implements a ISimpleStateManager interface,...
Abdul Ahmad's user avatar
2 votes
2 answers
88 views

Well, I have this function which is called in the Unity Job system, I'm profiling it: The code: ...
z3nth10n's user avatar
  • 247
2 votes
1 answer
264 views

I've written some code that performs movement similar to the Tomb Of The Musk game. The idea is that the objet should move in a certain direction until it encounters an obstacle. After that, the ...
Hanvil's user avatar
  • 23
1 vote
2 answers
131 views

I plan to use a raycast for interacting with all things in my games but Im afraid itll be too laggy how can I shorten this code up? ...
user22619516's user avatar
8 votes
8 answers
3k views

Below snippet is part of a game application's logic and the Update function is called every frame (about 60 times a second). ...
Mukul Kumar's user avatar
0 votes
1 answer
142 views

I'm making a fps game where I created a hierarchical state machine; the problem is the two types of movement (standing movement and crouching movement). They are very similar; the only difference is ...
Thomas's user avatar
  • 77
4 votes
1 answer
164 views

I have attempted to write c# bindings for a Rust library. I have never worked with unmanned code / languages before. Superficially this code does work with no apparent bugs or memory leaks. I want to ...
arcadeperfect's user avatar
2 votes
1 answer
405 views

I'm currently writing a card-game in Unity and the below code handles the player's ability to drag/drop cards onto various sections of the game board. Right now, I have this nagging feeling that as it ...
jump's user avatar
  • 31
1 vote
1 answer
59 views

So I have this helper script that I use to move points around manually while debugging: ...
FaffyWaffles's user avatar
2 votes
1 answer
158 views

Hello I'm currently developing a FPS game for my portfolio and I made a weapon shoot system, and I would like to receive feedback about my code to make more cleaner and efficient. Thanks. ...
Thomas's user avatar
  • 77
0 votes
1 answer
60 views

...
Anonymous's user avatar
2 votes
1 answer
256 views

I made a generic interpolator for Unity objects, but the way it functions makes me question if there's a better way to approach this problem. I want the logic inside of the ...
Thane Brimhall's user avatar

15 30 50 per page
1
2 3 4 5
16