dop2000's Forum Posts

  • Even with "Framerate Independment" setting, Physics will work slightly differently at different fps.

  • thetnswe I'm on Construct r337.2 and I haven't noticed any issues with ProUI, all plugins are working.

  • You can communicate with the database using PHP scripts on the server. There are plenty of tutorials on this:

    construct.net/en/tutorials/search

  • It will be faster if you don't move the images from DrawingCanvas to the sprite. You can flip canvases. But yeah, it won't be an easy task if the book has multiple pages.

  • I make the 2nd sprite a child of the 1st sprite, using Add Child. And then position the 2nd sprite to an image point on the 1st sprite.

    Do you mean you position the 2nd sprite to the 1st sprite on every tick? This can explain the ghosting. If you check "Transform X" and "Transform Y" when adding a child, it will be attached to the parent.

    If this doesn't help, can you post your project file?

  • You need to check sine cycle position on every tick. It may be easier to use Tween behavior or a timeline instead.

  • Try "On Fade Ended" instead.

    I think "On Ended" is not triggered for sounds which have been stopped.

  • Laurent The best solution would be pasting them on a drawing canvas. Then either flip the canvas or load the image from the canvas into a sprite.

  • If this is only needed once, it would be easier to sort the data manually or use an online tool.

    It's not possible to automatically sort JSON data in Construct. You will have to invent something, for example you can copy each key into an array, sort the array and then copy them back to JSON.

  • The common way to do this is by adding the object to a family. Move all variables and behaviors to the family level. Then you will be able to pick family instance and sprite instance independently in the same event, and copy values from one to another.

    With two parent instances it may be a bit trickier. You may temporary set an instance variable "IsParent" for two parents. (make sure it's not set for all other instances). Then pick a random parent.

    Family IsParent=1
    Pick random Parent instance
    ... Sprite set speed to Parent.speed
    
  • Instances which you've just created may not yet be available in other events. The easiest solution is to set the "current" variable in the same event where the card is created. But then you will have to calculate the permutation index.

    You can probably set this variable in On Created event:

    Card On Created -> Card set current to floor(AdvancedRandom.permutation(Card.IID)/2)

  • Perhaps C3 can't decompress the data. It definitely works with uncompressed data in TMX.

    Try exporting it uncompressed.

  • Function.Param is an old expression from Construct 2.

    Are you using this code inside a C3 function? Then instead of Function.Param type the parameter names.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What do you mean by "regular license"? With the Personal license you can publish your games anywhere you want.

  • How do you attach that child sprite to the parent? With hierarchy, physics joint, Pin?