Thursday, April 8, 2010

XNA Intro Quiz

A few questions:
  • What is the programming language used by XNA?
  • What is the name of the file where the XNA main logic loop resides?
  • In which method/ function is media content loaded?
  • On an image, where is point (0, 0) ?

.

Tuesday, April 6, 2010

Mum, Dad, I Want to be a Game Designer

Today, we're watching a presentation from this cheeky fellow from EA Games.

Click here for the YouTube link

As a response to the video, answer the following:
  1. What company does the speaker represent?
  2. What is the most important quality of a game design?
  3. Describe some of the qualities associated with a game's hero.
  4. How would you characterize the trends in video games during the past 10 years.
  5. List 6 game console units.
  6. What's your favorite game? Why?
  7. What's your least favorite game? Why?

Monday, April 5, 2010

Module 5 - "Fun"ctions

1) What are the main differences between local and global variables?
2) Can a local variable be declared anywhere within a block?
3) Does a local variable hold its value between calls to the function in which it is declared?

Create a function called hypot( ) that computes the length of the hypotenuse of a right triangle given the lengths of the two opposing sides. Demonstrate its use in a program. For this problem, you will need to use the sqrt( ) standard library function, which returns the square root of its argument.

It has this prototype:
double sqrt(double val);
It uses the header cmath