My favorite part about your vidz is that they're not super rehearsed. We get to see you mess up and the thought process behind it all. Really helps with the learning tbh.
@DapperDinoCodingTutorials6 жыл бұрын
When I started making the videos that was my intention :) I think it's better than having a fast, perfect video because that's not what coding is actually like. If I get stuck for like 10+ mins then I'll stop and start the recording again haha.
@toot8208 Жыл бұрын
you're literally so cool, thank you for this
@bigbird1802 жыл бұрын
As always, a bloody brilliant video! cheers mate.
3 жыл бұрын
"Paint is the best tool to explain things" - GOD
@andreskushnir23566 жыл бұрын
Very informative and useful. Thank you!
@DapperDinoCodingTutorials6 жыл бұрын
No problem :) I'm glad you found it useful
@Husmanmusic3 жыл бұрын
Awesome Tutorial!
@jehreetv5 жыл бұрын
Question, why is the For Loop inside of the While Loop necessary? And does that For Loop finish before the While Loop finishes a single loop, or are they looping simultaneously? I would think that you could just decrement the burnTickTimers.Count in the While Loop without the For Loop.. super confused x.x
@DapperDinoCodingTutorials5 жыл бұрын
It's because if there are multiple burns on the target I only want to deal damage from one of them, not all 3. In about a month's time when my exams are over I will be remaking a lot of my older videos to be better/more efficient/more expandable and it's very likely that I will be covering this again.
@xxyv3 жыл бұрын
whats your main on league
@DustinjBailey4 жыл бұрын
So how do you stack burns.?
@daredeflon6623 жыл бұрын
You could create a script that handles only Damage Over Time effects and you could have a dictionary of Damage Over Time Effects. Basically you would start the DOT coroutine multiple times. The reason you would need a Dictionary is that you can keep track of every DOT in case you will have a spell like Dispel where you can remove some or all dots.
@jakubwozniak64052 жыл бұрын
Instead starting coroutine only if burnTickTimers
@daredeflon662 Жыл бұрын
@Ghost Phoenix I strongly suggest looking into Dictionaries in the Unity documentary, It's a pretty simple yet resourceful tool which allows you to assign values to keys. Key and values can be virtually any type. For example you can have "string" keys for "int" values, or "int" keys for "bool" values or you name it. Basically you can make a dictionary which has "Coroutine" type keys and "IEnumerator" values. and you can assign coroutines to Keys to keep track of them. Whenever you want to remove a DOT ( an active coroutine ) you refer to its key. If you have any questions, feel free.
@jeremyelliott5279 Жыл бұрын
I know this is 4 years into the future... but once my character "dies" and respawns the coroutine is still running until the timers are finished. What would i do if i wanted to stop the coroutines as soon as i respawn? Edit: if you want to stop the routines once your player dies, here is an example of what i did damageTickTimer.RemoveAll(i => i == 0 || healthScript.currentHealth