logo
468x60-2-495


  • Home
  • Privacy Policy
  • About
search
top
Jul 27, 2011 Posted on Jul 27, 2011 in Hints and Tips | 5 comments

Activetuts+ Quiz #2: I Hope You Like Math

It’s time for another quiz! This time, it’s on everybody’s favorite subject: math. The topics covered are incredibly important for game development, and even more so if you know them well enough to answer off the top of your head.


Obligatory Futurama Clip


Let’s Get Quizzy

 

Having trouble? Check out our You Do The Math session.


Just So You Know…

This quiz was built with the jQuizzy Quiz Engine by Siddharth, ace reviewer for Envato. jQuizzy is available for purchase over on Codecanyon :)



Thanks also to Orman Clark and MediaLoot for their graphical contributions to the Activetuts+ Coffee Break Quizzes.


Got Something You’d Like To Be Tested On?

If you’ve got an idea for an Activetuts+-related quiz subject, let us know in the comments!



View full post on Activetuts+

banner ad

5 Responses to “Activetuts+ Quiz #2: I Hope You Like Math”

  1. Michael James Williams says:
    July 27, 2011 at 11:38 am
    Author

    Haha. I spent, like, 15 minutes rewriting that question because I kept getting it wrong. And.. yeah, I think you’re correct, I still didn’t get it right! I’ve changed it now, thanks for pointing it out :)

  2. Daniel Sidhion says:
    July 27, 2011 at 12:05 pm

    Actually, random() can not return a full 1. According to the AS3 docs: “[random()] Returns a pseudo-random number n, where 0 <= n < 1."

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Math.html#random%28%29

    I have a doubt in question 9: if the ball was thrown upwards at 3px/frame and Y points down, ball.ySpeed should be -3. Since gravity acts downwards, it has the same direction as Y, so it should be: ball.ySpeed += gravity. And only then: ball.y += ball.ySpeed.

    I think there's an error in question 9's answer :)

  3. Michael James Williams says:
    July 27, 2011 at 12:05 pm
    Author

    Yep, same one. I never said we were using a specific language ;) But I’ve changed the wording of the question to make that a bit clearer.

  4. Alexey says:
    July 27, 2011 at 12:43 pm

    In the previous question we assumed that random() would return at least 0 but less than 1. I suppose this was the same random() function ;)

  5. Karl Macklin says:
    July 27, 2011 at 1:20 pm

    Q no. 6 is wrong – the supposedly correct answer forces me to quote Spinal Tap:
    “This one goes to eleven”.

    random() can return a full 1. Times 10 and then floored, it’s still 10. + 1, voila = 11!

Leave a Reply

Click here to cancel reply.

search search search search search
Find an Article
Categories
  • Flash Video Training
  • Hints and Tips
  • Recommended
Please Support Our Sponsors
Recent Posts
  • Workshop Coding Challenge: Fix This Breakout Game
  • Enable the Latest AIR SDK in Flash Professional CS5.5+
  • Quick Tip: Versioning Your Files With Dropbox (via Webdesigntuts+)
  • Workshop: Nuclear Outrun – Critique
  • Understanding Variables, Arrays, Loops, and Null: The Post-it Note Analogy
Tag Cloud
2011 ActionScript Active Activetuts+ Adobe animation Basic Basix Best Build Button Character Create Creating Critique Custom design Effect Effects Files Flash from Game Guide HTML5 Introduction Macromedia Motion Muzzle part Player Premium Professional Quick Silverlight Simple Text Tool Tutorial Tuts+ Tween Using Video website Workshop
About Our Site:

Hey there and welcome to "Flash Video Training Source", a resource for anybody interested in learning more about Adobe's great tool. We feature educational videos, which will help you master Adobe Flash and help you get to know all of its features. We at "Flash Video Training Source" believe that video training and video... more

Why don't you follow us on Twitter and get the latest video tutorials twitted to your account. Just click on the floating twitter bar to your right!

Go Back In Time
May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  
Pretty Blank Box
top

Blogroll

  • Development Blog
  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Planet

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Archives

  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
Powered by WordPress  |  Designed by Elegant Themes  |  Lightning Fast Hosting by Site 5 Hosting