Author Topic: Nspire Raycaster  (Read 94576 times)

0 Members and 1 Guest are viewing this topic.

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: Nspire Raycaster
« Reply #150 on: April 04, 2010, 04:07:27 pm »
yeah sprites appears to work pretty well now :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Nspire Raycaster
« Reply #151 on: April 04, 2010, 04:42:46 pm »
The progress is amazing, I wish I had an nSpire :( This would be so cool to mess around with.

@critor
Nice Pikachu's throwing PokeBalls ;)
« Last Edit: April 04, 2010, 04:48:16 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Nspire Raycaster
« Reply #152 on: April 04, 2010, 04:55:22 pm »
Yeah the Pokemon part was funny XD
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Nspire Raycaster
« Reply #153 on: April 04, 2010, 05:47:43 pm »
Quote
I've been reported a display-bug on an Nspire CAS.
What triggers the bug?

The bug is : When you load it on a TI-Nspire CAS, it doesn't works :)
It is very strange cause it is only the OS which bug, when you load "demo.tns" from Ndless, it works perfectly without this "sticky lag" :D
http://img189.imageshack.us/my.php?image=cimg6977.mp4
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

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: Nspire Raycaster
« Reply #154 on: April 04, 2010, 05:50:42 pm »
there must be some OS difference with the CAS that may cause certain programs to not run properly maybe, but again I may be wrong. It's strange, though, considering both the Cas and regular got the same hardware.

(Welcome here btw, Levak)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Nspire Raycaster
« Reply #155 on: April 04, 2010, 05:53:28 pm »
I think a separate build needs to be made for CAS, because the locations of OS routines are different. This is the only reason gbc4nspire needed two builds.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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: Nspire Raycaster
« Reply #156 on: April 04, 2010, 05:54:45 pm »
Really? I guess I didn't paid attention when gbc4nspire came out x.x. Is it very hard to work around these differences, though?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Nspire Raycaster
« Reply #157 on: April 04, 2010, 05:57:44 pm »
Really? I guess I didn't paid attention when gbc4nspire came out x.x. Is it very hard to work around these differences, though?
When programming in C, all you would have to do is use a different include file for the OS routines
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Raycaster
« Reply #158 on: April 04, 2010, 09:07:04 pm »
I'll upload a CAS version tonight (I can't right now because I'm not on my computer).

critor: what algorithm do you use to draw the tops and bottoms of the boxes when you can see them?

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Raycaster
« Reply #159 on: April 04, 2010, 11:50:13 pm »
Attached is a CAS-compatible demo

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Raycaster
« Reply #160 on: April 05, 2010, 12:21:22 am »
New slightly changed demo:

* Looking up and down is out for now, in preparation for multi-height walls.
* F key toggles floor textures.
* * and / keys change the resolution.

critor: never mind the floor question, I figured out.
« Last Edit: April 05, 2010, 12:52:59 am by bwang »

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: Nspire Raycaster
« Reply #161 on: April 05, 2010, 01:03:08 am »
mhmm gonna download this now, and try in a few minutes I think. Glad to see more and more progress :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Raycaster
« Reply #162 on: April 05, 2010, 01:32:18 am »
Well, there's not much progress right now--I don't actually have multi-height walls; I'm just changing the code a bit so I can add them later (hopefully in a couple days).

My current plans for the engine (roughly in order of priority):
* Add multiple height walls
* Speed up sprites a bit (so sprites behind you are completely ignored)
* Add doors
* Move code to their own files so that other people can use it
* Add fake sky textures
* Add support for moving objects
* Write external data loader

How does one access files in C on the Nspire?

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: Nspire Raycaster
« Reply #163 on: April 05, 2010, 01:36:34 am »
Well I meant in overall there are still new demos every few days, which is whY i said I was happy there was more and more progress.

EDIT: Mhmm bwang, there is a problem with ncaster-0.0.1-noncas.tns . When I run it it reboots the TI-Nspire. I tried the other file too in case you accidentally swapped the names, and same result. I have a TI-Nspire bough in 2009, btw but it's a May 2008 model, as the serial number says (P-0508D)
« Last Edit: April 05, 2010, 01:41:41 am by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Raycaster
« Reply #164 on: April 05, 2010, 01:59:49 am »
Try the new attachment.