How to connect two objects with a laser [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 11 months ago.
Improve this question
I'm absolutely new game developer. I created an idea when two objects are connected by laser (which can kills enemies). I'm going to make 2d game. I already downloaded Unity and C#.
Oohh, second question ==> what I need for move the game into Android?
Of course I can study this alone, but i want know this now😁)) Thanks

Go to this path: File > Build Settings...
In the Build Settings window select Android from the platforms list on the left side, then click the Switch Platform button.

Related

Capturing mouse clicks in c# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed yesterday.
Improve this question
So, i am trying to create a very basic c# program, that just registers when the left mouse button is being held/pressed. I need this program to also be able to run over other applications, to register when you click while playing a game.
ps: im a complete beginner and have no clue what im doing.
i have looked through librarys but cant find one that would work

C# Hyper-V Manager side menu-like? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I was wondering what type of side menu Microsoft used in their Hyper-V Manager (or mmc as well) and wanted to ask you If there is such control in C# (Winform / wpf) and what is the name of it?
I was trying to play with TreeView but it sucked in many ways, e.g. I was not able to "unfocus" selected node and so on.
Hope you are all doing well during this time.
Thank you!
hyper-v manager side menu screenshot
You can either use a 3rd party library having Accordion Control
Ex: https://docs.devexpress.com/WindowsForms/114553/controls-and-libraries/navigation-controls/accordion-control
Or make one for yourselves using WPF/WinForms Custom Control.

My Unity Project on Phone/Tablet looks Horrible [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Inside Unity Editor my project looks fine but when I play and I use unity remote on my tablet/phone it looks horrible anybody knows why?
This is the Unity Editor Screen
enter image description here
Of course it will look horrible if you are using Unity Remote. It's downsizing image projected to your phone, otherwise bandth of USB cable will not be enough.
I recommend to build app and install apk to test your app. There are too many problems that you just can't catch using Unity Remote. Like Input Controls. I always had problems with touches even tho in editor and Remote all worked just fine.

Is there a way to programmatically disable then re-enable a mic [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have been having some problems with my mic when I boot my pc I have to either disable and re-enable my mic in recording devices or unplug the usb and put it in again to reset it...
I'm a pretty novice programmer but do know my way around bat and C# (sort of).
Is there a way I can do this either through a program or through making a script and chucking it in the startup folder.
Thanks...
One easy solution is to use devcon in a .bat file.
Here are some additional details:
https://msdn.microsoft.com/en-us/windows/hardware/drivers/devtest/devcon-disable
You can try the devcon command, available here: https://msdn.microsoft.com/windows/hardware/drivers/devtest/devcon?f=255&MSPPError=-2147217396

Trigger for tower game in C# for wp7 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I was thinking about building a tower defence game and was trying to find the best way
to find the shortest path to the other side.
How can i do this?
I know I need to re evaluate the path on every move due to people adding more towers.
I am thinking I need to use visualtreehelper to find what is in the way.
This might be better asked at https://gamedev.stackexchange.com/
You don't need to re-calculate the path all the time, only when a tower is created or destroyed.
The A* algorithm would be commonly used, there are many samples around. Making your game tile-based would simplify its use, as each tile would be a node, and it's trivial to work out the connections (i.e. up/down/left/right, providing the node isn't blocked).

Categories

Resources