Doom on the Virtual Boy

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Doom on the Virtual Boy

Re: Doom on the Virtual Boy

by Ichor » Wed Jul 29, 2009 8:15 pm

Here

I don't know if he's made any progress since then, but it seems to work well enough as it is. Just be sure to use GZDoom.

Re: Doom on the Virtual Boy

by DoomRater » Wed Jul 29, 2009 8:11 pm

Okay. Where is the Marble Madness mod, BTW?

Re: Doom on the Virtual Boy

by Ichor » Wed Jul 29, 2009 8:00 pm

No. I just made that arrow there so I can more clearly see which way I'm facing. It's sort of hard to tell sometimes.

Re: Doom on the Virtual Boy

by DoomRater » Wed Jul 29, 2009 7:22 pm

Wait you made a Marble Madness mod?

Re: Doom on the Virtual Boy

by Ichor » Wed Jul 29, 2009 5:55 pm

Want to borrow the arrow code I made for that Marble Madness mod? Just replace a couple of those dots with cameras and it should work.
Attachments
mmarrow.wad
(2.85 KiB) Downloaded 27 times

Re: Doom on the Virtual Boy

by phi108 » Wed Jul 29, 2009 12:27 pm

I've been trying to modify the scripts lump from that WAD to compile ACS script that works correctly, and I think I have the cameras next to each other now, instead of one in front of the other. I changed these lines:


setactorposition(2001, xo+x, yo+y, z, 0);

setactorposition(2002, xo-x, yo-y, z, 0);

to these:


setactorposition(2001, xo-x, yo+y, z, 0);

setactorposition(2002, xo+x, yo-y, z, 0);

And I think that did the trick.

BUT the cameras are much too close together, I think. They should be about 6 units apart (when doomguy is 32 units large). And I can't figure out any way to get the distance larger. I can't comprehend these "fixed point numbers" or how to change the FixedMul to get the result I want.

Any help??


EDIT: Nevermind, I think the cameras only align themselves correctly (beside each other) when you are facing east in the game. The current way this script is set up doesn't place the cameras at the location of doomguy's eyes permanently.

I think not everything in the script is done relative to the player, so only looking in one direction gives the desired results....

Re: Doom on the Virtual Boy

by phi108 » Tue Jul 28, 2009 7:06 pm

DoomRater wrote:There are those options.... until then though you can use this: http://www.megaupload.com/?d=5Y9YL213
That doesn't seem to work quite right. Does it work with an old ZDoom version?

It seems like there is no distance between the two different eyes, or it seems like the eyes are placed at the same spot, but face at slightly different horizontal angles, which would be wrong.

It would need to set the left image as the view from the right eye, and the right image as the view from the left eye, and they should be placed about 6 units apart, and face in the same exact direction.

EDIT: Ok, I too k a screenshot, and it seems like with that WAD, one camera is IN FRONT of the other, which is definitely wrong. They should be next to each other, not one behind the other.


EDIT: I did more neat screenshots, no HUD weaps this time:

http://img40.imageshack.us/img40/7568/3ddom6.png

http://img10.imageshack.us/img10/1332/3ddom7.png

Re: Doom on the Virtual Boy

by DoomRater » Tue Jul 28, 2009 5:33 pm

I keep thinking fewer pixels were needed to make it look right, but it's an improvement.

Re: Doom on the Virtual Boy

by phi108 » Tue Jul 28, 2009 5:08 pm

Anyway, I did some screens myself, and forget the black/red limit, these are the coolest screenshots ever!!

Image

I did the 3D HUD weapons by measuring the difference of the closest wall you can touch when tou move over 6 radius units. The pixel difference (on a 320x240 screen) is around 50 pixels, so that's the difference I gave to the HUD guns.

Now everyone, begin the fake 3D doom screenshots creation!

Re: Doom on the Virtual Boy

by DoomRater » Tue Jul 28, 2009 2:08 pm

There are those options.... until then though you can use this: http://www.megaupload.com/?d=5Y9YL213

Re: Doom on the Virtual Boy

by phi108 » Tue Jul 28, 2009 1:48 pm

WW, that is AWESOME. Now ZDoom needs to display two images beside each other, offset a bit (however far apart doomguy's eyes are).

Then of course you get massive headaches from playing doom cross-eyed.

EDIT: What about SIRDS, or the NVIDIA 3d glasses?

Re: Doom on the Virtual Boy

by DoomRater » Tue Jul 28, 2009 1:13 pm

weasel: the gun should appear on TOP, not on bottom. When I cross my eyes to check the image, the gun was layered at the bottom. To fix that though would likely require taking two screenshots without the gun and placing the gun sprite overtop the screenshots a few pixels off center as well...

Re: Doom on the Virtual Boy

by Ceeb » Tue Jul 28, 2009 12:25 pm

I've always wanted to play a VB. I hear the Wario game was top-notch.

Re: Doom on the Virtual Boy

by Project Shadowcat » Tue Jul 28, 2009 11:27 am

wildweasel: That's how you do it, nice work. =D

Re: Doom on the Virtual Boy

by wildweasel » Tue Jul 28, 2009 11:08 am

Here's about as close an approximation of the Virtual Boy as I can get.
Image
Notably:
  • Exact VB screen size is used: 384x224
  • I don't know exactly how many shades can be displayed on the VB screen, so I assumed 8
  • Two screenshots were taken, one after having moved slightly to the left, to produce the stereogram effect (cross your eyes, it'll look about right)

Top