Difference between revisions of "Visual Basic"

From WLCS
Line 4: Line 4:
  
 
You may find the old Visual Basic website here: [http://www.paulbui.net/wl/vb VB_0708]
 
You may find the old Visual Basic website here: [http://www.paulbui.net/wl/vb VB_0708]
 +
 +
== Wednesday (11/6/08) ==
 +
* Randomization review
 +
* Collision detection review
 +
* Item collection game
 +
** You will have a label that tracks the number of items (initialize it to 0)
 +
** You will have a single player that can move around the screen
 +
** You will have at least 10 "mines" on the screen
 +
*** Randomly place them when the form is loaded
 +
*** If a mine is hit, then tell the user "Game Over" and end the game
 +
** You will have at least 5 items on the screen
 +
*** Randomly place them when the form is loaded
 +
*** If an item is collected (collision with item), then make the item disappear and increase your item count by 1
  
 
== Thursday (10/30/08) ==
 
== Thursday (10/30/08) ==

Revision as of 12:47, 6 November 2008

Welcome to the Visual Basic Homepage!

This page is under severe construction.

You may find the old Visual Basic website here: VB_0708

Wednesday (11/6/08)

  • Randomization review
  • Collision detection review
  • Item collection game
    • You will have a label that tracks the number of items (initialize it to 0)
    • You will have a single player that can move around the screen
    • You will have at least 10 "mines" on the screen
      • Randomly place them when the form is loaded
      • If a mine is hit, then tell the user "Game Over" and end the game
    • You will have at least 5 items on the screen
      • Randomly place them when the form is loaded
      • If an item is collected (collision with item), then make the item disappear and increase your item count by 1

Thursday (10/30/08)

  • Catch up day. Turn in any missing work
  • You should have keyboard input with a moving object
  • Try adding collisions using the distance formula between two objects

Tuesday (10/28/08)

  • 1st Quarter Exam
  • When you are done, you should work on your game

Friday (10/24/08)

  • Simple Sprite Motion Assignment
  • Keyboard sprite movement
    • Search online for video game sprite images (e.g. google "mario sprites")
    • Download Media:Keyboard.frm
    • Create a new program for your keyboard-movable sprite (we're going to get rid of buttons)
    • Go over the keyboard code and grab the necessary pieces of source code to add to your new program
    • Add the necessary if statements to move your video game sprite around using the keyboard
    • Demo your program to Mr. Bui
    • CHALLENGE:
      • Add a second movable picture for another player
      • Add screenwrapping
      • Add collisions with the walls

Monday - Wednesday (10/20/08 - 10/22/08)

Tuesday - Thursday (10/14/08 - 10/16/08)

  • Review VB pp. 314 - 327
  • College Admissions calculator
    • Research a college of your choice and find the average GPA and SAT scores of admitted students
    • Create a program that accepts two inputs: GPA and SAT score
    • When you press the calculate button, you should evaluate whether or not the person's GPA is high enough to get in
    • If the GPA is high enough, then check if the SAT score is high enough
    • You should display messages to the user if they could be admitted, whether or not they need to increase their GPA, or retake the SATs
  • Complete the Cell Phone Bill calculator (p. 372)
    • You are encouraged to use your own cell phone plan's charges!
  • Complete the Shipping calculator (p. 377)
  • If you have completed everything, then you may spend some time researching colleges

Wednesday - Friday (10/8/08 - 10/10/08)

Agenda:

Monday (10/6/08)

  • Update grades
  • Demo Weekly Pay Calculator (p. 283)
  • Demo Cash Register (p. 285)
  • Grade Calculator (p. 286)

Thursday (10/1/08)

  • Interim grades
  • Catch-up and turn in any missing

Archives

VB - September