@@RehopeGames yes, glad if you will make In both 2d and 3d gun shooting tutorials With variable shooting speed and variable accuracy I've watched others video but I literally do not understand they just say to copy and paste the code
How would you accelerate the time? For example if you’re playing a football (soccer) game they play 45 mins each half.. But obviously you can’t set the time at 45 minutes real time.. You need it to be 5 mins real time but it needs to speed up in game. Secondly, for a football game, at 45 minutes how do you make the timer stop the game and activate a “Half Time Menu” Thanks for your help. Your videos are so informative and easy to follow.
You can use Time.timeScale to do that. Look at the unity document for detail. docs.unity3d.com/ScriptReference/Time-timeScale.html I wish success in your project 🙏
Your video is extraordinary and awesome.❤ Can you make videos about game server like Lootlocker or Playfab or Firebase with unity attached? Sorry for my English mistakes. 👍
Too fast instruction. For some reason my Unity report a fault of NullReferenceExeception: Object reference not set to an instance of an object. (Also why did you delete the Void Start when you writing the script?)
Hello ,You can, too 😊 First, create a silhouette image of the character, then change the character lmage to you've created lmage when the character hidden.
I've seen several people use Searilized feild's but for some reason they never seem to work and i tend to have no clue why you'd use it. Does anyone here know?
So I am making a project where I am using a panel in 3 different scenes using singleton, now I need to show the timer on the panel when the game ends. Problem is the timer starts AFTER the game ends.
Hello Sorry for the late reply. I hope you solve it. If you have a script that is not a singleton and exists in every scene, you can access the Timer from that script and start the timer from within the Start function
you can fix that like this void Update() { if (remainingTime > 0) { remainingTime -= Time.deltaTime; int minutes = Mathf.FloorToInt(remainingTime / 60); int seconds = Mathf.FloorToInt(remainingTime % 60); timerText.text = string.Format("{0:00}:{1:00}", minutes, seconds); } else if (remainingTime < 0) { timerText.text = "00:00"; remainingTime = 0; } } hope it's help you
I didn't expect my problem to be solved by you again, thank you very much
Thanks ...🙏
Clean and straight to point, thank you very much 👍
Thanks a lot 🙏
Dude this tutorial is amazing, thank you!
Thanks a lot 😊
Amazing tutorial dude! Works so perfectly
Thank you so much 🙏
you are a lifesaver thank you!!!
Thanks for your kind feedback 🙏
I'm glad hear that.
Great tutorial, Thank you so much
You're very welcome! I'm glad you found it helpful. 😊
Thanks 🙏
Damn good video, got it easy
Is it ok if you could put a copy of your code in the descriptions of your videos? They're all great but it makes it much easier to cross refference.
Thank you for this it will help me to make a speed run game
I'm glad to hear that and thanks for your feedback 😊
@@RehopeGames you know that i am watching you since your 2nd video
@@abhinavkhatana Thank you so so so much bro 🙏🙏🙏🙏
Is there a special video you want about unity?
@@RehopeGames yes, glad if you will make
In both 2d and 3d gun shooting tutorials
With variable shooting speed and variable accuracy
I've watched others video but I literally do not understand they just say to copy and paste the code
Did you want to change the bullet speed or the camera shooting speed ( like slow motion) ?
How would you accelerate the time? For example if you’re playing a football (soccer) game they play 45 mins each half.. But obviously you can’t set the time at 45 minutes real time.. You need it to be 5 mins real time but it needs to speed up in game.
Secondly, for a football game, at 45 minutes how do you make the timer stop the game and activate a “Half Time Menu”
Thanks for your help. Your videos are so informative and easy to follow.
You can use Time.timeScale to do that.
Look at the unity document for detail.
docs.unity3d.com/ScriptReference/Time-timeScale.html
I wish success in your project 🙏
good and clear explained. Great work 👍
Thank you so much 😊
Great and useful stuff. Hi Murat, please make a video that teaches how to create a dialog box. Thanks, hope you doing well
Hi 🖐
I noted your request bro.
I'm great , Thanks for your interest 😊
Thank you❤
I have a request please if possible making a tutorial on how to add extra time in a timer countdown by 2d/3d object is trigger/collide 🥺
Lovely!❤👍🏻😊
Hi, new subscriber, please don’t stop making vídeos
Thanks and welcome 🖐
Usefulllllllll😍🤩😍🤩and easy
Thanks a lot 😊
I like the timer text
thanks really great tutorial
Your video is extraordinary and awesome.❤
Can you make videos about game server like Lootlocker or Playfab or Firebase with unity attached?
Sorry for my English mistakes.
👍
Hi, First thanks for your nice feedback 🙏
I plan publish videos about game server in the future.
Actually I don't know Enough English too 😊
Hi Rehope games! Can you make video "how to make a timer before starting a game in Unity" PLEEES
Thanks!
Thank you ❤
I set up the code for a countdown timer but It keeps giving a NullReferenceExeception: Object reference not set to an instance of an object
can you make a tutorial on how i can save the time?
yeni video ne zmn gelir sabırsızlıkla bekliyorum
Pazartesi 😉
@@RehopeGames abi online nasıl yapılır anlatabilir misin
hi, can you pls tell me how to add milliseconds, i cant find it in your link. Would be so happy, tnx.
❤
For the countdown ill prefer a couratine method than what you wrote
Too fast instruction. For some reason my Unity report a fault of NullReferenceExeception: Object reference not set to an instance of an object. (Also why did you delete the Void Start when you writing the script?)
Maybe the name of your object has a typo in it.
doesnt really matter when you delete Start() its just annoying that its there but blank
me too, did you figure out how to fix. Reply fast my game needs this problem fixed
I will remember you in the future
Holding and pushing a box or a circle tutorial
Maybe in the next make a game series 👍
@@RehopeGames I also post some ideas in my channel
@@RehopeGames Like swinging and climbing on ropes
Hi, can you make a tutorial on how to show silhouettes when hidden?
Thank you very much.
Hello ,You can, too 😊
First, create a silhouette image
of the character, then change the character lmage to you've created lmage when the character hidden.
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class timescript : MonoBehaviour
{
[SerializeField] TextMeshProUGUI timerText;
float elapsedTime;
void Update()
{
elapsedTime += Time.deltaTime;
int minutes = Mathf.FloorToInt(elapsedTime / 60);
int seconds = Mathf.FloorToInt(elapsedTime % 60);
timerText.text = string.Format("{0:00}:{1:00", minutes, seconds);
}
}
Do u know how to add milliseconds?
@@PixelNoob01 using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class timescript : MonoBehaviour
{
[SerializeField] TextMeshProUGUI timerText;
float elapsedTime;
void Update()
{
elapsedTime += Time.deltaTime;
int minutes = Mathf.FloorToInt(elapsedTime / 60);
int seconds = Mathf.FloorToInt(elapsedTime % 60);
timerText.text = string.Format("{0:00}:{1:00", minutes, seconds);
}
}
wrong timmer donot use this anyone
I've seen several people use Searilized feild's but for some reason they never seem to work and i tend to have no clue why you'd use it. Does anyone here know?
please can you make video about how to add settings menu for graphic
Graphic quality etc. ?
@@RehopeGames yes please
how can i add a button to it to start and stop time
Hmm, a bit confused delta time is already in seconds no? Why converting to seconds then?
I'm trying to make a timer that continues in the background on iOS, even if the app looses focus. What solution would you recommend?
If this for a game, you can use Date methods for this.
Date methods + Json file ( for store)
So I am making a project where I am using a panel in 3 different scenes using singleton, now I need to show the timer on the panel when the game ends. Problem is the timer starts AFTER the game ends.
Hello Sorry for the late reply.
I hope you solve it.
If you have a script that is not a singleton and exists in every scene, you can access the Timer from that script and start the timer from within the Start function
@@RehopeGames yeah, my partner who’s making project with me helped solve it. Also instead of using string format, we used TimeSpan
@@ahmedsachwani2868 👍
the text is invisble. all i see is a blue square with a t in it
hi how can I add hour?
Line Renderer please
👍
How can I keep the timer running in every scene?
Hopefully you've figured it out already, but I'm thinking maybe a DontDestroyonLoad attached to the timer itself and the text/GUI associated with it?
Hey, how i put the lose game when the time go to0?
Hello , I showed this in the video
how to make the timer reset when gameover/restarting please reply
remainingTime = 0; 😊
@@RehopeGames where do i add that to the code??
@@mapbot4264add it to the area where your code tells the game your player died
How do I make the timer stop on a certain scene
You can stop the time using time scale.
Time.timeScale = 0;
why did my second move so fast?
you can fix that like this
void Update()
{
if (remainingTime > 0)
{
remainingTime -= Time.deltaTime;
int minutes = Mathf.FloorToInt(remainingTime / 60);
int seconds = Mathf.FloorToInt(remainingTime % 60);
timerText.text = string.Format("{0:00}:{1:00}", minutes, seconds);
}
else if (remainingTime < 0)
{
timerText.text = "00:00";
remainingTime = 0;
}
}
hope it's help you
How do you pause it?
You can use -Time.timeScale- to do that.
make*
Péssimo... Melhore!