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

0 Members and 1 Guest are viewing this topic.

Offline njaddison

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 176
  • Rating: +24/-27
    • View Profile
Re: Some 3D with Ndless...
« Reply #30 on: March 05, 2012, 03:28:06 pm »
Chocksta! Don't stop programming! How can TI block ndless if we don't let them? We need a new nspire link software, a way to send files to our nspire without the fear of secretly being upgraded. Also, if your nspire's storage is full, then an os will not fit on it. Please! We need this!

TI thinks that we use ndless to cheat, but lets show them what ndless can do! I'm planning on buying an nspire cx when I get in Geometry in the 8th grade, but when I read the news, I totally changed my mind! Let's spread the news to everyone who uses an nspire.

Let's come back and take the win!

Let's just say we make up 25% of nspire users, and we are the ndless users also. If we all tell at least one person we know who uses an nspire to install ndless and don't upgrade to os 3.2, then that will bring the percent of nspire users that use ndless up to if not 50%, than 35%! Let's send letters of complaint to TI!

If TI allows ndless, then more people will buy the nspire! Someone in my class bought an nspire just because ndless 3.1 came out!

We need to take action!
« Last Edit: March 05, 2012, 03:28:34 pm by njaddison »
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/5f42ec78e054645d.png" alt="NerdTests.com says I'm a Highly Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!">
</a>


Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: Some 3D with Ndless...
« Reply #31 on: March 05, 2012, 03:28:50 pm »
Moreover, it seems that TI secures more and more their OSes, so I think that ndless 3.2 won't be here before a while, despite your amazing work.

I don't think they'll ever make a secure OS, as long as ExtendeD is motivated and has time there will be Ndless :)

Quote
Anyway, I thought a lot about this last night, and it would be stupid to stop calculator programming.
I might not stop this project, but it is paused for sure (for at least one week).
I still feel discouraged, but I do want to help the community, and it seems that giving up isn't the right thing to do.
I like your project, and if programming isn't fun for you at the moment, just make a pause and program again when it's fun again :)

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Some 3D with Ndless...
« Reply #32 on: March 05, 2012, 05:36:37 pm »
We need a new nspire link software, a way to send files to our nspire without the fear of secretly being upgraded. Also, if your nspire's storage is full, then an os will not fit on it. Please! We need this!


TiLP spotted.
« Last Edit: March 05, 2012, 05:36:51 pm by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Some 3D with Ndless...
« Reply #33 on: March 06, 2012, 02:30:35 am »
Indeed, TILP doesn't have that kind of egregious misfeature.


