Thursday, October 2, 2008

Allegro - Tried n True

We're going to introduce pre-packaged game engines by using Allegro. It's been around for a while and there are a ton of open-source games coded in Allegro that we can use as examples. First we have to install it:

Allegro Installation


0) Copy the files:
  • Copy the contents of the include folder to C:\Program Files\Microsoft Visual Studio 8\VC\include
  • Copy the contents of the lib folder to to C:\Program Files\Microsoft Visual Studio 8\VC\lib

2) Extract all files into c:\

3) Run c:\allegro\build\pre-build-msvc.bat

4) Open c:\allegro\build\msvc8\Allegro.sln. Finish conversion. Click Build / Batch Build. Check all versions. Wait for build to finish.

5) Copy the files:
  • Copy the contents of C:\allegro\include to C:\Program Files\Microsoft Visual Studio 8\VC\include
  • Copy the .lib files from C:\allegro\lib\msvc to C:\Program Files\Microsoft Visual Studio 8\VC\lib
  • Copy the .dll files from C:\allegro\lib\msvc to C:\Windows\System32
6) Start a new project then add a main source file.

7) Click Project / Properties. Click Configuration Properties / Linker / Input. Add alleg.lib to Additional Dependancies.

8) Now we're ready to program using Allegro.

9) We're going to start with a few tutorials.

10) Finally, we master the universe.


.

Wednesday, October 1, 2008

Game Engines

You have a technical writing exercise due Monday. You will have today in class to work on this. Whatever you don't finish in class is assigned as homework due Monday.

Write a 2-3 page paper on the 3 of the most popular 2D Game Engines and the 3 of the most popular 3D Game Engines.

The paper should be in paragraph form 11pt font; 1.5 spacing.

Cite your sources!

DO NOT COPY & PASTE!!!

Answer the following questions for each of the 6 engines you elect. 
  • What's the engine called?
  • Who developed it?
  • How much does it cost?
  • Where can you get it?
  • Is there thorough documentation?
  • Are there many pieces of sample code available?

.

Tuesday, September 30, 2008

Bubble Sort

Keep pluggin away at the bubble sort program.
  • Start by declaring an array of 10 integers.
  • Display the array with a for loop.
  • Use the pseudocode from wikipedia to bublesort the array.
  • Redisplay the array.
  • Then, adapt your code so that it will bubblesort acording to the price of a product (as we discussed yesterday).

.

Monday, September 29, 2008

// structures \\

We've got a lesson/ demo on structures in c++ today.


.

Thursday, September 25, 2008

Review the WS

We're going to spend some time reviewing part B of the C++ WS.


.

Wednesday, September 24, 2008

C++ WS

You have the entire class to finish working on the C++ worksheet assigned yesterday.


.

Tuesday, September 23, 2008

Back to C++

We're going to make sure that we're all familiar with C++ before we start controlling our fish.

You have a rather lengthy C++ worksheet to accomplish this.

Write your answers on a piece of paper for part A and part B, problems 1 & 2.
This MUST be turned in today.

For part B, problems 3, 4, & 5, you must write each program and upload them accordingly.
You'll have half of tomorrow to finish this.


.

Monday, September 22, 2008

Monday

For today, I want you to revisit the fishtank code linked in a previous blog post. Make the following changes to the original code:
  • Add your own animated background
  • Add another animated sprite to the 

If you have these 2 mods done, you may work quietly on BPA.


.

Friday, September 19, 2008

Friday...

BPA for most...

I'll clarify.


.

Thursday, September 18, 2008

Background

I need to check your progress on the Photoshop work.

I have a video I want to show you guys...


. 

Sunday, September 14, 2008

The next 2 days...

I'm going to be out of the building for Tuesday & Wednesday. So here's what we're doing the next few days.

Tuesday:
  • Finish Lesson678.zip

  • Fishtank Background
Must contain at least the following:
  • 0) Dimensions: 640 x 480 pixels
  • 1) 3 Layers
  • 2) Background Layer - some gradient effect
  • 3) Plant Layer - use brushes, several colors
  • 4) Dirt/ Rock Layer - use some texture effect
  • 5) Save background.psd on your flashdrive
  • 6) Upload background.bmp with 16-bit color depth

Wednesday:
  • Background 1, 2, 3, 4
Transform your background.psd image so that you have 4 slightly different images:
  • 1) Background Layer - should change slightly
  • 2) Plant Layer - should sway slightly
  • 3) Dirt/ Rock Layer - should not change much at all
  • 4) Save background1.psd, background2.psd, background3.bmp, & background4.psd on your flashdrive
  • 5) Upload background.zip which contains 4 bitmap images with a color depth of 16-bits. If you have problems uploading, try uploading each image individually

  • 6) Add your images to the fishtank code we already used.
  • 7) Check to make sure your images look good in animation.
  • 8) Be ready for me to check your running program with your background for Thursday.

Friday, September 12, 2008

Photoshop

I'm going to go over Lessons 6, 7, & 8 today.

Again, you're only reponsible for one image for each of the lessons.


.

Wednesday, September 10, 2008

Photoshop

We're continuing on in Photoshop tutorial.


.

Tuesday, September 9, 2008

Lesson 4 + 5

I know that yesterday's Photoshop Lesson was (is) rather lengthy. I wasn't expecting you to get all the way through the lesson. That being said, go ahead and finish up Lesson 4 and start working on Lesson 5. 

The good news is that I'm going to skip the test I promised and assign a large project after all 8 lessons are finished.


.

Monday, September 8, 2008

Lesson 4

Guys, you need to carefully read the instructions for submitting your work. Lesson 3 submissions were to be a zipped folder containing 3 files. If this isn't what you submitted, then resubmit your materials today.

Yep. We're working on Photoshop Lesson 4 today.

There are 8 assignment images the you must submit for this lesson. Again, your submission should be a zipped folder containing 8 images. READ THE INSTRUCTIONS.


.