lionz's Forum Posts

  • Although they seem like separate events, because you change the variable 1 to a 3, it makes the event below true in time to run it because they all trigger on key press in order from top to bottom. You can try just having the one key press condition then use sub events with 'Else var=1, Else var=3'.

  • You can use a different global variable to lock out the event so it is not always true. So like variable=0 in the condition, then when you show the text in the action you can set the variable to 1. Then it will only run one time!

  • You need to make it so the condition is no longer true, so change the Levels_Open variable? Or if that is an important variable to remain with its current value then use a different variable to act as a trigger once.

  • In theory what you are describing should work but the screenshots are too limited to tell what's going on. If you can share the project I can help. Or try with a very basic event and see if you can get it working to change the volume with a tag.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Which add layer event?

  • You do not have permission to view this post

  • Yes 'on collision' is better here

  • Check if you unticked 'enable collisions' on Fire. In theory yes if MagicBeam is working then Fire should do the same thing.

  • You'll need to pay for Construct 3 to access what I was referring to,'Families'. you can put all your bullet objects in a family and call it one time for all. It's so you don't need to do repeat events for many objects. More info in the manual!

    From your last response I see that you want to keep an angle for shooting until you change weapons so yeah a global variable is a good idea, as it is the equipped weapon rather than the bullet. You can also have the equipped weapon as the variable so if weapon ='weaponA' and shoot key is pressed then spawn bullets at a certain angle.

  • You do not have permission to view this post

  • Use 'bullet on created' to set the angle. If all bullets are going to do the same thing and the problem here is referencing them then you can put all bullet objects into a bullet family and say 'bullet(family) on created' set angle to value, of course this option is only if all bullets do the same thing where the only issue was that you couldn't pick the bullet, otherwise use the bullet object itself to set the desired gameplay for each.

  • You may have misunderstood the sub event because you added an every tick, but because the top level is a trigger once click event it will trigger once. Because you toggle the variable in that same event it might not have changed by the time it gets to that condition. Probably you want to scroll the camera straight away anyway on click, not with a variable condition. Try moving the actions and condition up to the main section so it is one event.

  • What is the current problem though? If they are not attacking it could be influenced by other events which are true at the same time as being set to 'attacking'

  • That is still my answer I think scrap that file and start again, keep it simple. Also the design has not really been explained, what is 'combining items'? Do you mean a crafting system using two items to make one item? If you mean this, I use a simple array, you can look for the name of the first item in the array and check the name of the second item against the second column to craft what is in the third column.

  • Wrap behaviour should accomplish what you are describing. Please share an example of this moving slowly.