Author Topic: Pool Nspire  (Read 33483 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Pool Nspire
« Reply #15 on: July 25, 2012, 01:29:25 am »
That sounds really nice already :D
But does that use the physics library of the OS 3.2 ?

No I made all by myself and so it can work on any "Lua supporting OS" ! :)
Great :D
I was afraid I would not be able to play this when it comes out.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Pool Nspire
« Reply #16 on: July 25, 2012, 01:31:15 pm »
That sounds really nice already :D
But does that use the physics library of the OS 3.2 ?

No I made all by myself and so it can work on any "Lua supporting OS" ! :)

that's indeed wonderful! nice to see this running, and it seems to be working perfectly :) great

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: Pool Nspire
« Reply #17 on: August 08, 2012, 10:35:42 am »
Hello there !

I'm still working on my pool game and here's a new screen in the attachment ! ;)



As you can see on the shitty screen, I've decided to make a 3D view from the cloth, as if you were the white ball itself !  ;D

I've made the 3D engine myself because RayCasting would have been to slow and not really appropriated.. Indeed I tried to make a light 3D engine as physics calculations are already important.

To do list :
- Implementing the rules
- Managing two players
- Artificial Intelligence !
- Menu and all that graphic and GUI stuff..

Maybe much later :
- Other billiard game as french billiard or "9-ball" (you know, where you must enter the balls in the right order, finishing with the ninth).

As you can see there are many possibilities but still much work !  ;D

NOTE : I've attached the .tns file, so try it ! (I have to find a better program for color screenshot !)  ^-^
« Last Edit: August 09, 2012, 09:41:50 am by Loulou 54 »
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Pool Nspire
« Reply #18 on: August 08, 2012, 10:53:35 am »
Oh, great new view :)


When do we get a tns file ? ;)
« Last Edit: August 08, 2012, 10:54:03 am by critor »
TI-Planet co-admin.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Pool Nspire
« Reply #19 on: August 08, 2012, 11:18:11 am »
NOTE : I've attached the .tns file, so try it ! (I have to find a better program for color screenshot !)  ^-^

Thanks for the edit, but are you sure about that?

I can see no attached file except the screen capture in your last and first posts...
« Last Edit: August 08, 2012, 11:18:23 am by critor »
TI-Planet co-admin.

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: Pool Nspire
« Reply #20 on: August 08, 2012, 11:26:26 am »
Hello there !

I'm still working on my pool game and here's a new screen in the attachment ! ;)



As you can see on the shitty screen, I've decided to make a 3D view from the cloth, as if you were the white ball itself !  ;D

I've made the 3D engine myself because RayCasting would have been to slow and not really appropriated.. Indeed I tried to make a light 3D engine as physics calculations are already important.

To do list :
- Implementing the rules
- Managing two players
- Artificial Intelligence !
- Menu and all that graphic and GUI stuff..

Maybe much later :
- Other billiard game as french billiard or "9-ball" (you know, where you must enter the balls in the right order, finishing with the ninth).

As you can see there are many possibilities but still much work !  ;D

NOTE : I've attached the .tns file, so try it ! (I have to find a better program for color screenshot !)  ^-^

In that screenshot you sometimes see a green ball in front of the others! exactly has the same color as the table!
Is that a bug in game or in screenshotprogram?

but looks nice! ;)
*insert supercool signature*

Offline Wayne

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +3/-3
    • View Profile
Re: Pool Nspire
« Reply #21 on: August 08, 2012, 01:21:50 pm »
Nice :thumbsup:
But where is the download link ;)

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: Pool Nspire
« Reply #22 on: August 09, 2012, 09:43:46 am »
Oh yes I'm dumb I've forgotten it ! xD
I've edited my post. ;)

Billard v0.5

P2 : yes it's a bug in the screenshot program.. x)

What do you use critor or others ?

CalcCapture is good but only for black/white..

EDIT : commands :
to aim : with the mouse or with arrows : (left/right=accurate ; up/down=faster)
to shoot : hold the click button or press enter to control the power and release it or press enter again to fire ! ;)
« Last Edit: August 09, 2012, 09:53:11 am by Loulou 54 »
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Pool Nspire
« Reply #23 on: August 09, 2012, 10:24:57 am »
That looks awesome. I love seeing games with realistic physics :D Can you control how hard you shoot?

EDIT: 3D what?!
« Last Edit: August 09, 2012, 10:26:15 am by Deep Thought »




Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: Pool Nspire
« Reply #24 on: August 09, 2012, 10:33:21 am »
That looks awesome. I love seeing games with realistic physics :D Can you control how hard you shoot?

EDIT: 3D what?!

Yes obviously ! ;)

Yes 3D !! (not perfect but still..) Try it ! :P
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Pool Nspire
« Reply #25 on: August 09, 2012, 11:28:49 am »
Very nice (just tested)

Also, the code looks weirdly indented (if at all ?), so here is a version with a properly indented and formatted code :
http://paste.bwns.be/p/f22b29b93

It runs pretty smooth :)
It really makes me want to continue the physics-based one to compare the performance !
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: Pool Nspire
« Reply #26 on: August 09, 2012, 12:36:40 pm »
Yes I know ^^ I don't use much indentation, but sometimes I use it to bring out things.. So yes it's weirdly indented ! x)

How did you get the source from my .tns ? :)
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline Wayne

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +3/-3
    • View Profile
Re: Pool Nspire
« Reply #27 on: August 09, 2012, 01:11:12 pm »
Awesome
Do you add a highscore or a 2 player mode?

Offline someone

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +9/-0
    • View Profile
Re: Pool Nspire
« Reply #28 on: August 09, 2012, 03:37:35 pm »
How did you get the source from my .tns ? :)
You can now see the LUA code of the files if you use the latest version for the computer (Guess any version is fine). Is under the menu Insert -> Script Editor -> Edit Script

Do you add a highscore or a 2 player mode?
I don't know about the high-score, but 2 player is in his todo list
To do list :
- Implementing the rules
- Managing two players
- Artificial Intelligence !
- Menu and all that graphic and GUI stuff..

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: Pool Nspire
« Reply #29 on: August 09, 2012, 04:12:41 pm »
Thanks someone, I still haven't updated anything in 3.2.. x) I will do that soon for the student software. :)

Yes indeed two player mode is coming.

But about scores, how would it work, Wayne ? :)
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471