Anthracite's Forum Posts

  • The Object (Player) has the 8 Direction Behaviour

    The Platform (Boat) has the bullet behaviour

    I am trying to get it so that whatever the platform is doing, the player stays with it but can still move around and 'get off' if they need to.

    So say the platform is moving down (90 degrees Angle of Motion) the Player would move down and keep with the platform. But if the player presses to move up, they can still use the 8 Direction Behaviour.

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, am hoping someone can point me in the right direction as I've been looking through the forums and found a couple of pointers but want to be sure.

    I'm looking to find the saved games that C3 produces using system -> save when you're running a project that has been exported using NWJS.

    I've seen that they could be in

    C:\Users\YourName\AppData\Local\Google\Chrome\User Data

    But nothing there unfortunately. Could anyone point me in the right direction?

  • You do not have permission to view this post

  • Thank you so much for taking the time out. I think the easiest solution is unfortunately the most lengthy, but I'll continue tinkering! Thank you again!

  • It's odd ... it tells me that Cast_Shadows.Animationframe doesn't take a number when there isn't one in the action whatsoever.

    Is it easier in your expert opinion to tag the 'shadow' with a variable identifying the creators UID, then pick via UID and go from there?

  • Ah, that's where I think I'm running into issues.

    So it looks like this ...

    As both objects are effectively being picked by the family Cast_Shadows, this seems to stop me setting the animation name and frame.

  • Thank you for replying lionz

    I was originally using the family to create the family but have now changed it to creating the object by name.

    + Cast_Shadows: On created

    ----+ Cast_Shadows: Is on layer "Above Player - Lower"

    -----> System: Create object Cast_Shadows.ObjectTypeName on layer "Shadows" at (Cast_Shadows.X, Cast_Shadows.Y+50), create hierarchy: False, template: ""

  • To explain a little clearer (hopefully)

    I have a family of objects called Shadows

    If an object is on a layer higher than the player, and it's a member of the Shadows family then it spawns a copy of itself on the Shadows Layer.

    What I'd like to achieve is that for the spawned object to have the same animation name and frame number as the object that created it... so ...

    Object 1 is running the Animation "01" and Frame 2 on a higher layer

    Object 1 creates a copy of itself on the shadows layer

    The newly created object changes it's animation to "01" and frame to 2

    Is this possible?

  • You do not have permission to view this post

  • For reference ...

    youtu.be/YxZL7gTp22M

    So essentially it's three objects that look to be rotating with a little trickery on the Z axis to create the illusion of depth. I have a rudimentary system set up but was interested to see if someone with way more skill could suggest their method? Thank you!

  • I think I'm getting a little further in this. So I am saving the data required into an array. How do I then save this array back to the JSON?

  • Hi there, hoping someone can answer this as it's probably super simple and relentless searching has turned up nothing.

    I'd like to save a game to one of three slots, and alongside it save the name of the layout, the players health and the time played. So that when the players goes to load a game they can see the three slots with the Layout Name, Health and Time displayed.

    How do I do this?

  • Ah, gotcha. Thanks for explaining dop2000

    So I have this and it looks like it's working ...

    However, the canvas isn't clearing at all. Am I doing something wrong?

    On further investigation, it looks like it's not pasting the item onto the canvas at all and is just creating the items.

  • Hi dop2000 thank you for replying. Appreciate you taking the time out.

    When I use that, that will move the Drawing Canvas to the item?

    What I'm after is for the DrawingCanvas to mirror the object currently overlapped by the select icon.

    So if the select icon is overlapping Object X

    The DrawingCanvas will show Object X and the DrawingCanvas will keep its original position.

    Hopefully that's a little clearer.

  • Hi there, so I have a drawing canvas which I'm looking to fill with the object that is overlapping a select icon elsewhere in the layout.

    So if the select icon is overlapping Object X, then Object X is pasted into the Drawing Canvas

    If it's overlapping Object Y, then it pastes Object Y etc etc

    All of these Objects are in a family called Items

    I hope someone can point out the correct way of doing this, as it's just not 'clicking' for me.