GPN11:Gamejam:MagnetoPong: Unterschied zwischen den Versionen

aus dem Wiki des Entropia e.V., CCC Karlsruhe
(Die Seite wurde neu angelegt: „{{#css:/wiki/index.php?title=GPN11:Stylesheet&action=raw&ctype=text/css}} <span style="font-size: 150%;">'''+++ MagnetoPong +++'''</span> Wir wollten mal was mi…“)
 
Keine Bearbeitungszusammenfassung
Zeile 9: Zeile 9:


Im Folgenden unser Readme mit Installationsanleitung sowie eine Erklärung der Steuerung.
Im Folgenden unser Readme mit Installationsanleitung sowie eine Erklärung der Steuerung.
 
-------
'''Perequisites'''
'''Perequisites'''
Using Kinect:
Using Kinect:
- OpenMI with modules: Nite, Sensorkinect
- OpenMI with modules: Nite, Sensorkinect
C++ lib for gaming purposes:
C++ lib for gaming purposes:
- ClanLib version 2.2
- ClanLib version 2.2
(Using our "make":
(Using our "make":
- scons (requires Python 2.7))
- scons (requires Python 2.7))


Tested on:
 
-----------
'''Tested on:'''
Ubuntu Mint 10
Ubuntu Mint 10,
Arch
Arch,
Fedora 15 64 bit (Repository may contain outdated ClanLib)
Fedora 15 64 bit (Repository may contain outdated ClanLib),
(Windows 7 OpenMI works, rest has compiling problems)
(Windows 7 OpenMI works, rest has compiling problems)


not running on
 
--------------
'''not running on'''
 
OpenSuse 11.3 + old graphic card (outdated python in the repos, OpenGL >2.0 needed)
OpenSuse 11.3 + old graphic card (outdated python in the repos, OpenGL >2.0 needed)


Licence:
'''Licence:'''
--------
 
Creative Commons by-nc-sa
Creative Commons by-nc-sa
= credits to the authors, only non-commercial use, added code falls under same licence
= credits to the authors, only non-commercial use, added code falls under same licence
http://creativecommons.org/licenses/by-nc-sa/3.0/
http://creativecommons.org/licenses/by-nc-sa/3.0/


Authors:
'''Authors:'''
 
Chaostreff Tübingen 2011 (on GPN 11 Karlsruhe 2011)
--------
--------
Chaostreff Tübingen 2011 (on GPN 11 Karlsruhe 2011)
'''How to play the game'''


How to play the game
------------------
Get the system running in a not so bright room since sunlight reduces the Kinect`s vision.
Get the system running in a not so bright room since sunlight reduces the Kinect`s vision.


Position yourself in the range of the Kinect.
Position yourself in the range of the Kinect.
Form a psi-like shape so that the Kinect starts to take your measurements.
Form a psi-like shape so that the Kinect starts to take your measurements.
A psi-like shape means you stand straight, face the Kinect and hold your hands up like in the western "Hands up!"
A psi-like shape means you stand straight, face the Kinect and hold your hands up like in the western "Hands up!"


Wait till the calibration is finished and a human-like shape appears in the game.
Wait till the calibration is finished and a human-like shape appears in the game.
(If the calibration seemingly takes too long depending on the abilities of your computer, move a little bit so that the Kinect may understand you as a human to be calibrated.)
(If the calibration seemingly takes too long depending on the abilities of your computer, move a little bit so that the Kinect may understand you as a human to be calibrated.)


The first player will be "right" and plays on the right side, the second player will be "left" etc.
The first player will be "right" and plays on the right side, the second player will be "left" etc.


Hand Control
 
--------------
'''Hand Control'''
 
The "right player controls the position of his ball-shaped pole  with the right hand relative to the right shoulder and uses the left elbow angle to control its status. The pole`s status is shown as a corona around the players magnet.
The "right player controls the position of his ball-shaped pole  with the right hand relative to the right shoulder and uses the left elbow angle to control its status. The pole`s status is shown as a corona around the players magnet.
An  elbow angle from 180° to 90° results in a turquoise south pole.
An  elbow angle from 180° to 90° results in a turquoise south pole.
An angle below 90° moves the pole towards the north and the angle of nearly 0°C results in a red marked north pole
An angle below 90° moves the pole towards the north and the angle of nearly 0°C results in a red marked north pole


The "left" player controls the position of his ball-shaped pole in the game with the left hand and uses the right hand to control the pole`s status.
The "left" player controls the position of his ball-shaped pole in the game with the left hand and uses the right hand to control the pole`s status.


The ball
 
---------
'''The ball'''
 
Besides these two controllable poles in the game, the ball that needs to be moved in MagnetoPong is also a pole.
Besides these two controllable poles in the game, the ball that needs to be moved in MagnetoPong is also a pole.
It is initialized each time as an ideal south or north pole (indicated by its color) and needs to be moved to the others player`s field end.
It is initialized each time as an ideal south or north pole (indicated by its color) and needs to be moved to the others player`s field end.


Special move
 
------------
'''Special move'''
 
There is a booster for each player in the game.
There is a booster for each player in the game.
If the booster is charged (see color bar in the respective player`s corner) the player can "boost" its pole`s might proportional to the distance she/he moves the body up.
If the booster is charged (see color bar in the respective player`s corner) the player can "boost" its pole`s might proportional to the distance she/he moves the body up.
So jumping up is one possibility to start the boost.
So jumping up is one possibility to start the boost.
Bending knees and then jumping up covers a bigger distance and increases the boost.
Bending knees and then jumping up covers a bigger distance and increases the boost.


Who will find the easter egg?
Who will find the easter egg?


Calibration of the screen
 
-------------------------
'''Calibration of the screen'''
 
The game can measure the length of each player`s arm radius to recalibrate the game display.
The game can measure the length of each player`s arm radius to recalibrate the game display.
This is done automatically when you stretch your ball moving arm to the left, to the right and back to the left while not moving your shoulder part.
This is done automatically when you stretch your ball moving arm to the left, to the right and back to the left while not moving your shoulder part.
Basically the game measures the angle of your elbow here (near 180° degrees) and maps the size of the box to the distance your leading arm can stretch.
Basically the game measures the angle of your elbow here (near 180° degrees) and maps the size of the box to the distance your leading arm can stretch.


Have fun and don´t twist your ankles or punch your adversary while playing! :D
Have fun and don´t twist your ankles or punch your adversary while playing! :D

Version vom 25. Juni 2011, 22:07 Uhr


+++ MagnetoPong +++

Wir wollten mal was mit der Kinect machen und haben dementsprechend das Thema Magnetismus mit Pong und der Kinectsteuerung gekreuzt. Wie einige GPN-Besucher schon bemerkt haben, ist seit Samstag Nachmittag das Spielen bereits eröffnet. Programmiersprache ist C++, gestartet wurde Donnerstag Abend mit einem mehrstündigen Installationsbattle .. und soviel Code ist es nicht geworden. Viel Spaß beim Spielen und erweitern! :)

DownloadLink: MagnetoPong

Im Folgenden unser Readme mit Installationsanleitung sowie eine Erklärung der Steuerung.


Perequisites Using Kinect:

- OpenMI with modules: Nite, Sensorkinect

C++ lib for gaming purposes:

- ClanLib version 2.2

(Using our "make":

- scons (requires Python 2.7))


Tested on: Ubuntu Mint 10, Arch, Fedora 15 64 bit (Repository may contain outdated ClanLib), (Windows 7 OpenMI works, rest has compiling problems)


not running on

OpenSuse 11.3 + old graphic card (outdated python in the repos, OpenGL >2.0 needed)

Licence:

Creative Commons by-nc-sa

= credits to the authors, only non-commercial use, added code falls under same licence http://creativecommons.org/licenses/by-nc-sa/3.0/

Authors:

Chaostreff Tübingen 2011 (on GPN 11 Karlsruhe 2011)


How to play the game

Get the system running in a not so bright room since sunlight reduces the Kinect`s vision.

Position yourself in the range of the Kinect.

Form a psi-like shape so that the Kinect starts to take your measurements.

A psi-like shape means you stand straight, face the Kinect and hold your hands up like in the western "Hands up!"


Wait till the calibration is finished and a human-like shape appears in the game.

(If the calibration seemingly takes too long depending on the abilities of your computer, move a little bit so that the Kinect may understand you as a human to be calibrated.)

The first player will be "right" and plays on the right side, the second player will be "left" etc.


Hand Control

The "right player controls the position of his ball-shaped pole with the right hand relative to the right shoulder and uses the left elbow angle to control its status. The pole`s status is shown as a corona around the players magnet.

An elbow angle from 180° to 90° results in a turquoise south pole.

An angle below 90° moves the pole towards the north and the angle of nearly 0°C results in a red marked north pole


The "left" player controls the position of his ball-shaped pole in the game with the left hand and uses the right hand to control the pole`s status.


The ball

Besides these two controllable poles in the game, the ball that needs to be moved in MagnetoPong is also a pole.

It is initialized each time as an ideal south or north pole (indicated by its color) and needs to be moved to the others player`s field end.


Special move

There is a booster for each player in the game.

If the booster is charged (see color bar in the respective player`s corner) the player can "boost" its pole`s might proportional to the distance she/he moves the body up.

So jumping up is one possibility to start the boost.

Bending knees and then jumping up covers a bigger distance and increases the boost.


Who will find the easter egg?


Calibration of the screen

The game can measure the length of each player`s arm radius to recalibrate the game display. This is done automatically when you stretch your ball moving arm to the left, to the right and back to the left while not moving your shoulder part.

Basically the game measures the angle of your elbow here (near 180° degrees) and maps the size of the box to the distance your leading arm can stretch.


Have fun and don´t twist your ankles or punch your adversary while playing! :D