Author Topic: NYAN NYAN NYAN NYAN ... this is the game :D  (Read 28333 times)

0 Members and 2 Guests are viewing this topic.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
NYAN NYAN NYAN NYAN ... this is the game :D
« on: August 13, 2011, 07:07:18 am »
I'm going to particpate to the Contest #2 with a random troll game :D

NYAN CAT GAME !

I've done it in 1.5 days, I understood why games are pretty fast to program :D

The beautiful psychedelic title screen :

you have to avoid vegetables ....

... and eat candy ...

... without dying ...


On-calc it has a better render but it is slower, since it was coded in 1.5 days I haven't searched to be extensible.

As you can see, I'm using a bug of the TI-Nspire API to put the Lua Game in FullScreen :D
http://levak.free.fr/ftp/nspire/NyanCat/screens/P13-08-11_02.13.JPG
http://levak.free.fr/ftp/nspire/NyanCat/screens/P13-08-11_08.18.JPG
« Last Edit: August 13, 2011, 07:20:15 am by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #1 on: August 13, 2011, 08:19:01 am »
It looks *great*!

We really got some competition :)

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #2 on: August 13, 2011, 11:37:52 am »
Wow! That is really nice. It looks professionally done for a game made in 1.5 days.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #3 on: August 13, 2011, 11:44:11 am »
:w00t: THAT is AWESOME this is lua right can you run this on a computer? or does it have to be a ti-nspire either way is cool I am getting a ti-nspire (maybe CX) today from birthday money :D
This used to contain a signature.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #4 on: August 13, 2011, 11:50:13 am »
It can run on the Ti-Nspire Computer Software, but it isn't really as cool as on the CX, because the timer is so fast that you miss everything =( (I can't make difference between the computer software in calc mode which is the default mode and the calculator itself, in Lua ...)

I'm compiling a video demo =)
« Last Edit: August 13, 2011, 11:50:49 am by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #5 on: August 13, 2011, 12:03:04 pm »
thats ok I will get an nspire
This used to contain a signature.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #6 on: August 13, 2011, 01:43:00 pm »
Lol nice! :D

I noticed you used the "toast" and not the "pop-tart" version of Nyan, though.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #7 on: August 13, 2011, 01:53:47 pm »
Nice ! ;-)
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: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #8 on: August 13, 2011, 02:30:25 pm »
Lol nice. It looks pretty sweet and I like how you use the full screen glitch.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #9 on: August 13, 2011, 03:16:10 pm »
Nice :D

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

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: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #10 on: August 13, 2011, 08:39:50 pm »
That is fast, but it still looks great O.O How did you do that outline text?




Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #11 on: August 13, 2011, 09:09:05 pm »
That looks pretty awesome! Cant wait for Monday :D

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #12 on: August 13, 2011, 09:52:27 pm »
Here is the video demo  !



For the "outline text" or "the glitch", I said I used a bug in the TI-Nspire Lua API, that means it will be solved in the next updates of the Lua framework.
The bug is detailed here :
http://ti.bank.free.fr/forum/viewtopic.php?f=19&t=7271

As you can see, it hasn't got any advantage since it doesn't refresh all the time !! So there is no "outline text", everithing is under the 28px header. I only redraw the entire screen in black blue to make an impression of freedom =)

I noticed you used the "toast" and not the "pop-tart" version of Nyan, though.
The pop-art version is too small to be drawn directly, and too big to be scaled at the TI-Nspire size =(
« Last Edit: August 13, 2011, 09:57:49 pm by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

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: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #13 on: August 13, 2011, 10:02:46 pm »
Okay, that wins by default O.O
« Last Edit: August 13, 2011, 10:02:54 pm by Deep Thought »




Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: NYAN NYAN NYAN NYAN ... this is the game :D
« Reply #14 on: August 13, 2011, 10:19:15 pm »
Okay, that wins by default O.O

In a way, it renders well only on CX.

 - On non-CX the screen sucks
 - On Computer it is too fast and unplayable and I can't make difference in Lua
 - On emulator, if you play too long time it will reboots (and I made my possible to free the memory at every critical points) ==> but it is still playable !

But yeah, if DJ_O has a CX to test, I think he's gonna play all the night. I'm sorry, you will had to play the music with your PC :D

Oh, let me think ... I can play sound in Lua with jim's method :o   \^/
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua