Archana Sriram
Collection:users
Categories:Game Critiques  
Last Edited: 4/Feb/07 17:37:22 by Archana Sriram
Search for:
Advanced Search
 

Senior Project

Senior Project On The Wiki

Whee!!!


Maya Project

bird's eye viewhuman's eye view
There's a bird's eye view. Here's a human's eye view.

I like that it's a mysterious-looking forest with relatively little light.

Picket Fence details:

archana_picket_fence.mel:
This is pretty simple to use. Just scroll down to the bottom to comment out the parts you don't want to run.

//Part 1: Make a fence.
fence(7, 0, "Part1_Fence"); //enter any fence length!

//Part 2: Make a fence enclose a square.
square_fence(10, "Part2_Square_Fence"); //enter any side length!

//Part 3: Make a fence enclose a circle
circle_fence(12, "Part3_Circle_Fence"); //only works for 12 pickets for now! and it doesn't have connectors.

Part 1 makes a simple fence. The first argument is the length of the fence. The second one is just an internal variable that I didn't clean up, but it needs to be there. The third argument is what it ends up naming the whole object.

Part 2 makes a square fence. The first argument is the size of one side.

Part 3 makes a circular fence. Right now it only works for 12 pickets (because if you go higher, the spacing gets a little off). And I didn't add the connectors to it (because I didn't feel it was as important as getting the pickets right).

World Details:

Part 4 is in a different file called:
archana_mushroom.mel

To run it just execute the whole script. It makes a forest of 50 trees. You can go in and change the number of trees if you want. Just scroll down to the end of the file to the last procedure definition and change the first line:

forest(50,0);

so that the number of trees you want is in the first variable.

There's a procedure that makes the whole world, which creates a light and calls a function that makes a forest.

The function that makes a forest is called forest(). This function creates individual trees. When you call forest with the number of trees you want to create, it recursively calls itself to make that many trees.

To make the trees, there's a function called one_tree() that takes a random number of little mushroom components out of which to construct a tree. Right now I have it going from 5 to 10, because I feel that's the minimum range that creates a pretty reasonable looking tree.

Each mushroom component is created by mushroomtree() function, which just basically makes two cylinders (one of them is always randomly larger than the other), moves one of them on top of the other, creates subdivisions in the top one, extrudes the top vertex to make a rounder shape, and smoothes it out. Tada!


Of the required components, I implemented the following:
  • random numbers
  • recursive function
  • non-platonic, non-picket fence geometry (i used complex geometry)
  • lights (there's one light for sunlight)


Shape-melody-game [04 Nov 2005]:

Dependencies:

  • Make sure you have the latest version of DirectX
  • Make sure you have the latest version of Microsoft .NET Framework
  • Install the latest Meta version (at the bottom of this page)
  • Download SuperCollider3 for Windows
For instructions on how to install SuperCollider, read SC3_Win_Readme.txt (at the bottom of this page)

  • Download shape-melody-game.zip (at the bottom of this page) and unzip it

To Start:

  • Start up SCSpawn.exe (located in the Supercollider folder on C:)
  • Open 2dGameShell.meta (located in shape-melody-game) and Execute All

To Play:

  1. Select a shape.
  2. Click anywhere on the window to make that shape. As you make shapes, the program remembers the sequence of shapes you create.
  3. Click either play button to play either sequence of shapes. You hear three frequencies (corresponding with R, G, and B) that change over time based on the colors of the shapes that you created.
To get the hang of it, start out making just a few shapes and playing the sequence. Soon you will understand how to compose the kinds of sounds you want to hear. Currently, there is no way to clear the shapes from the window other than by quitting the program and restarting.
  • The longer you hold down the mouse-button, the more shapes you make.
  • The more shapes there are, the longer you will hear the sound associated with that shape.
  • The sequence of tones you hear correspond to the order in which you created the shapes.
  • Change the color of the shape by pressing and/or holding down the following keys:
    • R - increases red
    • E - decreases red
    • G - increases green
    • F - decreases green
    • B - increases blue
    • V - decreases blue

What Makes Me Smile

Gir!




  2889728 bytesMeta.msithe latest Meta  
  1211 bytesSC3_Win_Readme.txtHow to install SuperCollider for Windows  
  6219 bytesarchana_picket_fence.melPicket Fence Stuff  
  1960 bytesarchana_mushroom.melWorld of Trees  
  2416 bytesarchana_readme.txtMEL README  
  16814 bytesshape-melody-game.zipupdated game