EvanMC's Forum Posts

  • 9 posts
  • Yeah, but that's the thing, I have 5 different layouts using the same eventsheet.

    How do you define the layout using "On layout start"?

    I'm looking for something like "On X layout start".

  • How do I do different sounds for different layouts?

    I have a background music that I want to add to different layouts.

    Also, will it automatically loop back to the beginning when the song finishes?

  • Oh okay, thanks, got it!

  • When I start my game, it loads the 2nd layout first.

    How do I make it start in the first layout?

  • I'm using the healthbar system from Zelda here:

    scirra.com/arcade/example/320/zelda-style-lifebar

    Here is my .capx:

    dl.dropbox.com/u/91745263/WorkingTitle.capx

    If you compare the event parts between the two, they are correct.

    It is by far the most bizarre situation I have ever been in.

    I spent 6 hours trying to find what the issue is.

    So, if anyone of you masters out there find out the problem, please please tell me what's wrong.

    Here is what is known so far:

    The math seems to be working.

    The coins in the game can only be collected if you have less than full health.

    If you have full health, you cannot collect the coins.

    So, if you "flash"/get hurt two times, you can collect 2 coins, but can't collect a 3.

    So, the math seems to be right, it's just not changing the animation frame.

    I really appreciate it!

    PS: Switch to Level1 layout before running it

    PS: The fish and biohazard enemies will decrease life

  • I know it most likely has been made before, but I'm running out of time.

    I have a fish object, how do I make it appear from the bottom of the layout and jumps in a rainbow-like arch then heads back into the bottom.

  • Nope, 'for each' is all you need.

    +For each object

    +compare two values: is distance(player.x,player.y,object.x,object.y)

        -> actions

    This works, thank you very much!

  • I have an object that moves towards the player if it gets within a distance of 500 pixels of eachother. However, I have 3 of these objects on the same map.

    Only the one that I last placed on the map will be used to detect the distance. Once I get close to it, all 3 of the objects come towards me. But if I get close to the other 2, nothing happens.

    What can I do to make them all separate? If you know what I mean

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just bought a personal license for Construct 2, I noticed that all you needed to do was download the license and put it in your Construct 2 directory and it will automatically detect it, so I did that on my laptop.

    My school has computers with Construct 2 free version, if I forget my laptop at home one day, could I put the license in my flash drive and use it at school? Or is there a "one computer only" policy?

  • 9 posts