0 Favourites

Sprites disappearing behind lower layers

  • Hello everyone.

    I was wondering if you guys with your expert knowledge could help me. I'm looking to make a little game in the free version of Constructor 2. Unfortunately I'm having some difficulty and I'm not very smart with this software :(

    I'm making a scrolling game with a dude who's supposed to shoot stuff as they come past, as well as jump over stuff etc.

    So I've got the background sorted perfectly how I like it, however when I fire the player's gun, the bullets move along and explode, as taken from the ghost hunter tutorial. However when fired from the left of the screen, they disappear behind the new sprites that are being generated from the right hand side (the back walls). This only seems to happen when the sprites are freshly generated and when they've been on screen for a split second they start to work properly.

    I've tried using two different sprites that alternate but the problem persists, and I can't seem to resolve it. I've even tried using two different layers but that didn't help either.

    Does anyone have any advice? Any would be appreciated...

    dropbox.com/s/9vjcc4fjedde0lb/Dangame1.capx

  • I couldn't replicate the issue you're describing. All the bullets looked fine on my pc. It might be your browser's fault - check on other browser or update the one you have.

    Although I have run into an issue that every 20-30 seconds I am loosing control of the sprite (it is jumping up and down a little bit then).

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Hey guys.

    As I said above, the sprite had to be on screen long enough to allow the bullets to pass in front of it. However after calculating how far back I needed to move the spawning object away, I changed it's position in the properties bar (as this would be too far away from the screen) and it works a treat.

    Not sure if I made any sense but if this helps anyone then great.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
Sprite Font Generator - v3
368 112,345
RetroDaddy's avatar
RetroDaddy
Unread hot topic
86 28,715
St4rDu57's avatar
St4rDu57
Unread hot topic
153 104,452
DravenX's avatar
DravenX