[Effect] mode7

  • This allows for a texture transform like in mario cart.

    Effect:

    https://www.dropbox.com/s/r6pxzj7kp09an ... 7.zip?dl=0

    To install extract to your "Construct2\effects" folder.

    Example capx:

    https://www.dropbox.com/s/r8ofhvv0o8dt9 ... .capx?dl=0

    Disclaimer:

    While this can do a mode7 type transformation, it is very hard to use. I've also abandoned support for it.

  • <img src="smileys/smiley32.gif" border="0" align="middle" />

  • VERY NICE!

  • I sense some pseudo3d on the horizon!

  • What makes you think that? ;p

  • Nice! I started to mess with the same idea some time ago, but ended up very busy and didn't have the time to finish it.

    I also made a proof of concept for a raycast shader that would work great with this. It still needs a lot of polishing to improve precision, correct some distortions and achieve better performance, but it proved feasible:

    Raycast Shader Demo

    Controls:

    WASD / Arrows - move

    Mouse - rotate view

    Left Click - draw at cursor

    Right Click - erase at cursor

    Mouse Wheel - change "angle" of view

    M - show/hide map

    *There's no mouse lock, so if you rotate too much to one side you need to rotate back to aim correctly. Also the draw/erase only works when you click over the window.

    Hopefully I will finish it someday, then we can combine it with mode7 for old school FPSs.

  • Animmaniac, looks nice man! I can see Wolfenstein (although I'd prefer Dungeon Master) clones pouring out if you ever release the code to that ;p

  • Thanks dude.

    Only issue I see at the moment is that things in the distance are not filtered nicely (I think it's called mipmapping.)

  • Awesome! I totally missed this. The star of my game has been in and out of the hospital with a nasty flu, which turned into an ear infection and now a mystery virus :(

    Thanks for the awesome plugin! Can't wait to try it...if I can only get a little time now between work and Maddi being sick.

    It only took me 2 hours to get the flying level up and running in the CC version of Go!Go!Maddi! Hopefully I can do it the same way!!

    Again thank you very much!!!

  • This is really neat and performs well! But something concerns me; how would someone map sprites onto this to follow the pseudo 3D? this would open up a world of possibilities if we could do that

  • How would i make it so its only a strip down the center, like a road? The problem is it repeats this in the horizontal, so you see multiple strips. I tried putting 1, but it doesn't show it.

  • Jerbens

    The math is escaping me at the moment but to map a sprite to this would require a perspective transform. Google has a lot on the subject, but it may take some tinkering to get the transform to match.

    @PixelPalette

    You could modify the fx so that you get the image to repeat in only a line by putting // in front of one of these lines:

    xx=clamp(xx, 0.0, 1.0/scale_x);
    yy=clamp(yy, 0.0, 1.0/scale_y);
  • R0J0 is it possible to reduce that shimmering effect you see near the horizon, or is that beyond this effect?

  • OMG MAN!!!!

    This is simply INCREDIBLE!

    Thanksssss sooo muuch!!!!!!

    Great Job!!!!

    I ve no WORDS!!!!! <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • OMG MAN!!!!

    This is simply INCREDIBLE!

    Thanksssss sooo muuch!!!!!!

    Great Job!!!!

    I ve no WORDS!!!!! <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" />

    We all love r0j0 ,

    But not that much ? :P

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)