This is the P2PU Archive. If you want the current site, go to www.p2pu.org!

Programming Visual Media

My recent threads

You haven't posted any discussions yet.

Recently updated threads

Game Proposal: Xonix

Go back to: General discussion

Hi.

I've been reading through Tetris Lesson. (I cannot join you on saturdays and sundays at that time 8:00 PM CET . sorry guys), but I'd propose a game to be realized with any of you interested: Xonix. I tried (with no luck) to embed a video of the game in the page.

Anyway I'll try to sum up and split up in code the game, for you to follow the all project.

- gaming screen full windowed and rectangular (black, with 10 pixel light blue frame around)
- there are 2 kind of shapes: the ball and the quad.
      - balls bounces of 90° as they touch any wall, (within the black frame) everything bounces of 90°
      - the black quad jaggly bouces in the outer frame, in the blue
      - the pink quad doesn't bounce: his movement in controlled by the keyboard of the player
- Texts: we have Score, Xn (lives) Full (percentage) and Time
      - Score: the number of pixels the player is moving from black to light blue
      - Xn: number of lives
      - Full: the percentage of black space moved to blue
      - Time: Time allowed to complete a level (decreasing from 90 to 0 - not seconds,)
- The Pink Quad can enter in the Black part of the screen
- The Black Quad Cannot enter in the Black part of the screen
- The Balls cannot enter in the Blue part of the screen
- As the Pink Quad enter in the Black, it's leaving a pink line beside him. If the balls touch the pink line, the game stops (an 8 bit sound is played / Xn -1 / game starts again)
- if the percentage goes over 75% the level is over
- Each new level the number of balls is increased by one.
- Every two levels the number of black squaes is increased by one.
- The Upper Left Corner and the Lower Right Corner aren't touched, in his bouncing path, by the black quad

Ari Bader-Natal's picture
Ari Bader-Natal
Wed, 2010-10-13 07:09

Looks like fun!

Davide Gomba's picture
Davide Gomba
Sun, 2010-10-24 22:26

any body wants to code?
http://studio.sketchpad.cc/xDTn0JI8pD

I'm stuck.