• Minecraft 2D for TI-Nspire 5 1
Currently:  

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

0 Members and 1 Guest are viewing this topic.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Minecraft 2D for TI-Nspire
« Reply #180 on: November 23, 2013, 05:56:37 am »
If you want to add a method to export save games or something, you could use the clipboard. Basically, when you want to export, serialize the data in a format that you can put into a string. Copy it to the clipboard and display a message to the user that he needs to open a 'save game' document in order to save. The 'save game' document is something that fetches the data out of the clipboard (and checks if it's valid of course) and stores it to a local variable.

If im not mistaken, its what he did in the first place, look at the previous page.
« Last Edit: November 23, 2013, 05:56:42 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: Minecraft 2D for TI-Nspire
« Reply #181 on: November 23, 2013, 06:16:01 am »
If you want to add a method to export save games or something, you could use the clipboard. Basically, when you want to export, serialize the data in a format that you can put into a string. Copy it to the clipboard and display a message to the user that he needs to open a 'save game' document in order to save. The 'save game' document is something that fetches the data out of the clipboard (and checks if it's valid of course) and stores it to a local variable.

If im not mistaken, its what he did in the first place, look at the previous page.

Oh, indeed. I seem to have missed that part.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #182 on: November 23, 2013, 08:47:05 am »
! Update !
Version 0.11.1 is now attached to the first post!

Fixes:
- Doors fixed
- Generated flying water is now surrounded by dirt again
- Attemp to fix advanced crafting menu bug on OS<3.2

@CalebHansberry:
The program is open source, but if you don't have a student software, you can't extract the lua code... I'll pm it to you!
About the 2 layer system: You are not the first who asked for it, but there are several difficulties to translate it to the nspire:
It would take twice as much space for the second tileset to distinguish both layers (I already have more than 50 for the blocks), it would take twice as much space when you save the world, it would take twice as long to save/load both layers, it would take twice as long to update all visible blocks and in some situations it would take longer to render.
I want to finish the main features of the game first, then I'll think about advanced features ;)
Btw: It's written in the header of the script that everyone is allowed to read the code and use parts of it.

@annoyingcalc:
Thanks for the information, you are the first who mentions it! Well, it's something that the crafting menu works anyhow. What exactly doesn't work now? I changed a bit about the menu-switching in 0.11.1 so it maybe works now.

@Jim Bauwens & Levak:
Yep, that's indeed exactly how I did it; it's easy to miss updates here... Good to hear that a professional programmer has the same idea as me :)
Sorry for nonsense.

Projects:



Offline CalebHansberry

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 135
  • Rating: +14/-0
  • This is my personal text
    • View Profile
    • Skylites Computers
Re: Minecraft 2D for TI-Nspire
« Reply #183 on: November 23, 2013, 01:08:03 pm »
Thanks Jens, I'll appreciate it!
You should know, I am a Christian.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #184 on: November 23, 2013, 05:21:20 pm »
I can't seem to craft at all now -.-
This used to contain a signature.

Offline nspireguy

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 158
  • Rating: +11/-6
    • View Profile
    • NspireGuy
Re: Minecraft 2D for TI-Nspire
« Reply #185 on: November 26, 2013, 05:01:37 pm »
You still cant craft stuff on 3.1 but it all seems to be great on anything 3.1<.
I suggest that if you have time you should add more things to make/craft. Like armor,red stone,fishin pole.
this looks like a good list http://www.minecraftxl.com/crafting-recipes/
this is  *.* AWESOME *.* best of luck. hope I helped  :angel:
« Last Edit: November 29, 2013, 12:13:23 pm by nspireguy »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #186 on: November 28, 2013, 06:09:40 am »
The POTY is coming and your program still wasn't uploaded to ticalc.org ;)
So yeah, Lionel thinks (and he's not the only one) that it would be a pity not to have your program entering that contest, so if you want to, you can upload your program (this one and others) to ticalc and send an email to ticalc admins saying why your program deserves to be featured. And be fast, the deadline is really close.
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 Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #187 on: November 28, 2013, 07:39:03 am »
Fix! If you have OS < 3.2 please download the file again, now you should at least be able to craft without crafting table again ;)

@nspireguy: You can look at the first post of this topic to see what's planned; Armor is defenitely planned for the final release, redstone is a feature that will probably be added after the release.

@Hayleia: Ah, thanks for pointing out, I certainly would have forgotten it! My plan was to upload minecraft 2D to ticalc when it's finished but this is the first contest I'll participate! I'm so excited! :D

Edit: Ok, file is uploaded and email is sent to [email protected] (?) Now let's hope that it was still in time... when is the deadline?

Edit 2: The ticalc staff is very fast today: The file is already uploaded and you can find it here: http://www.ticalc.org/archives/files/fileinfo/457/45729.html

« Last Edit: November 28, 2013, 12:58:32 pm by Jens_K »
Sorry for nonsense.

Projects:



Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #188 on: November 28, 2013, 10:53:56 am »
@Hayleia: Ah, thanks for pointing out, I certainly would have forgotten it! My plan was to upload minecraft 2D to ticalc when it's finished but this is the first contest I'll participate! I'm so excited! :D

Edit: Ok, file is uploaded and email is sent to [email protected] (?) Now let's hope that it was still in time... when is the deadline?
Great ! :D
Yeah, that seems to be the right adress. And the deadline is December the 1st (you must be featured before this date, not just upload before this date, but I guess it is ok).
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 annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #189 on: November 29, 2013, 02:45:51 pm »
Later today when my new computer arrives, I will test out the new version to see if crafting works, I think this project should be featured on ticalc.
This used to contain a signature.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Minecraft 2D for TI-Nspire
« Reply #190 on: November 29, 2013, 04:06:35 pm »
It's featured on ticalc.org :)
« Last Edit: November 29, 2013, 04:06:51 pm by Jim Bauwens »

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #191 on: November 29, 2013, 05:08:17 pm »
Congratulations on being featured!
This used to contain a signature.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Minecraft 2D for TI-Nspire
« Reply #192 on: November 30, 2013, 09:17:50 am »
Yup, congrats on the feature! :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #193 on: November 30, 2013, 09:28:59 am »
Congratz ! :D

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Minecraft 2D for TI-Nspire
« Reply #194 on: November 30, 2013, 09:57:24 am »
It's games like this that make me want to get a Nspire. Sadly I have to choose between a 3ds, a nspire and a prime. No easy choice!
If you like my work: why not give me an internet?