Anthracite's Forum Posts

  • dop2000 oh we wouldn't need it to work from all angles, but thank you for attempting it :)

    We'd only need it working if you walked up to the mirror or walked past it as it would be on a wall.

    In this instance, the lower dog is the player and the reflection above him is in the mirror. Apologies for the absolutely awful sketch.

  • dop2000 that is utterly brilliant, so clever!

    I've taken a look at your example and think it's pretty much perfect for what I need. One slight request (which I'm happy to compensate you for)

    How could I get this so that it could be used in a top-down game (similar to classic Zelda titles). So it would reflect the Y axis? Where the Mirror would be on a wall and the player would be looking up at it.

  • It would be wonderful if I could make mirrors in the game reflect the Player sprite? I'm using C3 and have tried the ReflectY plugin to no avail, but wondering if there is a better solution?

    I have tried the Paster c3addon, but unfortunately need the C3 runtime.

  • Hi there,

    I have a layout called Ground_Floor, it is set to the First Layout in the project properties and also is the first layout in the layout list under the Projects tab.

    However, when I run the project from it being freshly opened. It runs the incorrect layout.

    It also does this when exporting it to NW.exe too

    Any idea as to why?

  • I have the First Layout of the project properties set to the correct layout I wish to run. However when I export to NW.exe the screen is just black.

    Also when I load the project for the first time in a new instance of Construct 2, the First Layout it runs when I run the project is also incorrect. However the First Layout in project properties is 100% correct. Very odd.

    Any clues?

  • Thank you , so I have created this and unfortunately it doesn't seem to trigger anything.

    The object I am overlapping has the variable Destination_ID set to 158 and an object with UID 158 exists on the same layout.

    Note, it does the same thing with self.Destination_ID and Transfer.Destination_ID

  • Wow that took you four minutes!!!

    I'm a little confused by your response as I don't have the option to pick via UID. Could you lay it out for someone as stupid as me :)

  • Hi there, I hope you can help on this one ...

    I have an object called TRANSFER which we use to detect when a player goes up some stairs. When the player touches the TRANSFER object they will be taken to a different part of the same layout.

    However, what I'm trying to achieve is to have an instance variable on the transfer object with the UID of the object to transfer the player to.

    How do I structure this transfer?

  • sizcoz

    The only issue I can with that is that the Angle from the 8Direction resets to zero upon a collision with a solid, so I can't use it. Could I work it out from the Vectors do you think?

  • Oh my lord, what a fool!

    Thank you so much!

  • Hi there,

    Pretty much as above. I'm looking to store a variable that keeps track of the players angle of movement.

    However, i'm not using the Set Angle function of the 8 direction movement as it won't work with the sprites we're using. So how can I keep track of the angle of the direction the player is moving in? Could I use the 8Direction.VectorX and VectorY to work this out somehow?

    The variable I'm using is called MovingAngle

    Many thanks!

    Paul

  • Thank you ,

    Could you show me how this works in terms of the events themselves? I think I understand but I'm not sure how to implement it.

    Thank you so much!

  • I'm trying to set up a turn system, so I'm basically checking to see if all enemies have moved. Once an enemy moves a tile it sets it's Family Boolean Instance Variable to true.

    Once all Family Boolean Instance Variables are true, I'd like to revert control to the player. So what's the best method for triggering something once all Family Boolean Instance Variables are true.

    Thank you :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As an update to this,

    I now have the enemy following the character, we have a snag with animations ...

    As this is a top-down zelda-esque game, we have four directional animations. I'd like the enemy to switch to the direction animation most appropriate for the direction he is moving in. However there seems to be no condition to find the direction of movement during a path find.

  • Thank you for responding ,

    I get that the 'usual' cone of view is 45 degrees. However, If I set the enemies angle to zero to begin with and give him a 45 degree cone of vision with a LoS of 300 and stand right in front of him, he doesn't count as having LoS to the player. Weird.