Fading water into a picture background

● ARCHIVED · READ-ONLY
Started by Avery 6 posts View original ↗
  1. Since I saw a request on this and the answer would anyways be a long winded tutorial like post, I just gonna bite the bullet and make it a tutorial.

    You can achieve similar effects the same way in other makers, but since I hate editor mapping from VX to MV due to its limitations especially on layers, this is a tutorial for MZ.

    So here is a more complex result that requires quite a bunch of tile editing and placing stuff correctly, but can technically be made in the engine as well:
    AD_4nXdk5MVreaSwbx9t5eAIH9YRV6uTj8KBewF4ArcNymNZVJBriediNC_9N04rzR9oqbimiNrQOf0ffI77hd41E8RD3I3DfYjRrpOa871PveMrCCYBBURGL9iNSPwYMiyECkK4vQGurw

    Before we dive into the whole thing: I am very sure I saw a similar effect (not sure achieved this way) in a mapping video by @Dust many many years ago. Just giving credit where credit is due.

    To demonstrate how to get the fading, I threw together this quick editor map with default tiles only:
    AD_4nXfodXJedUPyJkNu38Y2k2P5zgva8uIALYpjdyaK_AERnKQ7wsU0Igy_gAjJgPHXSfnmgncaIWchVDrR9e1jMv7TZk7bdaL09CtREE5jgxSi10nBPuueaN5wgrOroVnusu41LSpfiA
    As you can see, I simply use vehicle type charsets for the ship in the distance and simply used the world map default autotiles instead of the outside ones. Generally, as I always say: look around and build your own tileset, it just looks so much better.

    One thing I already did besides this slight tileset adjustment with the world map floor is to copy the Ocean picture and rename its copy to “!Ocean”. The “!”, prevents is from scrolling and shifting with the map. As you can see, with “!” it is exactly where it is in the editor.

    Here is the difference.

    Ocean:
    AD_4nXeqvuwmBy4t9S500-PToDP40z88ZexAf964NeO-RDn3eAwwjrOzY_Mxn4lhtZn9kQ72PtThZ75comqJneY1yi5jzYQ96B79-dBRQ0R7ZutfFCvLHj2shybPcPyclCJ9drT9cNGzRA

    !Ocean:
    AD_4nXfSSj8--g2CgLiUgpZJLWo7Dxq1PGfWGIXv0cB9-obe9F6QvAyd3vOrG0kE0pqRzY5Ng5iXRUqqpgAVxpO_lVS6MktmLkQcOuTc8R2WvzrgD68StBzgvDzyPPwePetVifIzQPtWbw

    So how to get the fading? This is where you open gimp and start editing.

    Since you need transparency here, make sure the mode of the image you copy your result on is set to RGB. In Gimp you can do this by choosing Image - mode - (and if it is not already set) RGB. Indexed mode will not work.

    First of all, you need to have a tile that is only the water without the border, this is achieved by simple copy and paste:
    AD_4nXcORjO1YNU1ngxSOH7Y_08vJAhk65NfjtIVV6x2FlYeurX7rD5pmi6ig_vdTG2UrNJTvzNpqr5Wd4Y9W3kfBfRlzNHlwhO20t61_XUR_9B4S8ceL0R4TjwjTQMT0U-ug-xIwC3GtA
    Autotiles are cut in 24x24 pieces that combined fill the 48x48 grid. To get a all water autotile that seamlessly fits the one with the border, you need a 24x24 grid any copy and paste the parts from the middle and place them to fill the autotile as you can see indicated by those colored in pieces on the left.

    The upper two tiles of the autotile you’ll ignore, since those autotiles won’t be able to do bends and curves anyways.

    For this example, I want my transition area to be 4 tiles high, that is why I take my “tiling water” from the last step and copy it again, to be 4 tiles vertically:
    AD_4nXcdqUk2-KWEfzDPQxGgrS7bmSgpVGgjYFULF59JWGPaFQIZjRcd2m97MeCCNQABc0aYxjdT0ZqfRvGc_s_nABJWfPLcUJF87zEzok6X5ao0ptGgy_phBa5Na7fUHHm4XiNwgAC63w
    You can see that this all happens in a separate file than the autotiles, I don’t wanna accidentally mess with the default one. So now, all I need is the gradient:
    Right click on the layer, and add a layer mask. Which one does not matter since I am going to change it anyways immediately.
    AD_4nXcLnD382n5NowRsvByMgH8p8-LyI-iDqv5yxjOK2TtN-0qpRiMK5bQtTi5KWVbjvCNGSs1_NX-SExaUhsK6J-YjTH_ieUPdprt_yqhYaYP3EQ1zqTe0iuvWmhbP_WsrqaZD4KHwxQ
    Then, I choose the gradient tool with a smooth transition from white to black, and fill in the layer mask on top of these 4 tiles with it. The start is where the tiles start and the end is where they end. Hold the control key to ensure the gradient follows a completely straight vertical line.

    And here is how the result of that looks like:
    AD_4nXdHJJG4yZWWg6sSrczDWRov_TSF7409LU4Igqsz4UoOn5CaUSnIzZWNaBbJYYhEbFaiEJbEEqm9anTtWcybs4Dnl-MSkmArEqPZ4rnIlLmSazzw8hH1Y6AlN-YI0Bpv9vtg-syhKg

    This is the matching layer mask:
    AD_4nXdbqgRNlnC8FweRzOnb3nGoBFfZ4n3M98qggY810GXIeChfnc7QMoOqdP-wT6m5oz-8aQwe79XaxrkrZoAOWVO5j1tv_Rm8d4yFtMMcfZwVAVGt3b5BeyEUs7BIeC3DqVI7NPhhHQ

    Now right click on the layer and “apply layer mask”, to make the change permanent.

    All you have to do is to translate this gradient into the autotile format and use it, which basically just means you have to have an empty row on top of every 2 tile segment; I also quickly threw some text in the preview window so I know what it is in editor:
    AD_4nXct9vJxHqJyfJWU64_rI6XX_Wb6OwXEuCufyUqRltQWse7SFffQq_VoJKhiV01EZ8ng3Ssm5VO1aND_NL4KYxewzUgCGY0X_Phis-OhwPgp1d9IGg0UQXy7h0Q1EbjCfT0WUZtS6w

    Then you place it on your sheet, wherever you have room or have something your are fine with swapping out:
    AD_4nXfBKLSJ2ocOlUYqZOZ1wSByPG2oyVyvZxx18DSpnWCL9Po6QFfZ_x42Q1o8yAlqgdGprCA7jEdDcllscBYjS1w6gg8XTI95QVHSJe4WjDG3mOZrG66QdpPHBZ-XQv-g3UYiijY-

    Here you can see how the label helps:
    AD_4nXdBPIcIsXI-FDkH9KVkP9dhnGp0X_H8xc1kDwvYbLhqk1WOFIuhi9YNiqzh26HyuSwp3KG6Ysa-2NV5jgdhStx6oJ6M8Moph_ulvw5AMloONsdXFHgKATCO9yWDrf5aX490mDRg
    And now, I simply map the top 2 tiles of what is currently ocean with “Fade1” and the two below it with “Fade 2”.


    This is where I realised I made the edit on the wrong beach water, but since this is just to show the effect, it doesn’t matter:
    AD_4nXdKEHWupPHi4woOHT7xqfqI3JLZnAViXkVRJRSQ5QIIqRP0qCmgfWv1XUVXwHJ4gapmO5ByaGYSmaGUUeD1XW9xsmr-t-k8L-F_WP_TqYNQPAFfl584sq2NTiKKmwwo8jATi7l4
    All that is left is to shiftmap the “original ocean” to remove the top sandy border:
    AD_4nXeB3WQFVVFlHanLeCPwpcxOOZN1uOl7d7ayyg669VgoTZzKqXvMG6TqndcTbuACIX-CHboc6ucHgQvANofZjqa2IjeIaNNgCZXTbrNJa6bo97iC2OpTB0lya_8BDet6fyaoni4C1g

    And how does it look in game?
    AD_4nXeN9D28tZRABlZ30WMxOG9-8cpGtoXQ1cA8dvyV4_t4Bkt0oTTlHF65epU1aUtpGxiUtNBrdKDLC9NcZ4QC1A8yZQt1rSKSrzTVedNS5Ba1ojzpnN_KKOAEdPxxCgchID9Yk3duaA

    There is so much more you could do, like have semi transparent charsets of water animals in the water, add “mapped” islands that bind the parallax picture more into the map or use an ocean picture without the island and have it scroll or recolor it a bit to match the ocean tiles water color better…

    If you have the room on your A1 tileset you can have your fading area over more tiles, a 6 or 8 tile fade will look smoother of course.

    Have fun!
  2. really nice, but I also see the "HAMBURGER" :D.

    nice tutorial as always, nice tweak. Thank you a lot of this nice tutorial.
  3. A mapping masterclass!
    Yay. Thank you.
  4. Avery said:
    Have fun!
    I know you don't take requests but even with your tutorial, I am a complete noob with GIMP, or any picture editing tools for that matter. If you would be willing to create that A1 tile, I would gladly pay you. ya?
  5. You have so many cool ideas. And you combine your artistic skills with mapping.