Wednesday, December 10, 2008

Tuesday, December 9, 2008

2'sday

I may be a little late in getting to class today. So sorry.

If that's the case, go ahead and try to get your code working.

If your code works, start tweaking it.

I'll be back shortly...


.

Monday, December 8, 2008

Moving Along

Hôlä - I hope your weekend was a good one.

We're continuing on with the current game code.


.

Thursday, December 4, 2008

Pong

Actually... I would like to have your Pong games. Please upload zips of your resources. Make sure your archives are smaller than 2MB, send several if you need to.

Take 5 minutes to do this now. If your code n stuff is at home, then send it tonight.


. 

Tuesday, December 2, 2008

Goblin Goldfish

Today we're embarking on an epic adventure...



.

Wednesday, November 26, 2008

HAPPY THANKSGIVING!

Happy Turkey Day!

Have a great break!

Stay out of trouble. Stay warm. Be safe. Have fun. Get stuffed.


.

Monday, November 24, 2008

Allegro FishTank

Today, we're going to revisit/ restart the fishtank.



.

Monday, November 17, 2008

Tuesday, November 11, 2008

Pong v2.0

We'll be making the following additions to the PONG CODE we began yesterday. You will have *at least* 2 full class periods to complete this.
  1. Keep track of the current score.
  2. Keep track of the current number of times the ball has hit the paddle; reset this number when somebody wins.
  3. There should be a sound played when the ball strikes a paddle.
  4. There should be a different sound played when the ball strikes a wall.
  5. The paddles should be replaced by similarly sized bitmap images.
  6. The ball should be replaced with a similarly sized bitmap image.
  7. The rest time in the main logic loop should get shorter as the number of hits increases.
  8. Add something *else* to make your Pong game unique.

.

Wednesday, November 5, 2008

BPA

BPA today too.


.

Tuesday, November 4, 2008

BPA hoy

If you are not yet finished with the color test program, then finish it before you start working on BPA. 

We're going to spend the rest of the week on BPA.


. 

Monday, November 3, 2008

Color Test

We're going to finish up the color test program today.

Your program should have...

6 clickable arrows which control the color (either bitmaps or triangles)
3 numbers indicating the intensities for each of r, g, b
2 clickable boxes for random color and reset color
1 circle colored whatever color is indicated by the 3 numbers


.

Thursday, October 30, 2008

Mouseplay

Answer the following questions in a comment to this blog:
  1. What reserved variables describe the location of the mouse cursor?
  2. What reserved variable describes the state of mouse buttons?
  3. What function describes the speed of the mouse cursor? 
Take time now to complete the program from yesterday. UPLOAD your work when complete.


.

Wednesday, October 29, 2008

Allegro Mouse

Your assignment today is to write an Allegro program which has 6 rects that'll act as buttons. 2 buttons for each color, r, g, b. One button per color for up and down. Below each pair of buttons, display a number ranging from 0 to 255. There will also be a circle on the screen whose color is whatever color is dictated by the 3 values for r, g, b. There sould also be a button for resetting colors and a button for generating random comolrs. The program should exit when the user hits escape.

Here's a sample screenshot:


.

Tuesday, October 28, 2008

Allegro

Today, we're going to be adding to our Allegro notes page.

At the end of class, UPLOAD your amended notes.


.