Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Munchor on August 03, 2011, 01:14:33 pm

Title: [Computer] Falling Blocks
Post by: Munchor on August 03, 2011, 01:14:33 pm
After making Falling Blocks for the Nspire, I decided to make Falling Blocks for Computer, made in Python, uses wxPython:



I actually enjoy playing it myself, but it makes me furious, because when I lose this I really get nervous  :mad:

It's actually a very similar version of Falling Blocks for the Nspire (http://ourl.ca/12331/232230), my contest entry but for computers. It works on all operative systems, but requires Python and wxPython.

I will be uploading it when the contest ends :) What do you think?
Title: Re: [Computer] Falling Blocks
Post by: Jim Bauwens on August 04, 2011, 01:14:26 am
Cool, can't wait to try it :)
Also, I get already nervous by just looking at the video x)
Title: Re: [Computer] Falling Blocks
Post by: Munchor on August 04, 2011, 06:16:23 am
Cool, can't wait to try it :)
Also, I get already nervous by just looking at the video x)

Indeed, it's very "ouch, that was close". The game uses the graphics device of wxPython, and it's code is very similar to the Nspire Lua's code, because I made it event based. The highscores are saved on a text file, as binary numbers.
Title: Re: [Computer] Falling Blocks
Post by: Munchor on August 08, 2011, 11:56:48 am
Actually, here's an updated screenshot with colours:

(http://img.removedfromgame.com/imgs/FallingBlocksColours.png)

Blocks almost hitting you are red and the ones more above are green, I'm also about to die in this screenshot :P
Title: Re: [Computer] Falling Blocks
Post by: pianoman on August 08, 2011, 12:01:41 pm
Can't wait for it, and yeah, I felt myself holding my breath while the video was going on.
Title: Re: [Computer] Falling Blocks
Post by: Deep Toaster on August 08, 2011, 02:34:24 pm
Looking great :D
I actually enjoy playing it myself, but it makes me furious, because when I lose this I really get nervous  :mad:
Which means you got the replay value right :D

Also, I kinda lost something when I read that.
Blocks almost hitting you are red and the ones more above are green, I'm also about to die in this screenshot :P
Good timing lol
Title: Re: [Computer] Falling Blocks
Post by: DJ Omnimaga on August 08, 2011, 03:38:49 pm
Interesting, I wonder if you could make the blocks go down smoothly?
Title: Re: [Computer] Falling Blocks
Post by: Munchor on August 08, 2011, 04:08:53 pm
Interesting, I wonder if you could make the blocks go down smoothly?

I just made it smoother, thanks for the idea!

Which means you got the replay value right :D

Thanks!

Now here's a video showing some progress:

Title: Re: [Computer] Falling Blocks
Post by: JosJuice on August 09, 2011, 08:14:43 am
Maybe it would be possible to make the blocks transition smoothly from green to red instead of suddenly changing? The basics are a bit basic right now, but the gameplay looks nice. :)