brunopalermo's Recent Forum Activity

  • Hey yolkgames!

    Here is a capx showing how to start and stop a sound and also how to control the volume.

    https://www.dropbox.com/s/m7jh78agwca50 ... .capx?dl=0

    Hope this helps. Cheers!

  • Hey Matei511!

    Like said above, the best way, in my opinion, would be a Family that includes all enemies and the following events:

    enemyFamily On Created
       enemyFamily spawn object hpBar at imagepoint("hp bar")
       hpBar pin to enemyFamily
    [/code:3twwlo5m]
  • Hey StaticC!

    It's not very clear if you want to create your levels in an array and read them to set the tilemap up or if you want to implement rules so the game procedurally creates maps by itself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Glad to help!

  • Hi. Thanks for the info. If i want to extract the last 3 characters of a string at once, how i do this?

    Making right(text, 3) right(text, 2) right(text, 1), making right(text, 3)? or other thing?

    If i want to extract (counting from right to left) character 3 and 4 at once?

    Note that right(text, n) gets n characters starting at the last character of the string and going backwards, like left(text, n) gets n characters starting at the begining of the string and going forward.

    If you need to get a certain amount of characters in the middle of a string you should use mid(text, start, n), which will return n characters starting at start and going forward.

    Thus, if you need to return the 3rd to last followed by the 4th to last you would need to use mid(0 twice and join the characters toghether:

    Examples

    To get the last 3 characters, "ium" in the example below, you must do the following:

    myString = "Avengium";
    myCharacters = right(myString, 3)
    [/code:28xs41ez]
    
    To get the 3rd and 4th to the last, "ig" in the example below, you must do the following:
    [code:28xs41ez]
    myString = "Avengium";
    myCharacters = mid(myString, len(myString) - 3, 1) & mid(myString, len(myString) - 4, 1)
    [/code:28xs41ez]
  • As far as I know, I don't think it would cause any other problems. Maybe Ashley could help us.

    But people at Scirra will usually tell you not to tweak these things...

  • I understand. It's a pity this conflict between both effects.

    Maybe you could achieve the shader effect using another effect or plugin? Or maybe another pixelate effect or plugin... There must be something out there.

    Sorry for not being able to actually fix the problem and good luck on your search.

  • Hey work3!

    Let's go step-by-step...

    1. Rotation/Opacity Issue

    Yeah. This seems to be a bug. Is it THAT bad if you set the opacity to 99%, instead of 100%? I noticed that if you do that it will pixelate as it should, so it may be an acceptable workaround.

    2. Pixel Shader Edge

    It seems to me this is a bug in how the shader is dealing with transparency in the foreground objects. Note that, when the opacity is set to 100%, no edge is shown. Can't think of a way to solve this.

    So... Apparently you'll have to pick one: shader on the background or pixelate effect. Unfortunately.

  • Hey FabianB!

    By your screenshot, I don't know how the attack animation is playing at all, since it would be stuck on the first frame and never end, because of the Set animation action while Attack is true.

    If you could share the capx, I could thry it and see the actual problem hapenning...

    Cheers!

  • Nice example, dop2000!

  • Hey Badmiracle!

    I'm not sure I get what you need, but it may be something like this example I've posted in the forum some years ago:

    https://www.dropbox.com/s/jives77kcpmus ... .capx?dl=0

    Hope this helps. Cheers!

  • Hey SamLarsen97!

    You could create a bigger layout and center the camera On start of layout like in this capx:

    https://www.dropbox.com/s/hx6igo0di7gtu ... .capx?dl=0

    In this example I marked the center of the layout with the yellow square and the spawn points (outside of the view) with blue ones. You may use the arrows to navigate around and see how everything is positioned.

    Help this helps. Cheers!

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