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

0 Members and 1 Guest are viewing this topic.

Offline PlazmaPhoenix

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +0/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #150 on: November 12, 2013, 07:01:53 pm »
I love this idea. I am new to Omnimaga and I have only been on once before now. I am trying to obtain an Nspire. If I do, Please pm me when this is done! I love the idea for adding mobs. I've played a few Calcraft's and they all sucked. This one looks like it's going to get on my favorites list!

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 #151 on: November 12, 2013, 07:05:27 pm »
Welcome to omnimaga! Please introduce yourself!
If you like my work: why not give me an internet?








Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Minecraft 2D for TI-Nspire
« Reply #152 on: November 13, 2013, 03:55:04 am »
I love this idea. I am new to Omnimaga and I have only been on once before now. I am trying to obtain an Nspire. If I do, Please pm me when this is done! I love the idea for adding mobs. I've played a few Calcraft's and they all sucked. This one looks like it's going to get on my favorites list!
You can actually hit the "Notify" button right above this topic, which will give you notifications via e-mail about new messages in this topic. This might be handy for when a new version comes out.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #153 on: November 16, 2013, 10:43:33 am »
!!!Update!!!
Version 0.11 is now attached to the first post!

New:
Water & Lava:
- Spreads and behave like in the real Minecraft
- fancy rendering via polygons/non patented strip scale method
- Destroy non waterproof blocks (like torches)
  - If destroyed by water, you get the item (for faster farming)
- Water on lava source ==> obsidian
- Lava on water source ==> stone
- Water on lava or lava on water ==> cobblestone

Buckets:
- Craft with 3 iron bars
- Pick up water/lava source block
- Place it anywhere else

Dungeons:
- 1 per 50 blocks of the maps' width
- 0-2 chests with various items
- zombiespawner in the middle

Stairs:
- walk towards them do climb without jumping
- walk off them to get down without falling
- automatic orientation

Day/Night cycle:
- Sun rises and day starts exactly at 5 am
- Sun sets and night starts exactly at 7 pm
==> More time until monsters spawn

Export function:
- now enabled to export your worlds to the MC2D world container
- don't try to paste it to the notepad on calc, it will take forever to load!

Code optimizations
- world generator is now 25% faster
- loading function is now 50% faster
- bugpreventions via metatables
- replaced some bad identifiers:
  Level==>world, menue==>menu, canWalkTrough==>canWalkThrough

Bugfixes and other improvements:
- gold sword as now correct texture
- fixed lightbugs with fire and lava
- light from lightsources is a bit smoother
- stars now twinkle a bit on fancy graphics
- another attemp to fix the OS 3.1 crafting menu bug ;)
- various bugfixes

MC2D World Container:
- Import worlds the clipboard
- See information about a world (Name, version, gamemode)
- Change the name of a world
- Export worlds to the clipboard
==> Import a world, send the container to an other Nspire and export it to its Minecraft: that's how you transfer worlds!
« Last Edit: November 16, 2013, 10:52:21 am by Jens_K »
Sorry for nonsense.

Projects:



Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #154 on: November 16, 2013, 10:47:00 am »
Nice job, very nice :)



My Lua projects :

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: Minecraft 2D for TI-Nspire
« Reply #155 on: November 16, 2013, 10:48:04 am »
Looks great  :)
Cant wait for the next update



Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Minecraft 2D for TI-Nspire
« Reply #156 on: November 16, 2013, 11:44:56 am »
MC2D World Container:
- Import worlds the clipboard
- Export worlds to the clipboard
==> Import a world, send the container to an other Nspire and export it to its Minecraft: that's how you transfer worlds!

Wow, that's clever !

On the other hand, you can use MyLib, but I think storing in the clipboard buffer is indeed faster than storing it in a shared string.
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Minecraft 2D for TI-Nspire
« Reply #157 on: November 16, 2013, 12:07:57 pm »
That's really good. I like the work that has been put into this so far.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline jh0421

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #158 on: November 16, 2013, 01:01:17 pm »
Very nice work as usual! However, there seems to be a problem with opening the game file itself; I'm getting "2286: bad argument #1 to 'register' (table expected, got nil)" error. (EDIT: tested both OS 3.1 and 3.2) Otherwise, looking forward to trying this out! :D
« Last Edit: November 16, 2013, 01:17:47 pm by jh0421 »
hello :D

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #159 on: November 16, 2013, 01:29:23 pm »
@adriwed:
On the other hand, you can use MyLib, but I think storing in the clipboard buffer is indeed faster than storing it in a shared string.
Uh, that sounds very interesting! Where can I find some information about this?

@jh0421: Oh, no! I'll change that straight away! But that's strange, I just used an information from the official Reference Guide: "Calling toolpalette.register(nil) deactivates the toolpalette."  :-\
Sorry for nonsense.

Projects:



Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #160 on: November 16, 2013, 01:41:43 pm »
i had the same problem too
but it kind works then randomly does not work and a whole lot of hard work is lost

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 #161 on: November 16, 2013, 01:42:21 pm »
@adriwed:
On the other hand, you can use MyLib, but I think storing in the clipboard buffer is indeed faster than storing it in a shared string.
Uh, that sounds very interesting! Where can I find some information about this?

There are some (lost/old) topic in this forum, but you can find an example here :
https://github.com/adriweb/EEPro-for-Nspire/blob/master/EEPro.big.lua#L1517

In there, it's a actually calling a function so that the actual retrieved content can change based on other stuff, but you can recall directly a string, if needed.
« Last Edit: November 16, 2013, 01:43:54 pm by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #162 on: November 16, 2013, 04:13:25 pm »
i think water is still an issue
in creative i tried the water and it does come to cover the paths to dungeons

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 #163 on: November 16, 2013, 11:40:45 pm »
This program looks stupendous.  It singlehandedly makes me want an Nspire.  Great work!
You should know, I am a Christian.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #164 on: November 17, 2013, 07:02:04 am »
Update!
If you downloaded 0.11 yesterday and it crashed with the message "2286: bad argument #1 to 'register' (table expected, got nil)", please download it again to get the fixed version! (thanks to jh0421!)

@adriweb: thanks for the link, but I only found
Code: [Select]
loadstring(math.eval("formulaproextdb\\categories()"))()I already know from my Script Editor Project that it is possible to import strings from documents in MyLib, but I can't find how to store something in an external document... (I'm sorry if I simply overlooked it; it is a huge code!)

@hking1: I don't understand what you mean, The water is now exacltly like in the real Minecraft! But feel free to write an algorithm that considers correct physical behaviours of liquids ;)
« Last Edit: November 17, 2013, 07:02:20 am by Jens_K »
Sorry for nonsense.

Projects: