The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

Puzzle15 for TI-nspire CX (cas)

Started by grosged, February 20, 2017, 05:12:35 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grosged

February 20, 2017, 05:12:35 pm Last Edit: February 28, 2017, 05:17:09 pm by grosged
Hi everyone!

I'm glad to propose you my very first 100% ARM assembly game : ➜ Puzzle15 (Ndless required)


(thx to Vogtinator for the video capture from Firebird Ti-nspire emulator ;) )

Here are the keys :
- [2], [8], [4] and [6] to move a bloc ;
- [shift] to mix automatically the puzzle ...any key to stop (I'm fond of  the animation!)
- NEW : [tab] to select an image amongst 15 availables
- [esc] to leave the game.

It runs on TI-nspire CX (cas), so please don't try to run it on classic monochrome TI-nspire models (or it will crash)

Voilà! I hope you have fun !

DJ Omnimaga

Looks nice and smooth :). I'll give it a try later if I can get the game to run on my calc. :)

p2

does that flickering on the screen happen on real calcs as well?
also I'm wondering if it's only while moving a block (screen updates) or always... ^^

besides that it looks really nice and indeed smooth  :thumbsup:
do you plan on adding more pictures to play with? :)
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga

The flickering is because animated GIFs cannot be more than 256 colors per frame, while the game uses 65536 at a time (since the Nspire CX LCD is 16 bits)

p2

ah ok so it runs perfectly smooth on an actual calc? nice :)
still hoping for multiple pics//levels ^.^
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

grosged

February 23, 2017, 09:41:05 pm #5 Last Edit: February 23, 2017, 09:42:56 pm by grosged
Yes, the option to choose different pictures would be cool (I'm thinkin' on it) .
But I would not add so many because each picture takes 150Kb (you were right, DJ Omnimaga : the default image I included in Taquin uses 16bit-colors ;) )
By the way, TI-nspire CX also allow 24bit-color images ;  see this mini-program I wrote as an example : PArrots24bpp


grosged

New version : now you can select an image amongst 15 availables ! (initial post updated)

DJ Omnimaga

February 28, 2017, 05:40:39 pm #7 Last Edit: February 28, 2017, 05:42:21 pm by DJ Omnimaga
Awesome. Something I am curious about is if in the future, support for mViewer images would be feasible (resized to fill the screen)


I also didn't know the Nspire CX supported 24 bpp. I thought your program just alternated rapidly between multiple color layers, like some SNES games did to have more than 256 colors and how grayscale was done on the older monochrome calculator models.

grosged

February 28, 2017, 06:13:16 pm #8 Last Edit: February 28, 2017, 06:17:52 pm by grosged
Thanks ;) ...First, I wanted to include 24bpp images in Puzzle15...But I quickly noticed that several pictures would take so much memory !!
That's why I decided to choose 16bit-color-images ;)

Here are the 15 pictures availables :


p2

awww, none with a walrus or a sheep :'(
still it's really nice images, I like them :)
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga

Those pics look nice. We definitively need walruses and foxes. :) ( Maybe custom packs?)

grosged

March 06, 2017, 05:29:45 pm #11 Last Edit: March 07, 2017, 08:22:49 pm by grosged
...Then  I wrote another version of Puzzle15 especially for codewalr.us : Walruzzle15  ;D

https://www.dropbox.com/s/2bfun32jaqhmjbb/Walruzzle15.prg.tns?dl=0

As you probably guessed, Walruzzle15 contains 15 pictures of walruses  ;)


p2

I'm loving it O.O
these pictures are perfect!! :love:
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga

This new version is amazing. It needs one with a :walrii: in a corner or something :P

Powered by EzPortal