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

0 Members and 2 Guests 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 #240 on: October 02, 2012, 02:20:28 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.
 
A. Yes, I hope so.
B. They will probably be 2D sprites indeed
C. Don't worry, it keeps me motivated :)

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 #241 on: October 02, 2012, 02:57:23 pm »
Oh right, I forgot that in Doom you can't look up/down x.x

Question: When you display cubes, do you draw each side even when they're hidden?

By the way I tried the new version and somehow it looks even better. Probably due to fixing the sorting bug. :D
« Last Edit: October 02, 2012, 02:57:57 pm by DJ_O »

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #242 on: October 02, 2012, 03:05:48 pm »
Question: When you display cubes, do you draw each side even when they're hidden?
No, I dont :)
I don't draw cubes behind the player
I draw only 3 faces per cube
I don't draw cubes that does not "touch" air
« Last Edit: October 02, 2012, 03:06:48 pm by Chockosta »

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 #243 on: October 02, 2012, 03:15:37 pm »
Ok good to hear. :)

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 #244 on: October 03, 2012, 12:35:55 pm »
(omg, the latest version was downloaded 258 times *.*)

Also, I thought about something. Would it be possible to increase the viewing range in some way by drawing near cubes using 3d (what you are currently doing) and drawing the remaining cubes (the ones that are far) with ugly rectangles or so ?
This way, you don't use 3d for every cube (so speed is saved) and we still somehow see a bit further ? :)
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 xacto

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +10/-0
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #245 on: October 03, 2012, 09:20:00 pm »
I just downloaded this yesterday and it is AWESOME! Is there anyway you could add a save function so people can continue where they last left off?

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #246 on: October 05, 2012, 03:15:26 pm »
A few suggestions:

-A red block
-Make diamond rarer
-trees

And any prediction on saving?

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 #247 on: October 06, 2012, 01:29:58 am »
Actually that would be a good idea to draw farther stuff as 2D rectangles (just scaled down). It's not like anything that small would have this much of an impact on graphics quality anyway.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #248 on: October 06, 2012, 05:40:03 am »
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.

Offline Wayne

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +3/-3
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #249 on: October 06, 2012, 06:54:20 am »
That's awesome :thumbsup:
Keep it up!

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #250 on: October 06, 2012, 01:11:53 pm »
New version !
You now can save your progress :)

I also added a main menu. It has 3 items :
- New world (creates a new world. Beware : if there is already one world, it will be replaced !)
- Load world (Loads the saved world)
- Settings (Does nothing for now)

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.
(Thanks to Levak for his help !)
Do not rename or move the save file : it has to be in the same folder as the executable, and it has to be called nCraft.save.tns.
(You can use several save files by renaming them, by the way)

Spoiler For controls:
- Arrows : turn the camera
- 8 : go forward
- 5 or 2 : go backward
- 4 and 6 : strafe
- tab : remove a block
- ctrl : add a block
- + and - : choose the selected block
- F : render the full world

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: nCraft (3D minecraft-like game for the nspire)
« Reply #251 on: October 06, 2012, 01:17:22 pm »
Awesome work. But I can select anything on the menu.

Edit: I found out I had to press enter. I feel like an idiot.
« Last Edit: October 06, 2012, 01:30:00 pm by Augs »

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 #252 on: October 06, 2012, 01:31:58 pm »
New version !
You now can save your progress :)
Hehe, this is why I didn't disconnect. When I saw Levak answered you, I thought "the update is for tonight" :P
Awesome work as always, downloading right now (yay ! I can finally build my house without fearing to lose it :w00t:)
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: nCraft (3D minecraft-like game for the nspire)
« Reply #253 on: October 06, 2012, 01:43:32 pm »
* 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
This used to contain a signature.

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 #254 on: October 06, 2012, 02:16:40 pm »
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?