Particle not changing Z elevation when using a sprite object as the image?

Not favoritedFavorited Favorited 0 favourites
  • 8 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • I'm having an issue with particles and Z elevation. If I parent a particle to the player in engine and test, the particles snap to the player's Z elevation. But if I spawn a particle system at runtime and set the particle z elevation to the player, the particles always show at Z elevation 0, even though in the debugger it shows the outline highlight box at the same Z elevation as the player.

    edit - Oddly enough, on a different layout I am able to spawn a particle system in the distance (-zelevation) and have it move towards the screen a little every tick, and that worked just fine.

  • Bump, help meeeeeeeeeeeeeeeeeeee!

    Getting a little closer to figuring it out, turns out having the particle object use a sprite as it's image constrains the Z to 0 always. Very frustrating x.x Any solution?

    Also, when are we getting a 3d particle object? Give us that Z control!

  • Wondering if this is a feature not a bug, I guess I can influence the Z elevation of the particles by changing the Z elevation of the sprite. I guess I just need to change my approach.

  • I thought I could get around it by having the sprite object be the parent, so the sprite object would be attached to the player and the particle emitter would be attached to the particle sprite. But again, when spawning these at runtime it doesn't work.

    I did not think it would be this hard to spawn particles, customize their look via sprites (can't set animation or frame), etc x.x

  • Still haven't gotten this to work in a way that I can have particle cosmetics for each player x.x

  • I'm gonna do it! I'm really gonna do it!

    Ashley

    This seems like a result of the Z elevation functionality coming long after the particle object, so it's not fair for me to be upset, but I am very frustrated. My only solution now is to make the whole thing using sprites and events x.x

    This is my official request that you add Z compatibility with the particle object. I'd like for particles to remain at the Z elevation they were emitted at, and also for the ability of particle objects with an object set to it to emit that object at the particle object's z elevation. Bonus points for additional particle parameters to allow particles to spawn randomly on the z axis, as well as have movement on the Z axis

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Particles object doesn't support a lot of things, like animated particles, Z elevations, effects on individual particles, etc. That's what object mode is for - set it to create Sprite objects and then you can have all those things too.

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