Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: Adriweb on April 30, 2011, 02:12:53 pm

Title: FallDown
Post by: Adriweb on April 30, 2011, 02:12:53 pm
Hi,

I made another game this afternoon lol : FallDown

Here's what it looks like :
(http://i.imgur.com/IQt5k.jpg) (http://i.imgur.com/5EGdb.jpg)

I still need to fix the collision detection just a bit because in some weird cases it falls through lines .... meh :P

Edit : fixed all that + bonus feature (see some of my next posts)

Download links :
http://www.mediafire.com/?x4k326xmwyc2xpw (http://www.mediafire.com/?x4k326xmwyc2xpw) (.tns Nspire file)
http://www.mediafire.com/?w7qr3nvlrtx9tl4 (http://www.mediafire.com/?w7qr3nvlrtx9tl4) (.lua source code)
Title: Re: FallDown
Post by: DJ Omnimaga on April 30, 2011, 02:37:52 pm
THis seems nice, how fast does it run on calc?
Title: Re: FallDown
Post by: Jim Bauwens on April 30, 2011, 02:44:17 pm
I tested it, and the speed is just fine on calc :)
Title: Re: FallDown
Post by: Adriweb on April 30, 2011, 05:29:45 pm
And I just improved it again :)

And the bug is kinda fixed now I think
Title: Re: FallDown
Post by: Jim Bauwens on May 01, 2011, 05:33:09 am
Yay :D
Title: Re: FallDown
Post by: Adriweb on May 01, 2011, 06:28:11 am
Beta version !

Added a much better "collision detection, and "gravity" (so the ball falls even when its x-coord changes)
Added the "Bonus" feature : each 500 points, you get a bonus. That means that if you press [Down Arrow], you'll go through the next line.
Optimizations

Download links :
http://www.mediafire.com/?x4k326xmwyc2xpw (http://www.mediafire.com/?x4k326xmwyc2xpw) (.tns Nspire file)
http://www.mediafire.com/?w7qr3nvlrtx9tl4 (http://www.mediafire.com/?w7qr3nvlrtx9tl4) (.lua source code)