Mask Tutorial?

This forum is currently in read-only mode.
From the Asset Store
Basic template for drawing game with masks and easy customization
  • Hello again. I made a level generator for my WIP game, but I want it to look like a ancient cave. Currently, the Objects making the level are black squares, which I want to make seamless using a tiled background. How would I use "Mask" to achieve this?

    TL;DR How do I make the black boxes appear as seamless using Mask and TLBG?

    Here is an EXE (safe) of the level thing.

    http://dl.dropbox.com/u/21499454/Games/labyrinth.exe

    EDIT:

    Controls

    Arrow keys: move/jump

    Shift+Arrow keys: Change gravity direction

  • A mask, as in a shader applied to your tiles via the tiled background would be very inefficient as you would would have to keep the tiles, and have the fx running all the time.

    A better way would be to give the tiles their own seamless texture, and vary the look by changing the texture around corners. Something similar to this method:

    http://www.saltgames.com/?p=184

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A mask, as in a shader applied to your tiles via the tiled background would be very inefficient as you would would have to keep the tiles, and have the fx running all the time.

    A better way would be to give the tiles their own seamless texture, and vary the look by changing the texture around corners. Something similar to this method:

    http://www.saltgames.com/?p=184

    I have a texture for it, but if I overlap it around the block, and have more than one block (which I do), it would not be seamless:

    <img src="http://img607.imageshack.us/img607/4223/tiledbg.jpg">

    If you mean generate its look upon loading, then that would really make it load longer, wouldn't it?

    Anyways, I've decided to give it a silhouette look instead. The BG is still bricks, but the Walls and Player are black, shadowy figures.

    Thanks for helping though.

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