lionz's Forum Posts

  • Solid obstacles are there to block the line of sight to another object not itself.

  • I can't see any reason why this would be broken, to clarify by chasing you mean moving or playing the chase animation? Looks fine to me, maybe they are all in range of LOS :)

  • You first need to use a variable to differentiate when it can freely move and not. Then when it's set to not freely moving, there are several ways to do it. My approach would be while in this state pressing A subtracts 1 from a variable and D adds 1 to a variable, that can be of possible values 0,1,2 or 3 and each number corresponds to an on screen button, when var=0 it is on the first button for example.

  • Why what was the outcome or problem? You have set them all to show true which is probably not what you want, better to set to false instead of true.

  • Looks like it is a capx with no plugin use so you can buy it and import it to C3, you would make it in the same way in C3. Also it looks like the creator is still around on these forums, you can make a post on the original thread from 5 years ago to ask him for sure before you buy.

  • Mobile apps are all about marketing I guess

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes as long as it doesn't use too many third party plugins

  • Someone may know how to do it in Construct 2, but it's quite an old method now and there will be no more updates for it. Construct 3 will build apk for you, has a built in advert plugin that works with admob and there's a tutorial on the site. If you can get Construct 3 then it would help you a lot!

  • Construct 3 :D

  • Try on hurt finished : set idle animation, as a single standalone event. That should fix it.

  • Alright so I guess it's stuck on hurt animation now when you get hurt, but apart from that moving and idle switch is fine? So you will need to add back in on hurt finished, set idle as one event. Since you added is not jumping to those events you should be able to add in the jump animation too.

  • That will just be the last played animation where it played once and didn't change to a new one. But it would with the events I mentioned.

  • Hiya, can we see the events involving the random number and how you're picking a new instance to make invisible? Thanks

  • You need to go back to basics and debug it for this, better to keep animations as simple as possible. Delete or disable everything, then begin with the 3 events I mentioned.

    Player is hurt : play hurt animation

    Player is not moving and hurt is not playing : play idle

    Player is moving and hurt is not playing : play walk

    See if that works first of all. If not then it's a problem with the hurt code that I haven't seen.

  • As mentioned you dont need 'on animation hurt finished'. Take that out, does it work as expected? You also need additional conditions 'is not jumping' and 'is not falling', anything that could cancel an animation from playing. On landed you shouldn't need as it will start up the idle or moving animation automatically.