Added: 10 months ago
From: thenewboston
Views: 6,420
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • I think he done so many tutorials that he lost his voice that why he sound different

  • Solution: There is two Alexs! A zombie one who takes over, and the smooth talking one trying to fight the zombie off duh'... I support both, great tutorials either way!

  • So... what is it? Do you have this voice only in the morning? Or are you ill again?

    One time your voice sounds like walking on an old stair and the other time you sounds quite smooth. Coincidence? XD

  • 1:05 "max mamomouth... minamamouth" XD

  • can u put an object in the rand function arguments...

    e.g.

    $array

    rand($array)

  • I have one little question:

    What if i want to have an number between 0 and 360

    Without 90 to 180

    so 91,92,93,94.....180 cant be the number

    how can i do that?

  • @mrbeantje1

    after generating the number check if it is 90 or 180. If its true just new generate it

  • @mrbeantje1 I don't suggest using that conditional. It may cause unnecessary hang ups in your script. Try this: generate a random number between 0 and 90. If its less than 45, multiply by 2. If its greater than 45, multiply by 4. Otherwise (its eqaul to 45), add 1 and multiply by 4 or possibly regenerate. This will only generate even numbers though...I'm trying to think of ways that only require one generation.

  • @mrbeantje1 I can think of two ways, generate two random numbers one from 0 to 90 and one from 180 to 360 and then randomly choose on of the two numbers. Another way would be to use a while loop to keep creating random numbers until it is not in the range of 90 to 180.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more