Forum rules - please read before posting.

How to make a first-person game?

Hi everyone, nice to meet you.
I would like to create a first-person game, but I am having trouble figuring out how to do it.
Is there a procedure that I am doing wrong?

My procedure is as follows.
1,Start a new project in Unity.

2,Create a new project with the New Game Wizard.
(At this point, at 2:08 seconds in the official tutorial it says to use Unity's default GUI, so I followed that. The hierarchy does not add GameEngine or anything else in the tutorial, so that's probably the reason.)
Do I have to use Default AC?
If I don't use it, I don't see any icons or anything at all.

3, I understand that I have to add it in Input Manager and I can set it myself there.

The reason why you can't is because you are not using Default AC when you create a new one in the New game wizard? I am thinking that this is the case.

What I want to do first is to create a first person game using the Adventure creator system in an empty project.

I do not speak English so I am using a translation tool.
Sorry if this is a confusing question.

Thank you in advance.

Comments

  • Welcome to the community, @Ride.

    The New Game Wizard will ask if you'd like it to organise your scene, but it's optional.

    You can organise the scene - creating a GameEngine etc - from within the Scene Manager of AC's Game Editor window.

    A series of introductory tutorials to get you familiar with AC's Managers can be found here. This tutorial, and the next two, will guide you through the process of creating Managers and setting up your scene.

  • Thank you very much.
    I will take a look.

  • I have reviewed and redone the tutorial!
    I'd like to base it on a first person perspective this way, is there any problem with this approach?

    https://youtube.com/watch?v=GF0_rKkBZWA

  • You can find a ready-made first-person Player prefab, which uses camera animation and smoother movement for added polish, over on the Downloads page.

  • Thank you, I'll be sure to check it out.
    We are already using that model.
    I have one more question.
    Is there a tutorial for a first-person perspective with a camera attached to a 3D character model, as opposed to a first-person perspective with only a camera attached to an empty object?
    I would like to know.

  • You can attach the First Person camera to any object you like - there's no technical restriction.

    Drop your character model into the scene, and attach AC's Player component to their root, and then add an empty GameObject for the camera, and attach both the Camera and First Person Camera components. You can parent this GameObject to your character's "Head bone" if necessary.

    However, as the camera needs to rotate independently, it'll typically be less hassle if you have the camera and a character model sit beside one another in the Hierarchy. The Demo game's "Tin Pot" prefab uses this technique as an example.

  • Thank you for the detailed explanation!
    I will try based on your advice!

  • Is it possible to replace the First person Player dropped from the DL page with a 3D model?
    I don't know how to do it.

    I would like to assign a 3D model to this DL'd First person Player system, because it is unnatural that the character is not reflected in the mirror.

  • Thank you.

  • Yes, you can combine the two.

    Place both your 3D character model, and the download's First Person Player prefab into the scene. Then copy/paste each of the components on the Player's root (Player component, Character Controller, etc) onto the model. Then move each of the Player's 3 children (FirstPerson Camera, Sound child etc) to the model so that they are children of the 3D model instead.

    Then make a new prefab out of this model, which you can assign as the Player prefab in the Settings Manager.

    A guide to making a 3D character, with animations, can be found here.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.