Click here to Skip to main content
15,883,901 members
Articles / Operating Systems / Win8

PerCGameBox

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
13 Aug 2013CPOL7 min read 12.7K   4
An app that contains heavy dosage of perceptual games

This article is an entry in our AppInnovation Contest. Articles in this sub-section are not required to be full articles so care should be taken when voting.

Introduction

Game Name: PerC  Gamebox

Platform: Intel AIO   Category : Games 

Coding Languages to be used: Processing Creative Coding Language

Overview of the application and what it does

This application is a gesture oriented game(or Combination of games) developed in Processing Framework and using Intel Perceptual SDK R2.It is a kind of engaging game that gets you hooked up to a brand new experience.

Features:

The game involves gestures in front of a  3D Depth Camera. All Game movements will be done by air gestures.

Supported Types:

  1. Swipe Left
  2. Swipe Right
  3. Swipe Up
  4. Swipe Down
  5. Circle

As the name suggests it is a Gamebox so there will be lot of games or scenarios to tinker with.

Description of the intended uses of the application as well as approach taken to develop the application

The Flow

I am very big  Sci-fi movie fan my maze idea came from it.The movie that changed my entire view of Computer Science was Tron Legacy. I like the lines from Kevin Flyn in the movie when he says to his son 

Kevin Flynn: The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

7 Year Old Sam Flynn: You got in.

Kevin Flynn: That's right, man. I got in.

I started experimenting with Intel Perceptual SDK and the processing Framework. At first I failed miserably but never lost heart.I went through all of the processing Document available  and spent hours studying and putting to effect.Its  a great tool to work with.

With the movie came the idea of this maze game. The entire Arc system resembles somewhat like the Identity Disc  as shown in figure

Image 1

The famous quote from the movie regarding Identity Disc

Everything you do or learn will be imprinted on this disc. If you lose your disc, or fail to follow commands, you will be subject to immediate deresolution.

This the Figure given below that inspired the Maze

Image 2

Arcs Plus the Balls Will It Work

I went through lot of arc examples in Processing exactly to figure out how it works than came this bizarre idea to Integrate gesture movement to balls.

Image 3

I had to dig in deep with Intel Perceptual SDK and started experimenting with it. Although for a start point of view the results were not encouraging. I spent hours and day by day to get it done. Then came the moment that i was waiting for the result. I was able to map gesture input to the ball. Combing both the balls and the arcs got my result and it was good.

Game Mechanics and the Way to Interact Within the Game

It uses simple gesture recognition to get going with out Touch. Simple laws of Physics have been taken care of. With hand gestures combined you are able to play the game.

Controlling the Ball

The ball is controlled by the hand gesture and your effort will be to obstacle path and find a way to the center,guiding the ball with gesture to the center point.

Image 4

Swipe Left Hand Gesture

Image 5 

With the Swipe left hand gesture you increase the difficult level of the maze game with more arcs to disrupt your path.

Image 6

Swipe Right

Image 7

With swipe right gesture you decrease the level of difficulty of the game with less arcs to disrupt the ball path.

The figure below shows the depiction

Image 8

Swipe Up

Image 9

With Swipe Up gesture  you get a different pattern and effect to the  maze game.

Image 10

Swipe Down

Image 11

With the swipe down hand gesture yet you get another pattern and effect to the maze game.

Image 12

Another Screenshot from the game showing how to guide the ball to center.

Image 13

Game Video Link

Just check the video and see how the app behaves with Intel perceptual SDK

Check it in action  

LINK1

LINK2 

GAMES THAT ARE THERE IN PERC GAMEBOX RIGHT NOW

Fun with BOB(CodeProject fame)

With help of hand gestures and little combination of numbers we create BOB of CodeProject fame.A

Fun attempt.

The Figure shows when Floating BOB is created with hand gesture.

Image 14 

Game Video Link

Check it in action 

LINK

Bouncing Ball (Great GUI)

Another Gesture oriented game where you will be using Hand Gestures to guide the ball to the path of the boxes

SURPRISES

Avoid the BLACK boxes it will reduce the life

other boxes are surprises you need to play the game to find out.

  Image 15

Game Video Link

This is one of my hardest attempt to get something cool with Intel perceptual SDK just check the game demo, I think there will be a surprise

LINK1

LINK2

Pong

It is a game where you need not allow the ball to fall down you need to control the paddles by gestures

Game Screenshot

Image 16

Game Video

LINK

LIGHTIT 

You create crackling effect with Hand Gesture with Color changing effect.

Game ScreenShot

Image 17

Game Video

LINK

Scattered

Scattered is a game in which you guide the scattered arrays to your liking using Hand gestures

 

