Author Topic: Idea: 3D Engine using nothing but unaltered 8x8 sprites  (Read 9711 times)

0 Members and 1 Guest are viewing this topic.

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #15 on: December 30, 2010, 09:26:55 pm »
I've seen games do things similar to this, like Doom RPG. It shows the animation for rotation, but locks player movement to 90 degrees.
In-progress: Graviter (...)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #16 on: December 31, 2010, 01:47:00 am »
Maybe instead of 22.5 degree turning, it could have 90 degree turning but with 22.5 or smaller degree animations when you turn?  It probably could even be cheated ;D

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: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #17 on: December 31, 2010, 11:00:06 pm »
I've seen games do things similar to this, like Doom RPG. It shows the animation for rotation, but locks player movement to 90 degrees.
Oh I think I remember seeing something like that before. I think it was Phantasy Star for the Sega Master System

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #18 on: January 01, 2011, 07:52:58 am »
I didn't know Phantasy Star was that old! O_o That would be interesting to see in action. =)

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: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #19 on: January 01, 2011, 10:06:00 pm »
Yeah it came out in 1987 I think. I got the 3 Sega Genesis ones on the Xbox 360 under Sega Genesis Mega Collection, although dungeons aren't 3D-ish view like the first.


Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #20 on: January 02, 2011, 09:15:49 am »
Oh, wow... that looks like it would be very confusing to navigate.  O.O

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: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #21 on: January 03, 2011, 08:46:34 pm »
hmm, very interesting idea.  Good luck to whoever takes it up O.o

Anyone have a link to that homescreen raycaster?
I forgot about this question, but here is it: http://www.ticalc.org/archives/files/fileinfo/349/34947.html

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #22 on: January 03, 2011, 10:25:37 pm »
I got an engine like this started after I saw the thread. you can't move yet, or turn, but you can change your position in the src file :P for some reason the walls aren't rendering, probably a math error.

And wow, that kinda sucks :P but I guess that's just cause it's BASIC :P amazing for that.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #23 on: January 03, 2011, 11:02:09 pm »
I got an engine like this started after I saw the thread. you can't move yet, or turn, but you can change your position in the src file :P for some reason the walls aren't rendering, probably a math error.


At least you started it!  Way to go!  If you continue it, I look forward to seeing how it turns out!

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #24 on: January 03, 2011, 11:55:10 pm »
but yeah, like I said, it's not working. I'd say it was the way I'm referencing the sprites, but that would just give me garbage. Right now it's giving me nothing, which is odd. I'll post some screenies when there's something to look at, and probably the source too. Also, the walls are much higher Detail than most. :) One Sprite column represents one pixel of the Pic1 file it references from :P and right now the sprites dither as they get more distant, from solid black to near-white (white isn't rendered) and you will be able to see ~4-5 layers of walls, going farther away, say, in a corridor. Think like Morrowind's view distance fog   :thumbsup:

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #25 on: January 04, 2011, 12:00:37 am »
but yeah, like I said, it's not working. I'd say it was the way I'm referencing the sprites, but that would just give me garbage. Right now it's giving me nothing, which is odd. I'll post some screenies when there's something to look at, and probably the source too. Also, the walls are much higher Detail than most. :) One Sprite column represents one pixel of the Pic1 file it references from :P and right now the sprites dither as they get more distant, from solid black to near-white (white isn't rendered) and you will be able to see ~4-5 layers of walls, going farther away, say, in a corridor. Think like Morrowind's view distance fog   ;D

So is it based on the first post with a couple of your own touches thrown in?

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: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #26 on: January 04, 2011, 02:55:39 pm »
I got an engine like this started after I saw the thread. you can't move yet, or turn, but you can change your position in the src file :P for some reason the walls aren't rendering, probably a math error.

And wow, that kinda sucks :P but I guess that's just cause it's BASIC :P amazing for that.
Yeah the result isn't too great since it's hard to see where you're going, although it's still pretty good for BASIC.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #27 on: January 04, 2011, 07:26:15 pm »
Yep, that's right. I figured since the view distance is so short it shouldn't just cut off. Also, it made more sense to me to do it with the higher resolution, since it's one detection per column. Also, that allows for walls to have different sized holes, perhaps for peeking through a crack you don't fit through :P collision detection (and movement for that matter) are still not implemented.

Hang on, I'll make a mockup screenie of what I mean.

Edit: Who wants a Fake Screenie? :P  :evillaugh:

Sorry for the small size. It's actual calc resolution used for the actual bars (solid black covers full screen)
« Last Edit: January 04, 2011, 08:15:06 pm by willrandship »

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #28 on: January 04, 2011, 08:41:09 pm »
Wow, I know it's a mockup, but that's impressive

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Idea: 3D Engine using nothing but unaltered 8x8 sprites
« Reply #29 on: January 04, 2011, 08:57:45 pm »
And, once I get it working, it should work exactly like the screenshot. It'll use pt-offs, drawing back to front. You won't be able to see anything directly to the side of you, but anything in front of and up to 5-6 block to the sides. Still though, it's not showing me anything  :mad:  :banghead: I can't figure out why. Hang on and I'll post the source.

Also, my dithering sprites could be improved. I need 4-5 levels if someone's interested in making some for this.

Edit: Here's a Paste. It expires in a month though, hopefully by then it will be very different :P

http://pastebin.com/pR57e81a
« Last Edit: January 04, 2011, 09:24:17 pm by willrandship »