Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Gravity Ball

Loading...

Sign in or sign up now!
3,797
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 9, 2008

This is a game I wrote for my Video Game Design and Programming class. It's a simple game, but it's pretty fun. It's called Gravity Ball and it's played with the Wiimote.

Your ball is placed in a maze that you must navigate through. You don't have direct control over the ball, only the gravity in the room. When the Wiimote is flat gravity is normal. When you roll the Wiimote to the left or right, the gravity shifts left or right respectively. Turning the Wiimote upside down, likewise, makes the gravity go upwards.

The goal is to make it to the end of the maze. You are timed, so you can try to make a speed run, and there are coins to collect, so you can take your time and collect all the coins. Which goal you go for is up to you. In the end you're scored with a percentage telling you how well you did.

Hitting the "X" buttons in the level opens doors. I do this once in the first level I played. Passing through a glowing colored zone changes the color of the border of the ball. It's hard to see on camera, but when I pass through that pink box in the first level the ball picked up a pink aura and could then pass through pink walls. I changed to a green outline about halfway through the level to proceed past the green wall. There is also glowing lava that will kill you if you collide with it.

The game was programmed using WiimoteLib, a free C# library for interfacing with the Wiimote. I did not use XNA for this game as it did not have the kind of drawing functions I needed to make the polygons or arbitrary shapes easily. The music playing in the background of the game is "One Last Hope", a song by Jesse Valentine that I got from the Newgrounds Audio Portal.

Category:

Entertainment

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (iosysred)

  • pretty interesting idea. It's probably a good idea to have some sort of visual representation of what's going on, though... Perhaps rotate the whole level to show the gravity shifting, or even just a particle effect or something showing which way the ball is being pulled.

  • There is a dial in the bottom right corner that shows the vector of gravity, and I'm thinking about adding a "tail" to the ball just to make it a little more clear how it moves.

see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • yo sup cheez been a while

  • BACK TRACKING!!

  • that's pretty cool, thought the music seemed a little out of place... it's an okay song and all it just seemed a little weird paired with the game

  • .;'

  • So what did you wind up going with for graphics? It looks really good, nice work.

  • very cool

  • Very neat! Looks like it goes well with the Wiimote.

  • DO WANT

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more