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

0 Members and 3 Guests are viewing this topic.

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #135 on: November 07, 2013, 11:40:02 am »
@Jens_K Why don't you simply use as water, a orange polygon. I know textures are good but don't make it hard :p



My Lua projects :

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #136 on: November 07, 2013, 11:46:16 am »
@AnToX98: Yep, I'll try that and see what it looks like, but I'm afraid that you can't tell what it is on grayscale displays
Sorry for nonsense.

Projects:



Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #137 on: November 07, 2013, 02:21:29 pm »
@Jens_K But it's that hard to insert to lava images with inclinations ?



My Lua projects :

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #138 on: November 07, 2013, 04:14:26 pm »
for lava, we can have 1/4 the image which will make flow easier
-------------------------------
edit

nope again jens beat my ideas
« Last Edit: November 15, 2013, 10:48:39 pm by hking1 »

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #139 on: November 07, 2013, 04:44:28 pm »
@AnToX98: Yes, because there are many different combinations of the height of the right end and the height of the left end of a tile. But fortunately I just came from a bar and I am creative now, which is why I just got a cool idea to solve that problem! :D Stay tuned, you'll probably see the results soon! :)

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 #140 on: November 07, 2013, 07:23:35 pm »
i have an idea for infinity you may or may not like it
we start at a random point (as usual)  but we can have infinite world in one direction
it will solve the mixing of different environmental features such as dungeons and caves,etc
 8) :o 8)

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #141 on: November 08, 2013, 10:46:51 am »
Hi,
my idea works perfectly: I've split the lavatexture in 16 strips and compress each to a length between 1 and 16 pixels. Later, at the rendering, I compute the inclination and assemble the strips as needed.
I haven't tested the performance on calc yet, but as long as rendering 16 times a 16*1 pixel image isn't much slower than rednering a 16*16 pixels image, it won't impact the performance much! :)
« Last Edit: November 08, 2013, 10:47:03 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 #142 on: November 08, 2013, 11:34:42 am »
Wow that looks perfect  :w00t:



My Lua projects :

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #143 on: November 08, 2013, 02:59:57 pm »
well better than what i expected
good job jens keep it up  ;D
____________________________________________________________________________________________________________________________________
ps
oh and consider the post

http://ourl.ca/19054;msg=312313
Quote
i have an idea for infinity you may or may not like it
we start at a random point (as usual)  but we can have infinite world in one direction
it will solve the mixing of different environmental features such as dungeons and caves,etc

it is better than this one

http://ourl.ca/19054;msg=311806
Quote
great looking game
though i wish can slowly progress for infinite worlds

____________________________________________________________________________________________________________________________________
when is v 0.11 coming out ??? ??? ???
« Last Edit: November 08, 2013, 03:57:20 pm by hking1 »

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #144 on: November 09, 2013, 09:10:00 am »
@Jens_K Conversely, there is lots of simple things you can add, like bamboos, cactus. And I approve that advanced crafting putting items one by one would be sooooo cool :)
Little question : would you mind putting redstone :D ?



My Lua projects :

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #145 on: November 10, 2013, 08:40:52 am »
@AnToX98: You're right, I shouldn't forget to add some ordinary stuff! I'm still not sure if a crafting grid would be good to use on a calculator. Maybe that will be a switchable option in the future. Redstone is huge. I feel like it would take another half year and 1000+ lines of code to cover all functionalities... but I promise to at least try to do it!

@hking1: I want to finish all basic features like armor system, proper main menu and world transfer system first to finally get version 1.0 released! Then I'll think about bigger experiments like crafting grid, infinite worlds and redstone. About version 0.11: I have nearly finished the content of the update, but I also want to optimize the game with adriwebs tipps! That will make processes like generating, loading and maybe even rendering a lot faster! I hope I will have finished it next weekend :)
Sorry for nonsense.

Projects:



Offline jh0421

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #146 on: November 10, 2013, 10:23:30 am »
Very nice job! I wish you luck in your work :D

Also, correct me if I'm wrong, but the picture for gold sword seems to be a diamond sword, in the crafting menu and when crafted.
hello :D

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #147 on: November 10, 2013, 02:34:14 pm »
Sounds Reasonable

check this out
http://www.xpgamesaves.com/topic/40532-minecraft-2d-minecraft-mod/

i am confident you will be able to make something like this eventually because depth for two block level is necessary. I have furnaces and crafting tables etc blocking me all the time

dont mind the extra good graphics its pc mod
« Last Edit: November 10, 2013, 07:05:49 pm by hking1 »

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Minecraft 2D for TI-Nspire
« Reply #148 on: November 12, 2013, 05:09:27 pm »
Hi,
@jh0421: Oh, yes, thanks for the report, I'll fix that ;)

@hking1: I agree, a 2 block depth would be good, but there are reasons why I keep a 1 block depth for the moment:
That's how some other minecraft 2D do it, but it would take twice as much space for the second tileset to distinguish both layers (I already have  over 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 a bit longer to render...

AAND the code optimization is looking very good! :) Thanks to adriwebs tipp, I now use a metatable to handle empty fields instead of initializing every empty field with 0! That and other optimizations makes the generating of a new world 25% faster!! I am working on the loading function now and I guess it will have similar effects! :)
Sorry for nonsense.

Projects:



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 #149 on: November 12, 2013, 05:20:55 pm »
Lava is looking great! Can't wait to fall in it and loose my diamond gear!
If you like my work: why not give me an internet?