View Full Version: [Question] Warped floor and ceiling!

wolfers >>Coding Alliance >>[Question] Warped floor and ceiling!


<< Prev | Next >>

JackaL- 01-19-2005
[Question] Warped floor and ceiling!
Hello! I used Darkones tutorial for textured floors and cielings. But if i face a more 45 degree angle rather than a straight north,south,east or west angle it looks all warped like. like its been stretched. Is there a simple solution to this?

Mega Luigi- 01-19-2005

I don't know if that will helps, but I have made a copy from a tutorial from MCS, so FULL CREDITS MCS!!!!! Open WL_Def.h and locate this: int difficulty; Now, add this line below: boolean warped; Now in WL_Agent.c, add this line to WarpPlayer() function: gamestate.warped ^= 1; Now open Wl_Draw.c and locate this line: asm mov ax,0x1919 Replace that line with: if (gamestate.warped) asm mov ax,0x0000 (alter this to your liking) else asm mov ax,0x1919 REMEMBER FULL CREDITS TO MCS! I don't know if there is some way to make change the textured floors and ceilings, but I think you can try to something.

JackaL- 01-19-2005

Now in WL_Agent.c, add this line to WarpPlayer() function: I dont mean to be a bother... but that doesnt seem to be there :(

Mega Luigi- 01-19-2005

The WarpPlayer() function is of Teleporter's code. You need to do it first. If you already made and that function don't appears, I think the only way to get it is do the code again. :)

JackaL- 01-20-2005

What do I have to do to have this? Insert a teleporter into my source code? I dont remember having to put a teleport thing in before.

Mario Maniac- 01-20-2005

Yes, you must do it. You can get it at MCS'S site.

JackaL- 01-20-2005

Ok, thanks.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.