Hello,
I've put off posting for a few days now but I've run out of "How do I...?" topics to search and projects to deconstruct in the hopes of figuring out how to solve my enemy movement issue. Some have come very close, but nothing yet is a usable fit. Hopefully someone here can point me in the right direction or offer some suggestions.
I'll try and explain the issue as clearly as possible (probably over complicating it in the process).
My current project is a side view game (player enters from left, enemies from the right), however the characters and enemies have the ability to walk to their left & right (technically up & down) as well as actual left to right along the X, while using prospective background drawings to simulate depth on the Z.
The issue I'm having is that I can't seem to get enemies to advance towards my characters position after spawning without their sprites rotating as they change angle towards the player. The Player doesn't have this issue whatsoever with 8 direction movement and "Set angle" set to: No. However I can't find a similar solution for enemies running at the player.
I've tried bullet movement with Set angle off and 'set angle to (player.x, player.y), however the sprite still rotates or alters it's orientation as it adjusts to the players location (ideally I'd like their heads to stay at the top and feet on the ground, rather than angling horizontally or at odd angles).
I've tried non-default control 8-direction movement and simulating control with no luck, I tinkered with car movement options with no luck as well. In fact the closest I've come was some variation of the "Asteroid" demo, if I recall correctly (minus the unwanted elasticity).
I'm sure there's probably a very efficient way to handle this that I'm just not experienced enough yet to see, so if anyone could point me in the right direction (although I've searched every imaginable combination of 'Construct 2, enemy movement, AI movement, movement options' that I could think of), or offer some possible solutions I would greatly appreciate it.
Hopefully I've clearly explained the specifics. Let me know if you need any more info.
Thanks in advance.
Edit: A few more quick questions.
Is pin a possibility in terms of attaching items a player picks to indicate equipping the item? For example I'd set the image point of a main character to the sprites hand area, and the image point of an equippable sprite object on the handle of the object - imagining that if I set it so ' if player collides with object, object is pinned to the players image point', how ever it always seems to get pinned to a random area of the character? Is there a better way to accomplish this that I haven't considered (likely as I'm quite new)?
Also, my main character is set for grid movement, however, when he reaches the top of the grid he's laid out to, and I press up, it senses he can't move up and instead always moves him forward. Is there a way to prevent that? He's set to move in 74 pixel increments up, down, left or right, if that's of any use.