brunopalermo's Recent Forum Activity

  • The capx is a bit confusing. But it seems to me the main problem is you reset global variables on ES_GameOver and you try to add Money to Total money Earned on the begining of the levels. You should add it BEFORE reseting the variables.

    Besides that, there's a lot you could easily improve in your capx. Specially in regards to structure. You could do without it, but most probably it will bring more problems similar to this one in the future. It may be wise to just pause development right now, design the screenflow and everything on paper, then go back and implement it. I could help you with that. Feel free to contact me via private message. And you can do that in spanish, as I speak spanish quite well.

    Cheers!

  • It shouldn't be a problem. Global variables are persistent between layouts. Can you share a capx.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think it's possible. Anyway, if you share why you need to create a new layout on runtime someone might be able to find a workaround or even a better solution. I, myself, can't think of any situation in which you'd need to create a new layout...

    Cheers.

  • Hey Methuselah!

    This may be not exactly what you want, but I had this capx with card game related functions. One of them organizes the player's hand. It might help you to make your own.

    https://www.dropbox.com/s/anbtxlrdk2n1l ... .capx?dl=1

    Hope this helps. Cheers!

  • Add the condition "Trigger once while true" to the event that checks the condition for playing the sound.

  • [pt-br]

    Oi andersonfg!

    Tu podes compartilhar o .capx pra eu dar uma olhada?

    Outra coisa, no forum não é permitido escrever em português a não ser que você inclua uma tradução em inglês do texto, como eu fiz aqui, ok?

    Falou!

    [en]

    Hey andersonfg!

    Can you share the .capx so I can take a look?

    Another thing, you can't post in portuguese here, unless you provide a translation of your message, as I did here, ok?

    See ya!

  • Hey dop2000!

    Thanks for the detailed explanation. I'm not a programmer so, sometimes basic concepts may elude me. This was one of those things I always did, because it was recommended, but never quite understood why.

    Cheers!

  • If you follow the recommended method of using an invisible sprite with no animations as the collision and movement sprite, then pin the animation sprite to this, you would likely not have such problems.

    Hi zenox98!

    I understand this is the recommended method and, in fact, I normally use it, but now you got me curious... How would having the animations and the behavior on the same sprite affect the animation flow? Is there any known issue there of which I'm unaware?

    Thanks in advance.

    Cheers!

  • I meant the "Origin" image point, it's like a target icon on the sprite editor. Could you share the capx?

  • Could it be something to do with the fact that the 3rd frame is slightly shorter in height?

    Definitely. You can do 2 things:

    1. Make all frames the same size.

    2. Change the anchor point so the sprite does not "move".

    Hope this helps. Cheers!

  • I'll check it! Meanwhile, I had already made an example with animations, so, I'll just put it here, so you can check it too.

    https://www.dropbox.com/s/r4axeeqc8mr3g ... .capx?dl=1

    Cheers!

  • Can you share a capx?

brunopalermo's avatar

brunopalermo

Member since 7 Jun, 2013

Twitter
brunopalermo has 6 followers

Connect with brunopalermo

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies