UnderwareDESIGN

PlayBASIC => Beginners => Topic started by: Scott_Bro on October 07, 2021, 10:55:26 AM

Title: Wolf3D - Updated Demo Release
Post by: Scott_Bro on October 07, 2021, 10:55:26 AM
I'm looking for some help with doors? I know they are displayed by extending the ray but...
I am having alot of trouble trying to move them to open and close? Anybody interested in help me would be nice yes this demo should support 4-sided cubes meaning up to 4 textures on a cube.

Thanks,
Scott_Bro
Title: Re: Wolf3D - Updated Demo Release
Post by: stevmjon on October 07, 2021, 08:19:32 PM
one tip to speed up the render, is to use FX images, instead of standard VIDEO images. reading from a video image is slow.
also, anybody running the above demo, needs to put a 2 in the data map (at bottom of code) to see a door.

scott, i like the graphics you have included. did you make these yourself?

i will check out the code and see if i come up with any door opening ideas.

  stevmjon
Title: Re: Wolf3D - Updated Demo Release
Post by: stevmjon on October 07, 2021, 08:59:58 PM
i do have an idea. what if when you bump into cell 2 (door), maybe have a door_height value where the texture will draw from, and change this value to make the door go up. when it reaches a set height, then you can pass through cell.
Title: Re: Wolf3D - Updated Demo Release
Post by: stevmjon on November 08, 2021, 10:34:17 PM
hey scott

not sure of your progress on this demo for the doors, so i thought i would post an idea i had.
this is a test demo, so shows the map as well on screen. the whole door(wall) raises, so you will need to limit this too just the door offset into the cell. also will need to see past the door too, so you see under it as it raises.

anyway, i hope this gives you an idea.

i also have an idea for the floor. use the code in mode 7 (edit 4) demo, to display the floor? draw this first, then walls. might work...

  have fun, stevmjon
Title: Re: Wolf3D - Updated Demo Release
Post by: kevin on December 06, 2021, 07:44:52 PM

   This is sort of related and shows an amiga ray cast demo with walls/floors with look up/down skewing.   Pretty convincing.