Author Topic: Snakecaster: a 3D Nibbles game, sort of  (Read 9356 times)

0 Members and 1 Guest are viewing this topic.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Snakecaster: a 3D Nibbles game, sort of
« Reply #30 on: July 30, 2012, 08:44:53 pm »
Is your raycasting pixel-based? (Did you use the 2d map as the data for the rays cast?)

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: Snakecaster: a 3D Nibbles game, sort of
« Reply #31 on: July 30, 2012, 08:47:09 pm »
Glad you resumed this. :D

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Snakecaster: a 3D Nibbles game, sort of
« Reply #32 on: July 31, 2012, 12:02:12 am »
Is your raycasting pixel-based? (Did you use the 2d map as the data for the rays cast?)
Yeah, I did. It cut out the need for another block of memory to hold map data, and since the map was block-based rather than wall-based, the program does only half as much parsing as it normally would. There was no need to make it wall-based anyway since all "textures" were just black :P
Glad you resumed this. :D
Thanks, but I think this is all I'm going to do. I've uploaded the ZIP to ticalc.org already, so I'll put it on Omni too as soon as I get the chance. I came up with this idea partly as a joke anyway. Turned out better than I expected.
« Last Edit: July 31, 2012, 12:02:59 am by Deep Thought »




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: Snakecaster: a 3D Nibbles game, sort of
« Reply #33 on: August 01, 2012, 04:29:05 am »
Aaaw ok. One suggestion I had was to make the snake height lower in the 3D view to distinguish it from walls. D:

Maybe you could do a 3D version of this as sequel? O.O http://www.ticalc.org/archives/files/fileinfo/96/9683.html (assuming that's even possible in Axe)
« Last Edit: August 01, 2012, 04:29:51 am by DJ_O »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Snakecaster: a 3D Nibbles game, sort of
« Reply #34 on: August 01, 2012, 07:26:18 pm »
That's actually not far at all from what I'm already doing. All I would need to do is in the 2D part—allowing the snake to go in any direction and changing the controls and stuff. The raycaster should already be able to handle it.

In fact, I changed the 3D view to turn in two steps (giving you a 45-degree view for a split second while turning) after I'd already pretty much finished the program. I could have just as easily have made it turn at other rates, such as 30 degrees a frame for three frames.
« Last Edit: August 01, 2012, 07:27:06 pm by Deep Thought »




Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
« Last Edit: August 18, 2012, 04:30:06 pm by Deep Thought »