adventurist's Forum Posts

  • Hi!

    Well, I wanted to have a go with compiling my game with ejecta, but I wanted to try to implement the in app purchase function, and noticed on ejectas website that you have to be able to restore purchases in case the user decides to reinstall the app after uninstalling it. There's no such option in the plugin used in construct 2 (I downloaded it from github), so I'm wondering how you would go about doing that.

    The code to use is apparently: .restoreTransactions( callback(error, transactions){} )

    Do you execute it with the browser object and choose: exectute javascript?

    Thankful for any help! :

  • Hi!

    I'm not sure if Construct Classing ,being open source and all, makes it okay to sell it as a program. I was just searching for construct unrelated things on google images, when I saw the image of the demo ghost shooter, and when I clicked it I was surprised to see someone on Ebay are selling the construct classic program.

    I thought I'd bring it up in case this is not allowed.

    Not sure if I can posts ebay links here.

  • Never mind, I figured it out!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi!

    Are there anyway to compare collided object intances X values?

    Like:

    "if instance A Collides with intsance B and both A and B has

    same X value, then..."

    The objects positions are not known at the start because they are

    positioned randomly.

  • Thanks!

    I changed it so the 'for each' events are triggered on 'start of layout', and I also changed so that once green is deleted, another events checks if it is, and then spawns another object. Works fine that way.

    Thanks for your help! I will not abuse the 'trigger once' again. :)

  • Hi!

    I've got a problem with spawning a new object at the last objects position.

    Now it works spawning a new object, but sometimes it spawns an object twice.

    Let me show you my code:

    <img src="http://i.imgur.com/zGIpBz9.png" border="0" />

    so basically I create a grid with randomly created objects with different colors.

    Then I check if a green box collides with another green box, and if it does, delete it and spawn a new one at its position.

    Sometimes, not all the time, it creates two at the same position, which I can tell when counting the objects and testing in debug mode.

    Does anyone know why it does this and how I can prevent it from happening?