Mirror effect in a platformer

0 favourites
  • 4 posts
From the Asset Store
10 Retro songs ideal for platformers or farming games
  • Hi guys,

    I need your help to create a "mirror effect".

    I would like to do a platformer with the screen cut in 2 parts. The top part with the player and the bottom part with its twin that do exactly the same things but in reverse.

    Any clues or solutions would be appreciated.

    Thanks a lot!

    Cheers

  • Hi guys,

    I need your help to create a "mirror effect".

    I would like to do a platformer with the screen cut in 2 parts. The top part with the player and the bottom part with its twin that do exactly the same things but in reverse.

    Any clues or solutions would be appreciated.

    Thanks a lot!

    Cheers

    Just a though, I cannot test it now:

    One solution would be to have the gravity reversed on the bottom sprite (I think that could work), so both of them move the same way, but in reversed.

    If it is only graphical (aka: the bottom part isn't use differently compared to the upper one), you could just set the red sprite position accordingly.

  • You could look at setting TopPlayer,Y via the controls (WASD) and the BottomPlayer.Y to LayoutHeight-TopPlayer.Y, that might be a good solution

    https://dl.dropboxusercontent.com/u/108 ... rGame.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks a lot for the anwers !!!

    I tryied both but actually, that's the reverse gravity (e.g. behavior=gravity=-1500) that is the best because it allows to put differents obstacles at top and bottom.

    Very easy solution but I was stuck with this issue since a long time.

    Thanks again !

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