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 5 days ago.
Improve this question
So I am making a game and in cutscene (which is 2D) I added explosion made from squers which happends in first 2 seconds. So particles burst but after 3 seconds they just go behind the background.
I had an issue with particles bursting behinds the backgrounds so I just lowerd Z position and it worked. Particles came forward but when I play animation they are foreward just for 3 seconds.
Related
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 6 months ago.
Improve this question
friends, when I wrote a script for a circle to rotate at a certain speed, we can normally change the speed from within unity, but I also want the player to change the speed just like we change the speed in unity, I searched and couldn't find it, can anyone help?
You will need to add a UI element such as a button, slider or inputfield, then connect the event to a method in your script to change the speed.
https://docs.unity3d.com/ScriptReference/UIElements.Slider.html
Video tutorial: https://www.youtube.com/watch?v=k2vOeTK0z2g
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
Do you know the on click animation from Cookie Clicker? When you click on the big cookie there is a small cookie poping out from where you clicked that jumps, falls and fades away. Can somebody help me make the little image appear and jump?
create a particle system
edit it to be a burst of particles (10 of them at once)
write a input system that triggers an unity event when pressing a button
trigger the particle system via code
Particles tutorial: https://www.youtube.com/watch?v=FEA1wTMJAR0
how to Trigger them via script: https://www.youtube.com/watch?v=qOXD7oRXBKQ
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 4 months ago.
Improve this question
The title basically says it all but how how would you go about making a c# code to unlock Roblox FPS cap?
I've tried looking online but couldn't find anything myself
Someone has already made a FPS Unlocker for this game.
https://github.com/axstin/rbxfpsunlocker/releases
It is written in C++. The code is open-source so you could study it to see how it works.
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 was following this tutorial:
https://www.codeproject.com/tips/357063/a-very-simple-car-race-game-in-csharp-and-opengl
Determining place in this game is trivial, as the cars only move in one dimension on a straight line. How would it be done in more generic maps with the cars moving in more than one dimension?
EDIT:
By place, I mean 1st, 2nd, 3rd place, ad nauseum.
How do you determine which car is closer to finishing than the others?
In 3D Racing Games, how is place determined?
By that I assume you mean position.
If so by a simple scalar quanity.
Cars on a 3D race track in a computer or reality, are still constrained to being on a "road". Assuming no intersections, you can ignore the third dimension. Because a track is a loop, you can also unwind it and any point on the path can be a scalar value between 0 and 1 with:
0 being the start of the track
0.5 half-way along; and
1 reaching the start again
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
Is there a way to read live game stats such as current health, mana and etc? Something like what this guy did.
http://www.youtube.com/watch?v=-UWVuvDyk6Q
Yes.
https://developer.riotgames.com
Here's a library that wraps the API:
https://github.com/XeeX/LeagueOfLegendsAPI