Archive
august

Nov 11 ~ 17:  I have been working for applying 3D sound to my project.
After testing wireframe of the game last week, I found there should be something tells the direction of a ghost, otherwise the player may don’t know what should he do to find a ghost. So, I am developing program using toxiclib library which include AudioUtil module there. AudioUtil in toxic lib is basically same to JOAL library for Java, and it can simulate a sound source at a certain location among 3d world. I don’t really know what  JOAL is but what I found out while learning programming is that ‘it is impossible to understand everything.’ so, I am just taking advantage of it.

I got able to make random creepy sound attached to ghost object and moves along with it. Also I made it connected to player’s heading direction so the player can figure out which direction and how close a ghost is by listening to their sound. Still some fine tune needed, but it seems working fine.

Next week, I am going to work on graphics.

http://youtu.be/Qi8yjNvHwMM

 

 

Nov 4 ~ 10:  basic structure including gyro reading, appearing and disappearing of ghosts.

I successfully connected gyros to processing and now we can see the virtual 3D world through my laptop computer screen. to do  this, I brought some code from a opensource UAV (Unmanned Aerial Vehicles) project and also I used OCD, which is a camera library from processing page.

A ghost is generated every given period of time but if there is too much ghost there already,  not generated more. When a player shoot a plasma gun, The program calculate the distance between each ghost and camera direction vector and if there are any smaller than the size of ghost,we can say that ghost is hit by plasma beam.

I am going to develop the sensory factors like sound and graphics to be real from now.

 

Read More

The user is supposed to hold a beam projector which has a set of gyroscopes and accelerometers so that the projector displays

a view according to the direction he is heading for. There is a mouse controller on the projector as well for triggering a plasma gun.

The user maybe feel like he is actually surrounded by ghosts in a darkroom, carrying a (a little big) flashlight with him.

Ghosts are generated randomly and coming toward the user. He should find them and destroy them all in order to survive.

 

Tech.Component Issues to be solved Functions to be needed
Motion sensing
-Communication betwee arduino&processing
-Gyroscope – arduino Circuit building
-Syncronizing  orientation of gyro to real world
-Manipulating camera in 3D
-
Vector updateDirection();
3Dmanipulation
-Place 2D object (ghost image) in 3D space
-Random object (ghost) generation
-Implement movement of ghost
Void updateCameraDirection (sensorDirection);Void updateView (cameraDirection);Ghost randomGenerate(difficulty, time, howManyThereAreNowOnScreen);3dLocation updateGhostLocation();

Void destroyGhost(ghost);

Visual/effects
-Draw ghost image
-Finding most effective visual effect
-Testing Projection
Void displayGhost(ghost);Void displayPlasma();

Read More