emptyhaven's Recent Forum Activity

  • Basically I have a character looking back at us and he has a mouse and keyboard in front of him. I want to be able to move the mouse and have that movement mirrored onscreen.

    My idea is for some way to recognize what direction the mouse is moving, then translating that as the in-game mouse's movement (albeit mirrored and restricted to a certain area, i.e., the mouse pad). I currently can't see any way for the mouse movement to be tracked other than by its specific x and y position. What I need is like a mouse vector identifier or something.

    Is this possible in Construct 2?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Store the enemy UID as an instance variable on the bullet, when it's created. Then Pick the enemy by that UID.

    Right, I'll read up on UIDs then. Thanks for directing me to the right direction.

  • I've been using Construct 2 a lot recently and I'm getting a lot of help from video tutorials for the more general things, but certain specific problems of mine are harder to pin down.

    That's where this forum comes in: there are a ton of questions that mirror my own problems, and the answers all seem to satisfy the OP because their responses to the responses are always along the lines of "wow that worked, thanks!". The problem is that more often than not the solution itself is never in the responses of the query. A lot of people usually just ask for the capx file and edit it and send it back, and (at least during the time) everyone else who was around could also access the same file to see what went down and learn from the edited version. Almost all of these links are dead now—files missing from the dropbox links, links themselves not working, and (in some cases) no links or attachments of any kind present in the response. It wouldn't be so bad if the responses themselves had at least some description of or clue as to what was attempted in the solution, but you'd be lucky if you found at least one that did that. In all cases I've seen, they let the capx file itself do any explaining.

    Which leads me to the point of this post.

    Don't get me wrong, I recognize the importance of an old forum space being kept up for future users to learn from, but there's not much learning here (if anything, I learned that once upon a time ago someone learned the answer). In about than half the topics I've looked into, it always sounds so mysterious because what were once clear solutions are now just vague references to things that might have worked, and now we'll never know. Even the curated links of how-to's in one post are all but. Formerly wellsprings of what were once pieces of knowledge to be shared; now decrepit wells, hollow and echoing.

    I guess what I'm saying is that I'm frustrated at how many topics I've clicked on only to find a missing file/link/answer that clearly was correct. I could have solved a ton of things just by going through this forum but instead I'm spending hours at a time sifting through video tutorials hoping they even slightly touch upon what I'm currently struggling with.

    I think the other disappointing part here is that I can't think of a solution to this problem. These C2 forums are all but dead as most people have moved on to Construct 3. And it's not like someone will take the time and effort to go through every single post made here just to remove defunct links/capx files/discussion threads. I sure as heck won't do something like that, and I never expect from others what I myself won't do.

    I guess for now I'll just go back to the video tutorials and hope I learn something there.

  • Hi, I'm currently making a top-down action shooter. Basically, what I want to happen is when an enemy shoots and hits the player they swap positions with that enemy. My problem is when I have multiple instances of that enemy. When one of their bullets hits the player, all instances of the enemy end up swapping places with the player.

    Currently my set up is when the enemy has line of sight to the player, it shoots by spawning a bullet in front of it moving forwards at the angle it was facing. Is there a way for each bullet instance spawned to be tied to the specific enemy that spawned it (so that it recognizes which enemy the player swaps places with)? Or is there another way I need to be approaching the bullet spawning so that each bullet instance spawned is already tied to the enemy that spawned that bullet?

    I'm relatively new to Construct2, so I'm not too clear with some of the particular actions I'm allowed to make sprites do. I've been winging it this past week through trial and error and I really can't find a solution to this. Any help would be appreciated.

    Tagged:

emptyhaven's avatar

emptyhaven

Member since 18 Jun, 2014

None one is following emptyhaven yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies