Author Topic: Brick Breaker for TI-nspire (Lua)  (Read 15686 times)

0 Members and 1 Guest are viewing this topic.

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #15 on: November 27, 2013, 05:36:05 am »
Hey guys. There is a strange collision, invisible :0
Could you help me to find that bug, here is the video that shows that :



The code is included in the download file :)
« Last Edit: November 27, 2013, 05:36:36 am by AnToX98 »



My Lua projects :

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Brick Breaker for TI-nspire (Lua)
« Reply #16 on: November 27, 2013, 07:48:39 am »
Try to make a log file of the collisions. Not sure if that's possible tho in lua.
I'm not a nerd but I pretend:

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #17 on: November 27, 2013, 08:29:30 am »
What, that is not a bad idea. I forgot I can "debug" using "print" :). But if somenone could help, I'll be very gratful.
Best regards,
AnToX98



My Lua projects :

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #18 on: November 27, 2013, 10:46:31 am »
UPDATE ! :D

A huge collision bug is now corrected :D
Same link in the first post

@mdr1 could you adapt it for 3.1 plz, thank you :)



My Lua projects :

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #19 on: December 06, 2013, 05:52:31 pm »
can u make mouse based interface for cx and touchpad based nspires so moving mouse around will move the around the paddle

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #20 on: December 07, 2013, 09:34:34 am »
But there is already a mouse support :/



My Lua projects :

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #21 on: December 07, 2013, 12:24:14 pm »
i meant touch interface not pressing down the mouse buttons

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #22 on: December 07, 2013, 01:50:12 pm »
yeah, that's what I meant : there is already a touch interface to control the paddle...



My Lua projects :

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #23 on: December 07, 2013, 01:54:21 pm »
oh how

cuz i cannot do that
« Last Edit: December 07, 2013, 01:55:10 pm by hking1 »

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #24 on: December 08, 2013, 07:06:30 am »
@mdr1 could you adapt it for 3.1 plz, thank you :)
I updated your archive on tiplanet (same link) so that it works with both OS 3.1 and 3.2. Oh, and I replaced the benning of the game in the level 1 instead of the level 33 (you probably forgot to change it before uploading it).

PS: It's not really an adaptation, I juste rebuild it with luna.



Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #25 on: December 10, 2013, 11:21:25 am »
Yeah actually the game start at level 33 :p Thank you for reporting :)



My Lua projects :

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: Brick Breaker for TI-nspire (Lua)
« Reply #26 on: December 10, 2013, 02:13:51 pm »
yeah, that's what I meant : there is already a touch interface to control the paddle...

I think he probably didn't notice because of how unresponsive Lua and TI-OS touchpad controls are. :P (not your fault, of course. Blame TI for their batshit horrible implementation of touchpad controls.)

But again, one HP Prime game in particular isn't any better on that point.
« Last Edit: December 10, 2013, 02:14:18 pm by DJ Omnimaga »

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: Brick Breaker for TI-nspire (Lua)
« Reply #27 on: December 13, 2013, 12:43:07 pm »
I finally got around to playing this, and its lots of fun :D
Could you make it work with the numpad? the arrowKeys are rather clumsy and unresponsive on a lot of NSpires



Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: Brick Breaker for TI-nspire (Lua)
« Reply #28 on: December 19, 2013, 08:03:17 pm »
Another thing, Every now and then, the ball gets stuck in a pattern, and you have to quit. It gets really annoying because ill still have 3 lives, and then the ball will get suck bouncing between 3 blocks in an endless loop. :(
Also, a level select would be nice :)



Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Brick Breaker for TI-nspire (Lua)
« Reply #29 on: December 20, 2013, 11:14:33 am »
I know that what I'm going to do is do an more random move of the ball when she touches a block



My Lua projects :