Author Topic: nCraft (3D minecraft-like game for the nspire)  (Read 114398 times)

0 Members and 1 Guest are viewing this topic.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #255 on: October 06, 2012, 02:28:29 pm »
If only this was for the prizm(but lets not get offtopic)....

This looks great! It makes me want to buy an nSpire, but I probably won't.
I like milk.

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #256 on: October 06, 2012, 02:44:38 pm »
Check out this castle I just built!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #257 on: October 06, 2012, 03:36:49 pm »
The world is saved each time you quit the game. The save file is quite heavy (800 KB) but its size could be reduced by more than half with a good compression.
The problem I see with compression is that loading and saving will take more time. Anyway, 800 KB is not heavy at all by the way. I see you don't play The Urbz (more than 20 MB) ;)

Also, I had some suggestions:
-change the order of the menu options: put "load" first and "new" in second, because we only need to choose "new" once and then, we always choose "load" ;)
-for now, quitting always save, but a way to quit without saving would be great too :) (other than a reboot)
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 DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #258 on: October 06, 2012, 05:22:43 pm »
To avoid saving wrong stuff on your world, I guess you could maybe duplicate it before running the game and rename your backup copy in case.

Also I'm gonna try the update when I have some time. :)

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #259 on: October 07, 2012, 02:29:12 am »
Quote
To avoid saving wrong stuff on your world, I guess you could maybe duplicate it before running the game and rename your backup copy in case.
+1, a number of computer programs implement that good safety measure, though it temporarily requires a bit more storage space.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #260 on: October 07, 2012, 07:14:57 am »
A few suggestions:

-A red block
-Make diamond rarer
-Yes, a red block could be useful for creations... (Redstone ? TNT ? Red wool ?)
-I'm not sure that rarer diamonds would be a good idea : the world isn't as huge as the original minecraft, so the number of diamonds is quite limited.

* annoyingcalc hugs Chockosta BEST NSPIRE PROJECT EVER!

you should make it like minecraft alpha, with the backgrounds having dirt blocks and have an option for 10 worlds
Thanks for the support :D
A "dirt" background would indeed look nice.
And yes, I should add a file browser to allow to have several world (well you can now, but you have to rename them before launching the game)

As I said to Hayleia on TI-Planet, the main speed loss isn't caused by cube drawing.
Off course rectangles would be faster, but I'm not sure that it worth the quality loss.
So then the main speed loss is coming from sorting them?
That's pretty hard to say.
The speed loss is almost equally reparted in three parts :
-Calculations for which block is visible. (That's the part that I could, and should optimize MUCH more)
-Depth sorting a lot of blocks (This part is well optimized)
-Drawing them (There could be more optimization here too...)

Also, I had some suggestions:
-change the order of the menu options: put "load" first and "new" in second, because we only need to choose "new" once and then, we always choose "load" ;)
-for now, quitting always save, but a way to quit without saving would be great too :) (other than a reboot)
-The first one is a good idea indeed
-Would a shortcut like shift+esc to quit without saving be okay ?

To avoid saving wrong stuff on your world, I guess you could maybe duplicate it before running the game and rename your backup copy in case.
You mean like Axe Parser backups ?
It would take twice as much memory, and it would add a loading time before starting to play...
This could be a good idea too, but isn't Hayleia idea sufficient ? (An option to quit without saving)

Check out this castle I just built!
Wow, awesome castle !
There are a few screenshots of it in the attachment, because this thread starts to lack screenies :)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #261 on: October 07, 2012, 08:09:09 am »
Wow Augs, Nice building here :thumbsup:

* annoyingcalc hugs Chockosta BEST NSPIRE PROJECT EVER!

you should make it like minecraft alpha, with the backgrounds having dirt blocks and have an option for 10 worlds
Thanks for the support :D
A "dirt" background would indeed look nice.
What is a "dirt background" ? ???

Also, I had some suggestions:
-change the order of the menu options: put "load" first and "new" in second, because we only need to choose "new" once and then, we always choose "load" ;)
-for now, quitting always save, but a way to quit without saving would be great too :) (other than a reboot)
-The first one is a good idea indeed
-Would a shortcut like shift+esc to quit without saving be okay ?
Yes, shift+esc for example.
Or you can do "esc" to save and quit, and "del" to quit without saving.
Or "lib" to save, and "esc" to quit so we can save, quit without saving and quit after saving.
As you wish :)

To avoid saving wrong stuff on your world, I guess you could maybe duplicate it before running the game and rename your backup copy in case.
You mean like Axe Parser backups ?
It would take twice as much memory, and it would add a loading time before starting to play...
This could be a good idea too, but isn't Hayleia idea sufficient ? (An option to quit without saving)
Well, if you add my idea and the support for several savegames, the backup idea would not be very useful ;)
Moreover, I think that DJ_O was not talking about a feature to add to the game but more giving advice to users. At least, this is how I understood him.
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 ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #262 on: October 07, 2012, 08:28:21 am »
* annoyingcalc hugs Chockosta BEST NSPIRE PROJECT EVER!

you should make it like minecraft alpha, with the backgrounds having dirt blocks and have an option for 10 worlds
Thanks for the support :D
A "dirt" background would indeed look nice.
What is a "dirt background" ? ???
He means the background of the minecraft menu in the days of alpha/beta:


That save support is awesome  :thumbsup: Downloading right now. Finally I can save and show you my builds :D

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

Offline turiqwalrus

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 840
  • Rating: +51/-2
  • Wheeeeeee~!
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #263 on: October 07, 2012, 09:01:01 am »
A dirt background is the older minecraft menu BG. it was basically a tiled dirt texture.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #264 on: October 07, 2012, 12:03:46 pm »
Ah ok, I didn't understand he was talking about a background in the menu. I thought he was talking about an ingame background :P
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 lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #265 on: October 07, 2012, 12:22:22 pm »
I finally found the time to test it, and it's very impressive :)
But on my grayscale calc I couldn't really see much, could you make it a bit darker? (for grayscale only)
« Last Edit: October 07, 2012, 12:22:37 pm by lkj »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #266 on: October 07, 2012, 03:19:14 pm »
By duplicate save files I meant that the until a quit without saving option is available, the user could just manually rename the save file before running the game, via the Nspire document menu.

Also those screenshots are nice. As for optimizing, you could also post in the C section of the forums in case some C or 3D programmers who never check projects might take a look there. Just make sure to include source code of what you think that might be slow. I know Calc84maniac and tr1p1ea worked with 3D before, although not in C. Runer112 did too, but only with raycasting if I remember.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #267 on: October 07, 2012, 04:49:12 pm »
You should do a benchmark to see how many rectangles you can draw per second, then we can actually see which parts of the program are slowing down the overall performance.

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #268 on: October 08, 2012, 06:42:15 am »
Chocosta, this looks good. I should ask(force) Jim if I could try it. :P


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #269 on: October 08, 2012, 11:45:14 am »
I've been messing around for this a bit, and overall it's a pretty nice job.
I keep finding myself wishing the view can turn around faster, tho..also I keep running into the bug where cubes aren't drawn if you're right up next to them :/ I guess using the touchpad for camera movement would be a fix for that.
I also keep wanting the camera control movement to be more fine for long-distance work :P Again with the touchpad I guess.


Anyway some more screenie stuff for the thread ;D
(yay skyfish)
« Last Edit: October 08, 2012, 11:56:49 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue