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

0 Members and 1 Guest are viewing this topic.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #225 on: September 30, 2012, 02:05:30 pm »
I finally found 1 hour or 2 to code :)

I obviously didn't have time to add saving, but I changed two things :
-Now the full render should not crash anything : it uses 25 times less RAM. I also added a progress bar.
-I finally fixed the sorting bug !

The new version is attached...

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #226 on: September 30, 2012, 02:23:45 pm »
Cool,I have a question. Will there be a menu at the start so that we can all have our way with the controls?(Do this after making saving so that we can also save the controls)

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #227 on: September 30, 2012, 02:38:27 pm »
Yes, I will try it. (This should not be very hard :) )

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #228 on: September 30, 2012, 03:06:05 pm »
Loic your are gentleman, would you care to join the gentleman's club?

Edit: I found a minor bug, if you fall off the edge of the world you can simply run back up. I am not sure if this is new to the update.
« Last Edit: September 30, 2012, 03:18:12 pm by Augs »

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: nCraft (3D minecraft-like game for the nspire)
« Reply #229 on: September 30, 2012, 05:31:06 pm »
Actually being able to go beyond the edge of the world is a bug as well. It would be nice if it was fixed lol.

By the way what do you mean by full render Chockosta? Is there a special key that can enable higher res or quality? Maybe it would be a good idea to include the controls with every release in a post so we don't have to search all 16 pages of the topic to find them. :P
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #230 on: September 30, 2012, 11:36:02 pm »
You can press f to see the full world
This used to contain a signature.

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: nCraft (3D minecraft-like game for the nspire)
« Reply #231 on: October 01, 2012, 01:14:08 am »
ok thanks.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #232 on: October 01, 2012, 11:46:56 am »
Question: Will there ever be crafting, I know it is a long way away but will it ever come?

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #233 on: October 01, 2012, 01:51:45 pm »
Actually being able to go beyond the edge of the world is a bug as well. It would be nice if it was fixed lol.
This is now fixed :)
I also fixed another minor bug (I don't think that anybody noticed it anyway)
And finally, I added a basic menu.
(no release, these are minor changes...)

Maybe it would be a good idea to include the controls with every release in a post so we don't have to search all 16 pages of the topic to find them. :P
Yes, I will do this, sorry  :) .

Question: Will there ever be crafting, I know it is a long way away but will it ever come?
Obviously ;)
Minecraft without crafting is not Minecraft. But as you said,, it is a long way away...

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #234 on: October 01, 2012, 02:00:01 pm »
Awesome, I can't wait for crafting! But for now I think save worlds will do.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #235 on: October 01, 2012, 02:16:58 pm »
You know, last night I spent hours playing that game. If you add saving to any file so people can share maps, just in its current status the game might be so addicting that it will be like a fully finished calc game hit.

Two bug reports, however:

-I noticed that from time to time, the touchpad stops responding. I have to release it then press it again so the camera rotates again.
-Also, unlike other Nspire games, I noticed that to actually move the camera around, the fingers have to be exactly on the touchpad arrows, not 1mm below nor above. You have to be very accurate, else no camera move happen. Would it be possible to make it like nDoom, gbc4nspire and stuff, so that even if your fingers are too low or too high, the touchpad still responds? That could also allow diagonal camera movement, which are currently impossible it seems.

Feature suggestion:

-Lower resolution mode, where the game 3D can be changed from 320x240 to 160x120 and 80x60. Would that help increasing speed? If so, then you could add the next feature too.
-Longer viewing range. Currently blocks about 8 steps away from you disappear. It would be nice if we could choose a deeper field of view. That way if you build large stuff, you can still view them all at once when farther away.
Oh sorry, didn't see that post.
About the bugs, I can't tell much. For now, I only used basic ndless functions isKeyPressed() for the arrows...
I guess that I'll have to work on this too (oh god, my todo list starts to be huge !)

About your features suggestions :
-Lower resolution would hardly increase the speed. This is not raycasting-based 3D, so the number of pixels does not really matter.
-The viewing range has been choosen short because of speed reasons :( But you can see the full world with the "F" key. The render takes about 3 seconds to generate.
« Last Edit: October 01, 2012, 02:18:28 pm by Chockosta »

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: nCraft (3D minecraft-like game for the nspire)
« Reply #236 on: October 01, 2012, 05:17:46 pm »
Would it be possible to simply re-use the nDoom engine or something similar? It runs consistently around 20-30 FPS even with long field of view depth and textures on walls. Or is it impossible due to how your world can be modified non stop such as adding blocks/destroying them? Maybe there is a way to increase the speed. Not that it's super important for now but maybe worth to check in the future?
« Last Edit: October 01, 2012, 05:19:01 pm by DJ_O »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #237 on: October 01, 2012, 05:25:15 pm »
Yeah Ndoom runs fine with textures. I find it mind blowing that an old PC game can go onto a calculator.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #238 on: October 02, 2012, 12:06:22 pm »
That would be totally impossible.

The doom engine is a pseudo-3D engine. It only accepts walls perpendicular to the floor.
Moreover, it's impossible to look up or down. It's not real 3D (closer to raycasting than to real 3D, I think)
Also, it is much easier to display textures on a few large walls than on lots of small walls.

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #239 on: October 02, 2012, 12:14:34 pm »
Well OK. I was also curious about mobs.

A. Will they ever exist?
B. I think they should be 2d like doom mobs.
C. Sorry for asking so many questions, I am just really interested in this project.