marcosfl's Recent Forum Activity

  • Sooo sorry this post was supposed to be on Construct 2 help, didn't notice the forum had changed, went pretty automatically.

    Hey! I'm making a Megaman X clone and I'm having trouble with the Is by wall condition. X wall slides when he IS BY WALL, falling and holding the right arrow key towards the wall (wall to the left, holding left, wall to the right, holding right)

    (that's not all the code though, but the main part)

    It works! (this image and the image below are way too big, press right mouse buttom and View on another tab so you can see'em)

    But... for some reason, this also works when there are walls above him

    He can wall jump on walls above him as well, and it looks awful. I really don't know what's wrong with the code, shouldn't Is by wall to the left and right not consider walls above the player? I have already checked and X is definitely not overlapping the wall above him, so all of this really doesn't make sense to me.

    Capx file if you want to check it out by yourself:

    https://drive.google.com/open?id=0B2yZXSPQBErnRHk3YVFIQmJPTzg

    Please help me if you know what I could be doing wrong!

  • marcosfl I have the same assets there Brilliant!

    Great assets, aren't they? Haha!

    Thank you all for your replies, I managed to do it using families

  • Quick thought, move your current event "Sort all objects" to under a condition of Player != Jumping

    Then, under an else condition, run the event "Sort all objects" but for everything except that player.

    I haven't used this particular plugin so I don't know if you could do that. But maybe a family would work? Just sort the objects in the family?

    That would definitely work, but unfortunately I can't make exceptions (not that I know). Maybe there's an advanced way of making exceptions with this plugin, but then it would take its simplicity away. I'll try to do that using families and not the plugin

  • maybe using a helper container sprite staying on 'the ground position' for z-order?

    I tried that already :/. I made an object that follows the player around, stuck to his foot, when he is not jumping. When he is jumping, I tried setting the player's z order to this object's z order

    And this happened, every time I jumped an enemy above me vanished!

    Debugging the project I saw that the enemy wasn't set to Invisible. It misteriously vanished.

    This probably happens because I'm telling to always set the object's z index based on their position, and asking once for the player to not do that bugs the plugin.

    Do you perhaps have a suggestion on how to make this system without using the plugin, or another suggestion on how to try and change only the player's z order when jumping? Thanks!

  • Hello! I'm making a beat'em up game using 8 direction. I had to find a way to organize the objects's z orders based on their Y position, and the simplest way to do that was with the plugin Rex Z sorter, like this:

    And it worked! The character's and enemies' position is just like it should be!

    Except... when the character jumps

    The character's z order change, he should be in front of the enemy closer to him but is now behind him, and it makes sense. When he jumps he changes his Y position.

    I tried applying a condition to that every tick I showed above that only changes z orders if the character is not jumping. But that would make enemies go over each other without changing z orders every time the character jumped.

    Will I have to find another way to do this? Or does anyone know how to get around the z sorter plugin and make the character keep his z order when he jumps?

    Thanks!

  • My team really needs these last hours for implementing audio and balancing some numbers. Hopefully if it takes too long for us to receive the license back we can have a few extra hours when they finally notice it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hope this gets fixed. Really needed these last hours to implement audio in the game. Won't be able to submit it in its current state

  • The link is off, could you please upload a new one? Thanks

  • It seems like a nice game! On the trailer I could see many different skills for the character and the level design looks interesting. Wonder how a slime is capable of swinging a sword, haha. Good luck!

  • Try setting your player to the topmost layer.

    By the way, is that Shigeru Miyamoto's body with your face in it in your avatar?

    I fixed it! Thank you for your reply. It was indeed something about the Z-order, I messed around a bit and got it right. I can't say for sure what was causing the problem, but what fixed it was putting the SpriteFont on the top (in my case, the level name over the screen). It was on the bottom of the layer and this for some reason was causing this problem.

    And... yeah. I like putting my face on celebrities. This is my face on Vin Diesel's: http://imgur.com/kVoDDhW

    As Miyamoto is a game designer, I figured it would be perfect for a profile picture in a game developing forum

    Wow, nice eye. You're the absolute first to notice it (I use this picture almost everywhere)

  • Hey guys, thanks for clicking on my post

    There is an issue that is annoying me. I'm designing some levels and some objects become invisible when placed and the grid disappears. Check it out:

    On this first one everything is fine, notice that the grid is set and showing

    On this other one, though, I've set the Player object on to the layout on layer Game. The grid became invisible and the object Player too. It also happens with the enemy objects.

    First I thought it could be something about the objects size, but some objects with the exact same size don't bug.

    Hope I can fix this soon, thank you for your attention!

  • Thank you very much!

    Simple and extremely useful

marcosfl's avatar

marcosfl

Early Adopter

Member since 21 May, 2016

Twitter
marcosfl has 4 followers

Connect with marcosfl

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies