- Camera stays static until the player reaches the edge, then pans smoothly(ish) towards the player
- No backwards movement, just turning left/right and moving forward
- Mouse aiming also removed, for now; I don't plan on making an action game
- The ability to change the player's Y position and flip the camera view so that another "layer" can be added to the 2.5D level (for making doors and such that can be entered)
Everything done using UnrealScript, except actually triggering the "camera flip" (for the door) which is done through Kismet.
Source download: www.wupload.com/file/2603508972/stevesSideScrollingUDKPawn.zip
any tutorials that has a super mario theme
527saner 2 months ago
@lickstab Ive already reached my daily download limit, i will download it tomorrow and get it working. Thanks again!
geraint429 3 months ago
@geraint429 alright, should be linked in the description now. good luck!
lickstab 3 months ago
@lickstab Thats really kind of you, Thanks alot.
geraint429 3 months ago
actually i think i'll just upload my source. i'll let you know when it's done.
lickstab 3 months ago
@lickstab Ah ok thank you, one last thing is i cannot download the basic sample files for reference are they just the same type like in the UDK cameratech guide? I feel i maybe overstepping my bounds but would it be possible for you to upload your files as a reference for me? As im actually studying design not coding and as such this is just needed for functionality and i would not be getting marked on it anyway.
geraint429 3 months ago
@geraint429 it's done in unrealscript. just have a look at how the CalcCamera method in Pawn works. basically i rotate the camera either 90 or -90 degrees, plus move it either some number, or the negative of that number, away from the pawn sideways. the specific degrees and number would depend on whether the player is in the "front" or "back" part of the level. as for the smooth pan, simply don't move the camera until the player is a certain distance away from it (just compare one axis).
lickstab 3 months ago
@lickstab Hey thanks for getting back to me so fast. Im working in a group for a university project and we are trying to do what youve succeeded in doing. Were currently using an edited version of the all-in-one camera on the UDKcameratech guide but we are having alot of problems with it namely we cant get it too look like yours and secondly we cant do the camera flip. Is your second camera an ingame piece or is it done with Uscript? Any help you can give would be much appreciated.
geraint429 3 months ago
@geraint429 well, i don't know actually. depends on what you're having problems with i suppose.
lickstab 3 months ago
Hey, I myself have been trying to implement exactly this kind of thing except the smooth panning. Mainly the camera flip though, is there any advice you can give me or point me in the direction of how to do this i feel im hitting a brick wall at the moment. Cheers
geraint429 3 months ago