Ecation's Forum Posts

  • Hi!

    I need to rotate a cube in 3d around the Y-axis. Is this possible currently in Construct?

    Thanks!

    Tagged:

  • Hi!

    I'm at the moment distributing a game using the very nice webview export option for Windows.

    The problem is that I'm updating the game quite often at the moment and I'm worried about how that effects the experience of my players, since the game is story-based and uses the save-feature of Construct.

    If the customers download a new webview package from my website, then that package will obviously not have any save data present. So they lose their previous save right?

    My question is if there is any way to instruct my customers to transfer their old save file from the previous webview folder to the new one? Assuming the save files are even stored in that folder?

    Or will they just have to start the game from scratch every time they update (without building somekind of login/database solution)?

  • Thanks for helping!

    Didn't know about "push out solid", that one turned out to be really helpful in my situation.

    As for the bullet, I was indeed using the bullet behavior but then when hitting a solid object, I would change to the tween behavior to be able to use those nice "bounce out" curve eases. The animated bounce part was the tricky one which would sometimes put the rock inside a solid. But push out solid worked to help with those situations. The game has a top down perspective.

  • Hi!

    In my game the player can throw rocks and then collect them back.

    The problem is that sometimes they will fall on top of solid objects and the player can no longer reach them.

    I would like to make it so that if the rock falls on top of a solid object, then it should be moved to the next free spot (a spot where there is nothing with the solid behavior) on the level.

    How would you program something like this?

    Tagged:

  • Hi!

    Can I legally make my Construct project open source and host it on Github for public collaboration? Or is there something proprietary in the project structure which I can't share under an open source license? If I can't use a pure open source license, what license could I use instead for attracting possible collaboration?

  • Thanks for your reply!

    I ended up creating an image point at the edge of the wheel for each pin and then pinning them all to their corresponding image points using a distance joint. Now the collisions work much better.

  • What is the correct way of pinning physics objects together at the moment? Is it recommended to use the hierarchy feature? It kind of seems to work when I use hierarchy, but for some reason collisions seem quite unreliable.

    I'm building a wheel of fortune and attaching little pins to the edge to indicate different sectors in the wheel. Those pins rotate together with the wheel but they don't seem to collide very well with the "picker" (the thing that shows the result of the spin).

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Same issue. Remember to also post a bug report on Github.

  • Yes I thought of that possibility as well. It's certainly a possible workaround in this situation. But somehow it feels a bit ugly to create an object just to delete it immediately. That's why it would be nice to have a way of accessing all objectTypeNames of a family.

    Anyway thanks for your input, I appreciate it!

  • Yes you got that right!

    I'm trying to use families as much as possible and try to avoid the need for "hardcoding" values. If I need to type in a bunch of strings every time I add a new object type in my game, the likelihood of bugs increases.

    Thanks for confirming that this is not really possible at the moment. It would be really useful if we could access objectTypeNames in a family even before those objects have been created.

  • Hi!

    I seem to be a bit stuck with this:

    I have a Dictionary object that holds all kinds of keys for the objects the player has collected in the game. Some of those keys are not relevant for the main inventory screen where the player can pick objects for use.

    I have a family that contains only the objects that should be created in that main inventory.

    Is it possible to loop through my Dictionary and only create an object if it's part of this family? In other words I want to ignore all keys that do not match objectTypeNames in this family, but as soon as there is a match, I want to create that object from the family.

    Is this possible in Construct?

    Tagged:

  • If you have the full version of Construct, you can use families to achieve this. Add the possible objects to a family and then use system-->create object-->familyname. I believe it will choose one of the family objects randomly and create it.

  • Thank you, this will be helpful!

  • Hi!

    I have a global variable storing what object the player might be carrying.

    When the layout changes, I need to recreate that carried object in the new layout.

    I'm trying to do this with families so that I wouldn't have to hard code each object separately.

    But is there a way of checking if a string variable matches one of the many objectTypeNames present in a family?

    I made a simple test trying it out, but this event fails:

    | Global string carriedObject‎ = "Sprite2"

    + System: On start of layout

    ----+ System: carriedObject = Family1.ObjectTypeName

    --------+ System: Pick Family1 where Family1.ObjectTypeName = "Sprite2"

    ---------> Family1: Destroy

    Tagged: