Top-down fake depth/3D effect

0 favourites
  • 10 posts
From the Asset Store
Set of tiles to create a map for top-down games with island theme
  • Hello.

    So I'm making a 2D top down RPG game (Think Pokemon or the early Final Fantasy games) and I wanted to make a fake depth effect for different heights.

    First, I though I would be able to do it by using different parallax values depending on the layer height, and this is what I got:

    Basically there are green "towers" which are supposed to be high. I would use this to simulate height on different objects such as buildings.

    The problem is the further the objects (green towers in this case) are from the left side of the screen, the more deformed they get.

    Can you set the parallax origin somewhere else, for example, the player?

    I think I could make it by making the different height layers move more or less depending on how far the player is to an objext, but I think that would be quite complicated to make, and also would take quite a lot of memory, as I'm aiming to release this for mobile devices.

    Any clue on how to make this?

    Thanks for your time.

  • I tried to alter the top object's distance to the bottom object by using the distance of the bottom relative to the player, and this is what I got done:

    Now there's several problems: the Top object will only move in diagonal lines and furthermore, it changes its position suddenly when the player walks past the Bottom.

    Edit: I also noticed it only takes ONE of the Bottoms as a reference, not each individual one.

    My idea was to make the Top object orbit around the Bottom, 360 degrees, getting closer or further to the Bottom depending on the players position to the Bottom itself.

    Any ideas?

    Thanks for your time.

  • That's great, it's pretty much what I wanted.

    But what do you mean it's not uniform?

    And can you explain what the Scale function does? I'm guessing it modifies the units each layer works with, but why doesn't that make the boxes smaller or bigger?

    Thank you very much for your answer.

  • nice effect

  • HOLY...!!!! That's virtually EXACTLY what I was trying to do a while back. The main difference (hence, the "virtually") is that instead of layers, I wanted to create a solid box.

    The problem I realized is that, as far as I have learned, C2 doesn't stretch/skew sprites in odd contortions while pinning them to each other's image points at corners (ie: a square's shape shifting so that it's that of a trapezoid or parallelogram to represent the sides of the box from shifting top-down perspectives as in this example).

    Well done, !!! WOW!


    -> Play .capx file | Top3D


    -> Rhindon's mind | blown

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice. I will be following this thread to see your finished project. I to am doing an RPG.

  • For Final Fantasy type rpg's etc... you really don't need to apply this type of effect as it is going to cause some oddities with sprites that actually have details to them. The 3D effect is awesome here, but for an ISO overhead RPG, none of the old school ones had any type of perspective change when moving past objects.... usually they were just static Isometric buildings, etc... the difference being that you could walk around the base of them, or once you passed a certain Y coordinate in comparison to them, you could go behind them.

    While I think the above effect is damn smooth, my feeling is it will cause you issues trying to create more details sprites and also if you need to have solid behaviors, etc... since the collision detection may get a bit odd with the scaling... just some thoughts... very nice effect though!

  • Oh man, please reupload the Link! I think this is exactly what I was looking for.

  • Yandraker

    hello, all your links are dead... can you please upload them again???


  • irina


    hello, all your links are dead... can you please upload them again???


    Neither user has been on this forum for a long time, so unless any other user still has the uploads then you may be out of luck, unfortunately.

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