dop2000's Forum Posts

  • What if the parent object has persist behavior, and the child doesn't? Should the child be restored?

    You can use "On Created" event to restore the hierarchy when persist objects are re-created.

  • Don't uninstall the old version. Install a new version and confirm that you want to update the existing one.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your example works for me, but I had to change the expression to this:

    angle(0, 0, Gamepad.Axis(0, 2), Gamepad.Axis(0, 3))

    I think axes 0 and 1 are for the left stick, and axes 2 and 3 are for the right.

  • Turned out I was wrong about the app ID. Seems like there is a "uniqueId" tag in .c3proj file, which is probably generated when you create a new project, and which works as a storage identifier.

    Try setting the same uniqueId for all your minigames and see if they can share Local Storage after that.

    It's odd that this feature is undocumented..

  • For a large array your method may be slow. But it's just easier to load AsJSON.

  • You can create another array object, say tempArray, and copy the the main array to it:

    tempArray Load from mainArray.AsJSON

  • I believe you can only access local storage data from another game if it's on the same domain, and if it has the same app ID. (EDIT: turned out this is not true)

    If you need to use different app IDs in your minigames, then they'll not be able to share local storage. You will have to send data to services like Firebase, Playfab, or store it on your own web server.

  • Decosyst Check out their demo project, which is included with the addon. You need to use specific values for placement, in this case try Enhance.INTERSTITIAL_PLACEMENT_DEFAULT

  • I may not understand the problem, why do you mention canvas?

    If you need an infinite layout, then simply enable the unbounded scrolling and that's it. You can scroll to a position like (1000000,1000000) on start of the layout to avoid dealing with negative coordinates.

    Enable "Scale Inner" or "Scale outer" full screen mode in object properties, and remove the Set Canvas Size action.

    Use Mouse.X and Mouse.Y (not AbsoluteX/AbsoluteY) expressions to get mouse position in layout coordinates.

  • There is no link in your post.

    Check the deadzone setting in Gamepad object properties (on the left panel).

  • I had this issue in Chrome a few days ago. Try pressing F11 a few times, Ctrl+0, select Zoom 100% in browser settings.

    If you are asking why the theme is black - you can change it in Construct preferences.

  • Of course it's allowed. You can link a web-page or an app listing in Play Store.

  • If you want to store unique values per each instance, you need to use instance variables. So define storePoints variable on the sprite.

  • 1) collision polygon in a sprite is not allowed when dealing with a large number of vertices.

    I tried adding about 300 points to the collision polygon with that addon and it was working fine. Of course, I wouldn't do it on every tick.

    4000 vertices is a bit too much. I'm curious why do you need that many?

  • I would try adding more data to the file, maybe increasing its size to 20+ MB. See if this makes the problem worse, or if will allow to reproduce it in a test project. Or maybe try a different web service.

    Once you can pinpoint what exactly is causing this issue, it will be easier to figure out a solution.