Loading Sprites Characters in Different Layouts

0 favourites
  • 7 posts
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • CAPX: https://www.dropbox.com/s/2rmfa0sqosnzy ... 201-1.capx

    I have two layouts (marked with an "L" in each name; likewise an "E" for each event sheet...makes things easier to identify).

    In the "L Maze D West" layout, you'll see the LostSoul object (in the Characters folder in the editor) pulsating with a couple of active effects. Below the LostSoul is the TileGlow object which changes color based on the player movement. So far everything in this layout is working properly.

    The problem I'm having is in setting up details for the "L Maze MercuryUs" layout and its related event sheet. The LostSoul character isn't behaving as it does in the "L Maze D West" layout, even though I've added actions to the "On Start of Layout" event line (see event sheet "E Gen Cntls Anims").

    You can see a little bit of the LostSoul character in the "L Maze MercuryUs" layout when you Run it, but obviously it's not acting as it does in the other layout. I cannot figure out why... Can someone help me see what probably should be obvious? Thank you!

    (Also, I intentionally disable the "Scroll To" behavior in the "E MercuryUs" event sheet. That's not a mistake.)

  • *bump*

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's not clear what you mean by "it's not acting as it does in the other layout". Other than the 8-direction Default controls set to No, I don't see a difference.

  • blackhornet - Strange. So on the "D West" layout, the LostSoul object appears as a series of rings flowing inward...and then ALSO flowing inward on the "MercuryUs" layout?

    For me, on the "MercuryUs" layout, the TileGlow object still changes colors, but as different colors than on the "D West" layout. AND, the TileGlow object seems to be ON TOP of the LostSoul, even though TileGlow is on a lower layer. Despite using the SAME parameter values in the event sheet upon the start of both layouts, I get two different outcomes... I'll set up a comparison picture to show you what I'm getting since it seems you're not seeing any noticeable difference.

  • Well, NOW the LostSoul object is appearing more on top of the TileGlow object. But the effects are still not the same as that on the "D West" layout.

    Both are at a stand still, so the TileGlow object should appear red. Obviously the color on the right (layout "MercuryUs") isn't

  • Set Unbounded scrolling on "L Maze MercuryUs", don't disable scrolling. 8-direction Default controls = Yes.

  • That seems to have done the trick! Thank you! I'll let you know if anything else seems off from what I'm trying to accomplish. Thank you once again!

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