brunopalermo's Forum Posts

  • My bad, I inverted X and Y. Glad to help.

  • Depends a lot on how you're moving the objects... Are you using Physics behavior? Car movement?

  • As I mentioned, the idea is getting them to learn the basics of construct as a game building engine.

    I'd say that game and Level design are topics far more interesting when you already know the tool you'll be working with. And, also, not even tool related, so, not the focus of this course.

  • May you share the capx?

  • Hey seinrre!

    Normally you would go for something like this:

    On text changed txtBox
    arrayName Contains value textBox.Text
        Repeat arrayName.Height
            arrayName.At(loopindex, 0) = textBox.Text
                 V_Weight = arrayName.At(loopindex, 1)
                 V_Cost = arrayName.At(loopindex, 2)
                 V_Qualitty = arrayName.At(loopindex, 3)
    [/code:31i0eswe]
    
    Hope this helps. Cheers!
  • Just a thought... If you need to chenge the initial frame for every animation in your sprite object, maybe the best solution would be simply reodering the frames so the first fram is correct for every animation. I really don't see the fuss here...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You should use a textbox. You can access the textbox content by using textbox.Text, so, you just compare this to your correct answer, when the button is pressed, and check if they match.

  • It's really hard to elaborate on anything without seeing what might actually be the problem...

  • Hi everyone!

    I'll be presenting a Construct 2 8-hours crash course in a meetup at our local IGDA chapter and I'd love to get some pointers from people who have presented similar courses in the past. I'm specially interested in suggestions about topics and course structure.

    Just to make everything clear, this is not my first course, but it is my first one about Construct 2. Also, the audience cosists mainly of people who are already in the game industry, indies and game dev students, so we can assume they have some background on game making, game engines and code logic.

    That's it. Anything helps!

    Thank you all in advance!

  • Also, in the capx I sent you can only fire again after the instance variable shooting is set to false. Currently, I was setting it to false when the last shot was fired. But you could just as easily set it to false only after the last shot is destroyed.

  • Hey StaticC,

    I'm not sure what method you're using, but here's a capx that shows you how to find a tile with a given ID and return it's position.

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

    For checking if a given tile exist, there are several ways to do that. You may do a similar loop or, if you're storing the tilemap in an array you could check it even easier with the Array>Contains value condition.

    Hope this helps. Cheers!

  • Hey RobertoFreemano!

    Are you sure it's not spawning all ten balls one over the other. I would guess that's what's happening...

    Check this capx: https://www.dropbox.com/s/ft721rvpbu8gw ... .capx?dl=0

    Hope this helps. Cheers"

  • 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.