lionz's Forum Posts

  • Create a global variable for example lets call it hasShield, then your spacebar event should be 'on spacebar pressed' with condition hasShield=0. Then on the actions you spawn the shield and set hasShield to 1. This means it will only work one time because the variable changes to 1 and locks out the condition for 0. Then later on in the game when you are allowed to spawn a shield again you set the variable to 0.

  • Did not fully understand the post but in general if you want non repeating values you can use a Permutation table in Advanced Random this creates randomly shuffled string of numbers which can be useful. Or yes you can use an Array fill it with the values and delete the row each time something is assigned.

  • Yes should be under a sub event only, press S or right-click add sub event

  • can't do right now but look up Families in the manual. It acts like another object, you add those individual sprites to the Family and say in the event 'mouse cursor over Family', you select it as though it is an object.

  • You probably need a construct dev, this could be different things. Maybe it takes time to find targets or maybe if the target is created before/after the turrets on layout start then it can't target it. Or what data is stored in Turret.AsJSON? maybe targeting data is not saved or is difficult to load. Seems though you are creating a workaround for already existing feature which is system save/load which should work fine.

  • Need more info there on what you mean be combine enemies

  • In the sense of that working, yes individually. You can however put all objects into a Family and say cursor over Family set z elevation to 2 so this catches all of them in one event.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sounds like the line animation could be separate and you place it over the orb ? It's really that problematic to change the colour ?

  • You should be able to make a sub event on the collision with 'Pick Nth instance' where 0 and 1 instance are the two in the collision.

  • You do not have permission to view this post

  • The original Rayman looks like an animation for the character as a whole and when you punch out it spawns the fist as its own object.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • It's difficult because you need to pick enemy against enemy. The first enemy will be easy as it is enemy nearest to tower. Maybe you can use the co-ord of the enemy chosen and pick nearest enemy to the co-ord that is not the original enemy. Another way if it is more of an AOE type thing you could spawn a sprite that covers an area and puts lightning on any enemies touching the sprite.

  • You need to share the event where you actually pause the game for this to make sense. What is 'Pause' ? this is the pause menu or the pause button ?