BeatsByZann's Forum Posts

  • Yeah, my solution was just to get the OP started and getting in the event block mindset. State Machine patters like above are the go-to for enemy ai (and many other elements of video games). Also, remember that line of sight has a distance parameter so you can control how close the player gets before the enemy "sees" them.

  • Construct was built for people who don't know how to code. In the layout right click on your enemy, select 'Add' and then 'Behavior". Add the Line of Sight and Move To behaviors. Then, in your event sheets check if the enemy has Line of Sight to the player, and if true move the enemy to the player object.

  • You'll want to read the manual entries for the Line of Sight, Pathfinding and maybe MoveTo behaviors. Then from the start panel click on the example browser link. In the example browser search for those behaviors to get a bunch of example projects you can download and look at. I suggest finding one that is closest to what you want and using that as your base.

    construct.net/en/make-games/manuals/construct-3/behavior-reference/line-of-sight

    construct.net/en/make-games/manuals/construct-3/behavior-reference/pathfinding

    construct.net/en/make-games/manuals/construct-3/behavior-reference/move

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • mOOnpunk very true but that descriptive text isn't shown in the event sheets. Which means if you have trouble remembering you have to click into the action every time instead of just looking at the sheet.

  • I prefer oosyrag 's use of "Collide" and "Ignore". I personally have never had a problem remembering this, I just mentally swap "Exclusive" to "Exclude" etc., but fedca 's example interpretation of "exclusively collide with tags" is grammatically valid and very likely the first-glance interpretation of most people, especially ESOL users. Its a far more common usage in everyday speech as opposed to current text which I don't think I've ever heard spoken aloud in my life. The only places I can remember seeing it used in writing were in math text book sections on sets and in legal contracts or insurance policies where they are listing items to be included excluded from said document. Not exactly the wording most people will default to or even have any experience with.

    • In a sprite with multiple animations, changes to image points and collision polygons sometimes are not saved. I think this happens more often after adding/importing new animations, but I couldn't reliably reproduce this bug.

    Seen this as well, many times.

  • No problem, good luck!

  • In that block you are picking all the children of cards who are also cards. If you are trying to move child text boxes you need to pick them as the type of children. You might also want to use the "move in front" rather than just setting all the children to the top of the layer. Its easy for other objects to get in between the z order.

  • Thanks XHXIAIEIN and dop2000, I'm saving both of your responses in my personal C3 cheatsheets. Really made a few things clear that I didn't get from the manual or sample projects.

  • For anyone finding this and having the same problem, see this github bug report: github.com/Scirra/Construct-bugs/issues/8576.

    I have applied the edits recommended by Scirra and was able to successfully open my project. If you don't know how to edit project JSON's from outside the app, post here and I'll walk you through it.

  • Ok, thanks both of you for responding, and thanks for submitting that bug report I see both your responses on Discord as well. It sounds like this is all connected, the prolonged saving and the file corruption. What's weird is the corruption of the saving seems to have been within a limited time period for me. The auto save and and the manual save at the time both got corrupted but the next day when dop2000 asked me to try opening a working version and saving then I was able to open the newly saved file. I just tried again and confirmed that I can save and re-open working files. Why would this only affect that period, at least a 20 min period, where it would corrupt both the auto save and the manual save? Very strange.

  • dop2000 any other suggestions?

  • By any chance, does this relate to multiplayer in any way? Lobbies?

  • Oh, well, that clears it up. I feel kinda silly now, I guess I was overthinking the question.