[Effect] mode7

  • Maybe if it was rendered at twice the size, then shrunk down to 50% using linear filtering it would reduce the shimmering and make it look smooth?

  • Thank you R0J0hound for sharing this beautiful piece of info with us greatly appreciated ! :)

  • I dont think ill be going to sleep tonight, ill be playing with this !!

  • I have actually posted two shmup examples using the mode7 effect in a previous thread.

    One uses mode 7 for an ocean background, and the other allows you to move back and forth into the background.

  • Incredible R0J0hound, bloody legend you are

  • Just used this effet for a menu background , this is fantastic!

    It would be very nice to have it bundled with C2, maybe with an autoscroll value for X et Y position for beginners.

    Thanks A LOT for this one, superb job! : )

    --------------

    EDIT:

    So... I tried something stupid, just for the fun of it, and applied this mode7 effect on the whole layout.

    I was expecting something flat, weird, and very wrong.

    Annnd, oh snap, I'm amazed how dynamic, fast and "3D" the game feels this way!! It makes no sense, but I'll try to record a video tomorrow so you can see this. It's like the top down view was waiting for this silly test!

    That said, even after 2 hours spent on the mode7 fx settings, here is the best I'm getting: a lot of space is wasted, the display is horizontaly flipped and the effect is too strong. R0J0hound, do you think I could get closer from the 2nd picture bellow with some adjustements (in settings or directly in the shader code)?

    Thanks again for this great, great fx : )))

  • Alright, pretty close now!

    All is centered, and give a very nice perspective effect, I'm super happy with this : )

    Here's a video if you want to have a look at it:

    VIDEO > https://www.dropbox.com/s/jd0l58t5rzyh9 ... 7.mp4?dl=0

    R0J0hound , would you have the time to tell me how to invert the X display? This is the last problem I have, and I got no luck while randomly editing the shader.

  • VIDEO > https://www.dropbox.com/s/jd0l58t5rzyh9 ... 7.mp4?dl=0

    Wow that is soooo cool.

    Now I feel a sudden urge to make a pokemon-like game with mode7, with moving pokemon around the battlefield.

    *mission mid 2015* <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Aurel that looks pretty sweet. :D

  • Aaaaaaand SUCCESS!

    My wife told me to edit this line, cause "eeeer, maybe this?" and it worked!

    vec4 color = texture2D(samplerFront, vec2(mod(xx * -scale_x, 1.0), mod(yy * scale_y, 1.0)));

    _______________________________________________________^

    Thanks for your messages, I'll post a legit video once the frame/borders and all will be clean : ))

  • Would you be willing to perhaps create a tutorial/guide or explain your process of going through Mode 7? :]

  • Well, that's simple (and ugly), this is just the mode7 effect applied on the full layout.

    I don't handle a real mode7 or anything. It had all the chances to look wrong and flat, but the result is pretty cool anyway.

    Keep in mind it will only work on a game with a top view. If you want to make a real mode7 game, this is not the right way to do so.

    Finding the right settings was very long, but no need for tutorial, just fill the settings this way for a 1280x720 layout:

    Hope it can be useful to some : )

  • Aurel

    Just saw this, glad you got it sorted.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0J0hound, thanks!

    And it looks really nice, thanks to you : )

    Now, I'm trying to apply this shader on the ships and track layers only, leaving the HUD untouched.

    It works, but I've lost the alpha channel +additive blending on the sprites featured in these layers. Does that sound familiar to someone?

    I remember how changing the effects order when implementing the motionblur fixed that, but it doesn't seem to do the trick this time.

  • R0J0hound I made a rough video to show you how much your effect add to the game : )

    I'm still investigating on this transparencies and blending issues. For the video bellow, I tried to disabled ALL effects but mode 7.

    Could that be possible that the shader doesn't support transparencies or am I doing something wrong?

    I tried to force "own texture on/off" on every layers, tried with only one layer instead of two, nothing.

    If you think about something, that would be very helpful, this is the last issue I get before being able to send the press build on monday : )

    VIDEO > https://www.dropbox.com/s/ylp0ktu2nzabu ... s.mp4?dl=0

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