Making Snake in Unity: Sound Highscore

Comments

If you have any questions please post them in the comments and I'll do my best to answer them

Dante Honorato

Hey! I really love your videos buut I hae a question.. I want to make a highscore but with best time. And I want to use the clock UI and script you showed in another video. How do I do it?

Code Monkey

If you're using a float to count up the number of seconds you would just store that. I've done a video on a Highscore table in which I saved int's but it would be simple to convert it to saving floats and then reverse the sorting to go from lowest time to highest.https://www.youtube.com/watch?v=iAbaqGYdnyI

The ClockUI just displays the time, how you display it isn't relevant to how you store it.

Another great video, thanks, a quick video on how to change to Android would be great!

Code Monkey

The game has a pretty simple input with just the arrow keys so it would be simple to add on screen keys and everything else should work. I'll look into it, cheers!

Ahmed Samy

In your suggestions you have a create A top down racing game And The top down GTA I can't wait to see there
Your utilities Files Is very helpful When you make a big game

Code Monkey

Glad you find the utilities useful!

Ahmed Samy

Very nice,
Please what is the name of the program you use to create The audio effects
And I have a question: why are you don't use unity bilt en functions like on trigger enter on trigger exit Instead of that you make everything from scratch

Code Monkey

Its ChipTone http://sfbgames.com/chiptone/Because that would make it needlessly complex. The game is played on a Grid so there's no reason to mess around with Physics and heavy geometry calculations.It's much simpler to just test one grid position if its matches another.But yes that would work just fine, put a Rigidbody in the head and BoxColliders in the rest of the body and Food.

Ahmed Samy

that's true thank you a lot

Samurai Alan

First Dislike is mine —__—

Ahmed Samy

Why he is very awesome man and he makes a Professional tutorials for free

Samurai Alan

Yes but no one puts a dislike, and im the first but not on likes so I dislike it

Code Monkey

Why?

Code Monkey

Dislikes hurt the video and hurt the channel, why would you do that just to be the first dislike?