Doing reflections / Using a family vs individual sprites?

0 favourites
  • 2 posts
From the Asset Store
A collection of various zombie characters sprites for creating a 2D platformer or sidescroller game
  • So I was following this good guide on doing making reflections:

    youtube.com/watch

    I was trying to get it to work with families though vs making a copy of all the object sprites & just making it easy to chose what was going to get reflections in water etc. Copying the effects on the spites is the is goal.

    I guess the hardest thing it so get the image point at the bottom of all the family objects. Flipping and reflecting them.

    I mostly wat to mirror any effects that are happing in the main objects & keep its simple vs doing tons of duplication.

    Any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok there is a way to do it, assuming the same as the video you have Object and the new object is called ObjectReflection, you can say for each 'family' : create object by name Family.ObjectTypeName&"Reflection". The only problem is you cannot really then pick the created object to flip and set it the image point so this gets convoluted, you could possibly try 'Reflection' family on created (yes another family for reflections), flip and pick nearest 'Objects Family' (the original one) set position to its imagepoint, or overlapping condition may work too if when you created the reflection at family.x/y

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