Author Topic: FallDown  (Read 5113 times)

0 Members and 1 Guest are viewing this topic.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
FallDown
« on: April 30, 2011, 02:12:53 pm »
Hi,

I made another game this afternoon lol : FallDown

Here's what it looks like :


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 (.tns Nspire file)
http://www.mediafire.com/?w7qr3nvlrtx9tl4 (.lua source code)
« Last Edit: May 01, 2011, 06:28:53 am by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: FallDown
« Reply #1 on: April 30, 2011, 02:37:52 pm »
THis seems nice, how fast does it run on calc?

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: FallDown
« Reply #2 on: April 30, 2011, 02:44:17 pm »
I tested it, and the speed is just fine on calc :)

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: FallDown
« Reply #3 on: April 30, 2011, 05:29:45 pm »
And I just improved it again :)

And the bug is kinda fixed now I think
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: FallDown
« Reply #4 on: May 01, 2011, 05:33:09 am »
Yay :D

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: FallDown
« Reply #5 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 (.tns Nspire file)
http://www.mediafire.com/?w7qr3nvlrtx9tl4 (.lua source code)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation