Author Topic: Minecraft 2D for TI-Nspire  (Read 82248 times)

0 Members and 2 Guests are viewing this topic.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 186
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #30 on: June 12, 2013, 01:45:39 pm »
Ok, link on first post! :D As I said, there will be several bugs, report them here or send a email to [email protected]
« Last Edit: June 12, 2013, 02:06:28 pm by Jens_K »
Sorry for nonsense.

Projects:



Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #31 on: June 12, 2013, 03:12:56 pm »
@adriweb:
1) Yes, I think the problem is at enable/disable elements on-the-fly, I use that function to sort out items, that needs a crafting table.
2) I'm using this tool: http://hoffa.zzl.org/index.php and it looks like this compresses the images as much as possible
3) Without any saves the .tns is 29KB. Every save takes about 1-2KB. Btw every world is 200x100 Blocks large (but the code supports larger).

@ben_g:
Yes I used the original textures and for the other questions just look at the first post :P

Where did you get your textures(I've looked but could never find them)?
I like milk.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 186
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #32 on: June 12, 2013, 03:22:57 pm »
Thy are in the minecraft.jar . You can open the minecraft.jar with WinRAR and copy them out.
Sorry for nonsense.

Projects:



Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #33 on: June 12, 2013, 05:40:15 pm »
Suggestion: You start with nothing.

Offline AlexisVieira

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 100
  • Rating: +1/-1
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #34 on: June 12, 2013, 06:07:12 pm »
it's too slow on my nspire... (touchpad)
I'm Portuguese, sorry bad English

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 186
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #35 on: June 13, 2013, 07:54:18 am »
@Augs: Whoops, forgot that... Of course you'll start with nothing, those items were only for debugging! Sorry for that! ::)
@AlexisVieira: Well thats a shame, have you tried switching the graphics mode with [V]? What device do you use? On my CX with OS 3.2 there's nearly no delay on processing of a keystroke.
« Last Edit: June 13, 2013, 07:57:43 am by Jens_K »
Sorry for nonsense.

Projects:



Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #36 on: June 13, 2013, 01:54:03 pm »
There is indeed no delay in processing a keystroke. I tested it on my CX (nlaunched to CX CAS) and it works like a charm. The character does take some time to respond when jumping or falling, but not in a way that is annoying in my opinion. I'm having good fun playing this :D

Some people need a high five in the face... with a chair.
~EC

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #37 on: June 13, 2013, 04:50:22 pm »
Same here. :)

Offline AlexisVieira

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 100
  • Rating: +1/-1
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #38 on: June 13, 2013, 06:03:50 pm »
@Augs: Whoops, forgot that... Of course you'll start with nothing, those items were only for debugging! Sorry for that! ::)
@AlexisVieira: Well thats a shame, have you tried switching the graphics mode with [V]? What device do you use? On my CX with OS 3.2 there's nearly no delay on processing of a keystroke.
i don't tried to switch the graphics mode yet... i'll try tomorrow... When i tried i was using a Ti-nspire touchpad OS 3.1
I'm Portuguese, sorry bad English

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55838
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Minecraft 2D for TI-Nspire
« Reply #39 on: June 13, 2013, 10:55:45 pm »
I didn't have time to play this, but could anyone remind me of what is the difference between both graphics mode? Is the texture resolution lower on one of them, for example?
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 186
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #40 on: June 14, 2013, 01:15:27 am »
The only difference is at the itembar: Use Textures for the slots or dark grey rectangles and enables/disables shadows of the item numbers.
Sorry for nonsense.

Projects:



Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55838
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Minecraft 2D for TI-Nspire
« Reply #41 on: June 14, 2013, 01:52:30 am »
Ah I see. Thanks for the clarification. I guess it won't impact the visuals much, though, since the important part are the terrain graphics not looking like Atari 2600 material. :P
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #42 on: June 14, 2013, 03:14:59 am »
Lol. ;D

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Minecraft 2D for TI-Nspire
« Reply #43 on: June 14, 2013, 04:43:38 am »
First, congratulations, I just tested and it is great.
Really, well done :)

I have some feedback about the coding, though :
You may want to take a look at what you can do with some more advanced lua coding techniques, for example :
- http://inspired-lua.org/index.php/2013/05/a-new-smarter-way-to-create-a-screen-manager/
- http://inspired-lua.org/index.php/2013/05/how-to-add-your-own-functions-to-gc/

It can greatly simplify your code :)

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 186
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #44 on: June 14, 2013, 10:39:44 am »
@adriweb: I started programming ~3 years ago and this is one of my first LUA projects ever, it's probably the biggest project I started yet. I still have much to learn so thank you for the links. As I said I'll clean up the code someday and I'll take your tipp into account! 
Sorry for nonsense.

Projects: