GLBasic forum

Main forum => Competitions => Topic started by: Kitty Hello on 2005-Nov-03

Title: GLBasic's 1st dance mat competition
Post by: Kitty Hello on 2005-Nov-03
Write a game that can be played with a dance-mat.
(http://www.dietandfitnessresources.co.uk/images/equipment/x0039d.jpg)
I know you ain't got one, so you take this function:

Code: GLBasic [Select]
// state[num_players][nbutton]
FUNCTION DanceMat: state[]
LOCAL num_mats
        num_mats = 2

        REDIM state[num_mats][9]
        // Mat-state-layout:
        // 0 1 2
        // 3(4)5
        // 6 7 8

        // keys: QWE, ASD, YXC
        // 16, 17, 18
        // 30,(31) 32
        // 44, 45, 46
        state[0][0]=KEY(16)
        state[0][1]=KEY(17)
        state[0][2]=KEY(18)
        state[0][3]=KEY(30)
        state[0][4]=0
        state[0][5]=KEY(32)
        state[0][6]=KEY(44)
        state[0][7]=KEY(45)
        state[0][8]=KEY(46)

        // Num-pad
        // 71 72 73
        // 75(76)77
        // 79 80 81
        IF num_mats>1
                state[1][0]=KEY(71)
                state[1][1]=KEY(72)
                state[1][2]=KEY(73)
                state[1][3]=KEY(75)
                state[1][4]=0
                state[1][5]=KEY(77)
                state[1][6]=KEY(78)
                state[1][7]=KEY(79)
                state[1][8]=KEY(80)
        ENDIF
ENDFUNCTION
Change the num_mats in order to have only one "virtual dance mat" on your computer. You can control mat 1 with keys:
QWE
AsD
ZXC
and mat 2 with the num-pad.

In order to get the number of players, you can use
Code: GLBasic [Select]
DanceMat(state[])
num_players = BOUNDS(state[], 0)
If you want to know if player 1 (index 0) stomps on "right - up", you check
Code: GLBasic [Select]
IF state[0][2] THEN ...
All buttons can be pressed simultanously, however a player should be assumed to have 2 hands, 2 feet and one head (no Zaphod - I don't care!)

Now, make a game that fullfills these
Rules:
- the game should use the "dance mat" as a fitness device, not just a controller
- can be played alone and up to 8 players simultanously (8 mats connected)
- on one physical monitor - splitscreen, one screen, alternating screen - no matter
- the game should stop at about 120 seconds (that's when you're exhausted and start to puke)
- make it challenging. Once your friends come for a visit, they won't leave for a week or two

Rating
- rating system has values "yay/nice/ok/ahem/zero" and uses these weights (does that sum up to 100 ? ;) )
- 10% graphics
- 10% sound
- 10% mood
- 30% playability
- 40% concept and idea


Additional Info:
- source code and media must be sent in
- copyright stays with the author
- game must be freeware and permission to publish on www.glbasic.com must be granted
- all media sent must be copyright by you - don't use ripped graphics
- you can use the free GLBasic demo version, no need to buy
- deadline is 20-feb-2006 - 23:59:59
- you can participate as a team, the leader will have to take care about prize-sharing
- entries must be sent in compressed zip format
- zips must be smaller than 10MB of size
- all entries must have a screenshot 640x480 included as jpg file
- a readme.txt file must be inside with your contact address, name of the game
  and a short description how it works.

Prizes:
- the winner will get 3 (! THREE !) new usb dance mats
  (1 for home use, 2 as birthday gifts)
- 2nd place:
  two new usb dance mats
- 3rd place
  one new usb dance mat
- all entries will be rated and exposed on www.glbasic.com
Title: GLBasic's 1st dance mat competition
Post by: Kitty Hello on 2006-Feb-08
Extendet to 20-feb-2006
Title: GLBasic's 1st dance mat competition
Post by: Kitty Hello on 2006-Feb-25
Since noone in English language contributed, I refused to translate this: http://www.glbasic.com/forum/viewtopic.php?pid=1068#p1068 ;)