Bannanaking3's Forum Posts

  • 6 posts
  • Ok, this is a weird one. I am making a 2.5/3D game(depending on who you talk to) not unlike doom and I have a turret that sits higher than the player. I have a weapon that shoots a projectile, and I need it to appear like the projectile moves upward at an angle to hit the turret. I need to be able to find the distance between the player and the turret so that I can find the slope of the angle between the player and the turret and then figure out how much the projectile needs to go up every tick. A bit convoluted, but I haven't thought of anything better. TO MAKE A VERY COMPLICATED QUESTION SIMPLE: how do I find distance?

  • Ideally I'd like the camera to just move a little closer to the player or something like that, but I'm not sure how to do that reliably.

  • ah, that's a good Idea. I'll add the dropbox in a sec. I'd like to avoid doing that because there's a chance you'll spot an enemy through the wall and I don't really want that happening, but I'll definitely keep it in mind.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm trying to add the project file, how do I do that in the forum?

  • I'm making a game with a third person camera not unlike Fortnite or EA's battlefront2(which entails 3d camera movement behind the player), but when I back up against a wall, the camera enters the wall, which is really unhelpful. I've tried setting the camera position to a collision box that is rope pinned to the player, but that makes the camera almost nauseatingly bad in cases involving turning. I really don't want to have to make this a first person game as it's more a beat'em up kind of game that is greatly benefited by being able to see behind the player model a little bet. Any ideas for how to stop the camera when it's up against a wall?

  • 6 posts