lionz's Forum Posts

  • You answered your own question though, you know the co-ordinates are correct and it's just a visual thing because you scaled the layer, so what are you asking?

  • There's too much going on here and you cut off the top part of that important event in the screenshot. The first problem is that even though you run the function for each enemy, inside the function it doesn't automatically relate to that enemy, you need to pick it again inside the function by passing through a parameter. In the top event there are too many conditions really and is it running every tick? I cannot tell as you chopped off the top part of that event.

    Before you repeat you need to make sure it's running correctly one time for an enemy which it probably is not doing unless you have just one enemy in the level. What you could do is move everything inside the function, decrease the variable inside there. Run the function and send the enemy's UID through as a parameter, then inside the function pick the enemy from UID, and use a condition movement variable > 0 and loop through the movements.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just duplicate the events and replace object with the other array, or use a new row/column of the same array

  • Have another global variable for current stage that is set when you go into it. When you return to level select, use a condition to pick the sprite based on current stage (it should match) and use that to set the sprite object's other variables.

  • Umm looks like you're using the object? Try system on both...

  • The whole post is really confusing. You said your phone was fine but the first screenshot is your phone, so you posted a screenshot of it looking fine? But it looks different to the second screenshot? What do you mean? So far it looks like it is only broken on your phone even though in the original post you said it is working perfectly on your phone. If you're using your phone for testing the APK and installing updates from the store maybe there are caching issues.

  • Well almost, there isn't supposed to be two different variables because you're setting it then comparing it. You've used two different variables but it should be one.

  • is that a tablet?

  • Open the Demonoire project that comes with Construct and take a look at the walking skeleton or slime logic for movement, that will be useful.

  • Hiya, this is as simple as using the order of actions to pick the instance, so this :

    gun spawn bullet on image point 1

    bullet set angle of motion -45

    gun spawn bullet on image point 2

    bullet set angle of motion 45

    The spawn action allows you to specify image point.

    The set angle picks the instance that was just created.

  • The link doesn't work?

  • meaning what?

  • There is a text input object which allows text entry then you can use the text entered as a name.

  • There is 'system pick a random instance' which will pick a random cube if it is instances of the same object. If you are talking about 3 different objects then you could give them instance variable with an ID, number them. Then use choose(1,2,3) to pick randomly either 1, 2 or 3 and they relate to the object with that number set.

  • It's enemy.tilemovement.gridx. The tile movement has its own grid. If you set a sprite to grid position 0,0 you can work out where the grid is.