FWIW, there's a bit of potential in making new GPL'ed Nspire linking code, this time in C++ (using std:: facilities to replace Glib where applicable, and be neutral to whatever UI tookits people would want to use on top of the library), borrowing information from the libti* + tilp code base (which is the best available source of information). Without support for TI-Z80 and TI-68k (for which any evolution from TI's side is now over), and the associated cables, file types, character conversions, etc., the code base would be massively streamlined.
But I think that for instance, the pattern of using structs containing function pointers should be kept.


EDIT nearly two weeks later: last week-end, I spent several hours experimenting with stripping TI-Z80 and TI-68k support out of TILP. As I had predicted, the libti* + tilp code base was massively shrunk, even without spending time thoroughly purging the code base (lots of low-hanging fruit remain: dozens of references to various TI-Z80 and TI-68k models remain, as do hundreds of lines in the error handling code, and other code which does no longer matter in a code base which doesn't support the older models anymore): from ~78K lines in .c and .h files (libti* + tilp CLI/GUI, I merged everything together in a single folder), the code base shrank to ~35K lines.
Of course, the binary resulting from the build of the stripped code base can communicate with my Nspire CX CAS :)
« Last Edit: March 21, 2012, 03:08:30 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Some 3D with Ndless...
« Reply #34 on: March 06, 2012, 06:39:11 am »
Hey don't give up Chockosta! This is an ambitious project and it may take quite a while before you make significant progress on this. I would regard this as a large project that you can complete in steps while you complete some other smaller projects. So go and program something else and then come back and work on this one step at a time. Then we shall see if we can show TI how to "defy the impossible".
Also I have been trying to learn Lua but it's been slow progress, if any.
« Last Edit: March 06, 2012, 06:40:14 am by Jonius7 »
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: Some 3D with Ndless...
« Reply #35 on: March 20, 2012, 03:33:21 pm »
I just decided to resume this project.
(BTW, I also resumed GravityGuy development and nSpaint)

I don't think that it will be really fun to use, but it's a nice challenge for me. I hope that it will be playable...
Anyway, I kinda optimized the display.
I can now draw a lot of cubes with a decent speed. (~1000 cubes in 0.2 sec)

But I really need to use the timers to slow down sometimes... When there's almost nothing to draw, the camera moves incredibly fast.
Does anyone know where I could find some documentation ?
« Last Edit: March 20, 2012, 03:33:42 pm by Chockosta »

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Some 3D with Ndless...
« Reply #36 on: March 20, 2012, 04:10:54 pm »
Test ALL the addresses :D
http://hackspire.unsads.com/wiki/index.php/Memory-mapped_I/O_ports

Timer 1, Timer 2, and RTC.
The choice is up to you.
Beware on the emulator, it seems that the RTC can't be modified since it is based on the system (windows) time.
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Some 3D with Ndless...
« Reply #37 on: March 21, 2012, 02:06:49 am »
Test ALL the addresses :D
http://hackspire.unsads.com/wiki/index.php/Memory-mapped_I/O_ports

Timer 1, Timer 2, and RTC.
The choice is up to you.
Beware on the emulator, it seems that the RTC can't be modified since it is based on the system (windows) time.
What is RTC ? If that means Real Time Clock does that mean there is a clock on the Nspires that I never noticed ?

I just decided to resume this project.
(BTW, I also resumed GravityGuy development and nSpaint)

I don't think that it will be really fun to use, but it's a nice challenge for me. I hope that it will be playable...
Anyway, I kinda optimized the display.
I can now draw a lot of cubes with a decent speed. (~1000 cubes in 0.2 sec)

But I really need to use the timers to slow down sometimes... When there's almost nothing to draw, the camera moves incredibly fast.
Does anyone know where I could find some documentation ?
Glad to see you didn't quit everything because of TI :)
(Also, 1000 cubes in 0.2 sec is incredibly fast O.O)
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 olivermadsen

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: Some 3D with Ndless...
« Reply #38 on: March 21, 2012, 04:08:57 am »
If you get minecraft to work on the CX, you win.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: Some 3D with Ndless...
« Reply #39 on: March 21, 2012, 07:57:49 am »
Test ALL the addresses :D
http://hackspire.unsads.com/wiki/index.php/Memory-mapped_I/O_ports

Timer 1, Timer 2, and RTC.
The choice is up to you.
Beware on the emulator, it seems that the RTC can't be modified since it is based on the system (windows) time.
Thanks !

What is RTC ? If that means Real Time Clock does that mean there is a clock on the Nspires that I never noticed ?
Yes...
A while ago, with ndless 2, I made a little program to use it, but I never finished it.

If you get minecraft to work on the CX, you win.
I hope I will :)
But don't think it will really look like the PC game : much slower, no textures, no nice physics...
« Last Edit: March 21, 2012, 07:59:02 am by Chockosta »

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: Some 3D with Ndless...
« Reply #40 on: March 24, 2012, 08:26:48 am »
It's time for a really little demo version !
You can walk on a ridiculously tiny island with a little house.
This is more a proof of concept than anything else.

If you want to try it, open the attached archive and use nCraft.tns.
WARNING : it has never been tested on a real calculator. And I don't have CX support yet.
You can go forward with a, backward with z and you can turn the camera with the arrows.
The collision detection is very simple and doesn't really work.

For the ones who want to see it but don't want to download it, there is an attached screenshot.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Some 3D with Ndless...
« Reply #41 on: March 24, 2012, 09:29:08 am »
wow, nice รถ i tried it on my cx Cas and saw on the upper 1/4th of the screen that house, with the front wall green, the left wall blue and the floor pastel green :)

i couldn't move, but as you said it wasn't supported yet i had to try it out xp

but seeing the screenshot it really shows a lot of its potential, since you can create a complete 3D world..

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Some 3D with Ndless...
« Reply #42 on: March 24, 2012, 09:33:34 am »
Already ? O.O
And you wanted to quit programming, lol. We would have lost a great programmer :)

I have a CX CAS too, so I won't be able to test it, but it seems pretty good already, keep up the good work :thumbsup:
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: Some 3D with Ndless...
« Reply #43 on: March 24, 2012, 12:10:05 pm »
I tested it on my non-cx cas, and movement and camera rotation worked and it didn't crash ;)
But it was a bit confusing that the screen was empty until I pressed a key.
Keep up the good work :)

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Some 3D with Ndless...
« Reply #44 on: March 27, 2012, 01:50:56 am »
OMG, I better try this asap. Good job for making it look so genuine!
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)