tonnet's Forum Posts

  • 3 posts
  • Hi,

    I have been playing with construct for a few weeks. I though t I would try and get a hello world app running on android via cocoon. I put a button and a text box on the screen and set the text value when the button is clicked, (as simple as it gets). Works fine in construct but when I export to cocoon, compile on cocoon and send to my htc one all I get is the text box showing. Not sure how to go about resolving this. Can anyone verify construct + cocoon + android works or offer some advice ?

  • I have a large sprite with many image points on them, (about 40). Each image point has a name that tells me what the image is about. Another small sprite moves around it randomly an stops at a specific time. Then i loop through the image points using distance() to find the closest one. All this works well and I get the index to the image point but I have no way to get the image name.

    I can work around it by storing all the names in an array and looking them up once I have the image point index.

    It would be a useful to be able to get sprite1.imagepointname(loopindex) the same way we can get the sprite1.imagepointx(loopindex) as it would save keeping another array in sync with the image points.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi I have a sprite with about 20 image points and each has a specific name. I know which image point i want by index, is there any way to get the image point name given the index ?

  • 3 posts