Game Screenshot

Image 18

SunFlame

Sunflame is a game where you guide  the sunflame  to your liking using hand Gestures

Game Screenshot

Image 19

Game Video Link

LINK

Abrupt Art Tool

here you sketch any odd lines  with hand gestures and you get a 3D depiction of your sketch

Game Screenshot

Image 20

Game Video

LINK

What is Creative Coding?

covers the use of computer programs in art such as real life art installations, interactive video, large-scale public projections, computer vision projects, and interactive sound recordings etc.

Where Does Processing fit in

Processing has promoted software literacy, particularly within the visual arts, and visual literacy within technology. Initially created to serve as a software sketchbook and to teach programming fundamentals within a visual context, Processing has also evolved into a development tool for professionals

Processing Motto

Processing seeks to ruin the careers of talented designers by tempting them away from their usual tools and into the world of programming and computation. Similarly, the project is designed to turn engineers and computer scientists to less gainful employment as artists and designers

What is Intel Perceptual SDK and how we utilize it

The Intel Perceptual SDK allows you to create the next generation of immersive engaging, innovative software applications that incorporate close range depth tracking, speech recognition, facial analysis and augmented reality on Intel Core processors. Accessing the SDK through programming method means and showing the result to the user is via a 3D Depth Camera(The SDK has the capability to track through any 3D camera but as of now it is accessed by The Creative 3D SenZ Camera)

Combining  Intel SDK and Processing

Getting Processing to work with Intel SDK is via the PXCUPipeline library that gets you going.

Excerpts below has been taken from Intel SDK Documentation

Steps

1)Launch Processing

Image 21

2)Go to File>Preference. The sketchbook directory is located at the top of the Preferences settings

Image 22

3)Now open Windows Explorer and go to the sketchbook directory. In this case, it is c:/

mywork/processing

Copy all $(PCSDK_DIR)/framework/Processing/libraries here, as illustrated

Image 23

4)Restart Processing

You will see that PXCUPipeline is part of the sketch import library

Image 24

Save the Sketch and you are good to Go.

Following is a Code snippet that shows how to access the UtilPipeline and shows a message if the

SDK in accessible

Java
//
// PXCUPipeline session;
PXCMGesture.GeoNode hand = new PXCMGesture.GeoNode();

void setup()
{
  size(640, 480);
  session = new PXCUPipeline(this);
  if(!session.Init(PXCUPipeline.GESTURE))
{
println("Failed to initialize the PXCUPipeline!!!");
    exit();
}

// 

Using the Code

The codes will be provided lateron  

Points of Interest

I have developed strong awarness towards processing it is a cool framework to get great GUI effect. I am trying My label best to Learn Craetive Coding it gives me pleasure.

Cinder Framework

It's amazing and with C++ and Intel SDK we can do lot of things. Still at early phase(I am a zero right now with C++)

Havok SDK

Havok SDK and Intel Perceptual Computing is a great combo to work with still experimenting and trying to integrate Havok SDK with Intel Perceptual SDK

Resources

Processing

Information about processing can be taken from the Processing Website

http://processing.org/

Cinder  Framework

http://libcinder.org/

Havok SDK

http://www.projectanarchy.com/

History 

First update for my Demo given

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
India India
I am into software Development for less than a year and i have participated in 2 contests here at Codeproject:-Intel App Innovation Contest 2012 and Windows Azure Developer Challenge and been finalist at App Innovation contest App Submission award winner as well won two spot prizes for Azure Developer Challenge.I am also a finalist at Intel Perceptual Challenge Stage 2 with 6 entries nominated.I also won 2nd prize for Ultrabook article contest from CodeProject
Link:-
http://www.codeproject.com/Articles/523105/Ultrabook-Development-My-Way

Microsoft MVA Fast Track Challenge Global Winner.
Ocutag App Challenge 2013 Finalist.

My work at Intel AppUp Store:-

UltraSensors:-
http://www.appup.com/app-details/ultrasensors
UltraKnowHow:-
http://www.appup.com/app-details/ultraknowhow

Comments and Discussions

 
GeneralWow Pin
Ranjan.D13-Aug-13 5:57
professionalRanjan.D13-Aug-13 5:57 
GeneralRe: Wow Pin
Abhishek Nandy13-Aug-13 7:32
professionalAbhishek Nandy13-Aug-13 7:32 
GeneralRe: Wow Pin
Kevin Priddle16-Aug-13 12:25
professionalKevin Priddle16-Aug-13 12:25 
GeneralRe: Wow Pin
Abhishek Nandy16-Aug-13 17:21
professionalAbhishek Nandy16-Aug-13 17:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.