lionz's Forum Posts

  • You do not have permission to view this post

  • Nope not working. Before you upload it again you could temporarily remove that behaviour from your local folder, then try and open your capx to see if it requests it.

  • Something is still using that behaviour so it can't be opened.

  • No-one is going to be able to help unless they've purchased this parallaxbg behaviour from the store.

  • Well I tried it and it works. If you reference the background music in the start and stop events with a tag then it will stop it. The reason the song is still playing in level 2 is because you don't try to stop the 'sad' music from playing.

  • You didn't really go into detail about the events that happen when the player levels up. Considering that's where it goes wrong then I would look there. You only set dungeon damage on start of layout, maybe you change that to 3 when the player levels up?

  • Put something in the audio tag, other than ""

  • When I mentioned the picking earlier, so a player 1 has variable playerNum=1, you can assign everything linked to player 1 with an ID of 1. Then for player 2, which has variable playerNum=2, you can link everything to that player with an ID variable of 2.

    So hypothetically if player 2 was attacked and you wanted to pick something related to player 2, like a shield taking damage you would say :

    on player(family) attacked

    pick shield, where shield.ID=player.playerNum

    shield take damage

    But then the good thing is that this generic code actually applies to all players because you are using families.

    You didn't mention if you submitted your C2 license on this page...

    https://www.construct.net/profile/my-discounts

    Did you? Because that's how the discount is applied when you hit the buy button. ;)

    Well that was the elusive menu I was looking for I guess, thanks.

  • Also, If I will make a Family for all the Players for their instance variables such as Hit Points, Damage, Jump Strength, etc..

    Whenever Player 2 or Player 3 be affected, it will change ALL THE PLAYERS right?

    --

    To identify the players you can have a family instance variable for 'player number' and pick based on playerNum=1 etc

    I am player 1 = family.playernum=1

    For family, where playernum=1, set my P1 stuff.

    I am player 2 = family.playernum=2

    For family, where playernum=2, set my P2 stuff.

    Hey guys, I went to purchase Construct 3 license but don't see any option for 50% discount which was previously mentioned you would get as a Construct 2 owner prior to Feb 2017. Can you assist Tom? Does anyone else know anything about the discount? Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So a dash move? Physics behaviour, apply force at required angle (probably 0 or 180).

  • Hmm not sure what you mean but on thinking about this further you don't even need the OR check as you are checking for the same thing, health = progress, so just check for player health only. You can add in waits to try and debug it, it is probably easy to resolve.

  • "I then set the progress bar "progress" to Player.playerHealth afterwards."

    How long afterwards? Do you mean as an action directly below in the same on start of layout event?

    If you take out the OR for progress and keep just the health condition, does the issue still occur? If not then its because you've set progress bar to playerhealth too late, after the check has taken place. If health changes to 0 on start of layout then thats fine, where you set the progress to player health may matter.

    Also note that when I say later I mean this could be the next tick, so not even visible to the naked eye, Your values may appear to be correct wherever your progress bar event is but when the check has taken place to kick off the 3 second timer, this could've been a split second before.

    Of course this is just speculation as we cannot see your event sheet.

  • You can set a local/global variable to variable1+variable2 for example. Then that variable being the result of the calculation you could display in a text object set text ""&variable.