Please help

0 favourites
  • 9 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • I have my camera following the character but sometimes when approaching a low area, you cannot see what us below to drop down to.....

    How can I fix this so that maybe if the down arrow (or whatever button) is being held down the camera moves down a little bit?

    Thank you please help lol

  • Do you have Scroll To behavior on your character? Try removing that and instead placing the Scroll To behavior on a separate camera object that you can control separately from the player.

    I had a similar problem the other day and got some really good help. Try looking at the capx examples in here https://www.scirra.com/forum/viewtopic.php?f=147&t=197672&p=1149032#p1149032

    This is basically a camera object in the center of the screen that can move back and forth from the player. You could try modifying something like this. Or simply put Scroll To and Eight Direction Movement on a camera object. Set it so the camera can only move up or down. Then have the camera pinned to the player unless the Up or Down directions are pressed. When you release Up or Down it can snap back to the players position

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you have Scroll To behavior on your character? Try removing that and instead placing the Scroll To behavior on a separate camera object that you can control separately from the player.

    I had a similar problem the other day and got some really good help. Try looking at the capx examples in here https://www.scirra.com/forum/viewtopic.php?f=147&t=197672&p=1149032#p1149032

    This is basically a camera object in the center of the screen that can move back and forth from the player. You could try modifying something like this. Or simply put Scroll To and Eight Direction Movement on a camera object. Set it so the camera can only move up or down. Then have the camera pinned to the player unless the Up or Down directions are pressed. When you release Up or Down it can snap back to the players position

    I'm still kind of new to this and what you are saying makes sense, my brain is just struggling on how to properly do that lol if I shared with you my capx. Could you look at my set up and see what can be done? I'm at work right now but can send to you later today.

  • Sure. Sharing a Capx is always best. Hope I can help

  • Sure. Sharing a Capx is always best. Hope I can help

    https://www.dropbox.com/s/igunduxnnjtra ... .capx?dl=0

    here is the capx

  • Hey redeemed t

    Hope this helps https://www.dropbox.com/s/fifqc08wm39akq1/game%20wip%20CHRISTMAS%20NOTES.capx?dl=0

    Basically it detects if you are holding the Down key or not, and if you are then it detaches the camera from its designated behavior and moves it downwards. Releasing the key snaps it back to above the player. You would be better having a nice Lerp movement here to move it back smoothly, but with your current camera set up I didn't want to mess with that too much as it could break what you've done.

    I would consider simplifying your camera system to make these kind of custom camera movements easier to do, but you may have your reasons for setting up your camera this way. There's no right or wrong way to do these things, it's whatever works for you and your game.

  • Honestly my camera is like that for no reason lol that's just what I found in a video......if you think what you are talking about would work Better I will toss you a few bucks on PayPal for helping me out and setting it up real quick! You've been such a great help

  • Appreciate the offer but I reckon you need to get your head around this stuff yourself. Tell you what, cos I'm having a slow work day, I'll get you started.

    I've stripped the camera down here to bare bones basic behavior. I hope the comments are detailed enough. I think this works well and its easy for you to customize to your liking.

    https://www.dropbox.com/s/mi39lte83os7arw/game%20wip%20Simplified%20Cam.capx?dl=0

    Try to simplify your work as much as possible. Sometimes the most obvious solutions are the best. Keep looking on the forums for tutorials and download example Capx's of things when you can, then pick them apart. There's a lot of talented people on here. I often get stuck yet I very rarely have to ask for help cos someone usually has had the same problem as me in the past, and has already been answered by some kind of random super genius in the forums/tutorials.

    Good luck with your game

  • You can find your answer here

    https://www.dropbox.com/sh/eioscti86bpr ... 7YPza?dl=0

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)