Use a container and for each health bar set it to above enemy's head position.
Also the value of Health bar set to enemy.HP(instance variable of enemy).
The easy way is create a pattern with 3 each of them.
Then you add randomly in the grid and remove the index of pattern that you just added.
You do not have permission to view this post
You can use On Slider Changed Value.
You need to define a list of boss action phases.
0: Idle
1: Shoot
2: Chase
3: Dash
4: Sword
5:..etc
Then you can set the phase will happen based on the HP of the boss for example.
The loopindex should put inside the loop.
If you put like this there is no loop for the loopindex can be identified.
I think you can use the container.
It is in the properties of any object, select the objects you want and add into the container.
construct.net/en/make-games/manuals/construct-3/project-primitives/objects/containers
There is the file that I updated for you:
dropbox.com/s/k23eqku2temv3mh/audiotest%20%282%29.c3p
Develop games in your browser. Powerful, performant & highly capable.
Ah, my bad when understand you want to repeat both of them at the same time.
Here is my fix:
Those are the sprites as your:
Here is what you should do:
And compare:
You need a variable to count how many times it was played.
Every time the sound ends, add 1 to that variable.
If that variable still smaller than the slider value, call it to play again.
Member since 13 Nov, 2014