Hello all,

I hope my question is not too stupid. :-) I have the following concern: I would like to create - in general terms - a maze in which computer-generated enemies follow a random path and can also come towards me. (I assume I need 3D for this.) After some reading, I have determined that Godot might be the wisest choice for this.

Now I have no experience at all in developing games and designing graphics, so I need a hint in the right direction: What is the easiest way to create a three-dimensional model of an opponent and insert it on a map in Godot so that it automatically follows a certain path? I assume I need Blender or similar software for that?

  • Feyter@programming.devM
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    What you want to do is actually quite advanced topic. Godot is coming with some build in functionality that you can use Look for navigation mesh

    But if you never used a game engine I recommend you start with baby steps and lern how Godot works basically. Try to create a scene, create an object, add a script and try to move it from code… All this stuff.

    I would recommend to at least completely the getting started section of the Godot docs this should give a very good overview.

    • rhabarba@feddit.deOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      What you want to do is actually quite advanced topic.

      Ew! I thought that would be a rather easy start. :-(

      • Feyter@programming.devM
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Depends on what you call easy 😄

        It’s just my point of view that there is no such thing as “easy” if you do it for the first time. It’s always easy if you know now everything works. Don’t want you discouraged you.

        I think a project like this where you have a goal in mind and try to find out how to achieve it is much better to learn than following strictly a tutorial and just replicating it step by step.

  • AngryClosetMonkey@feddit.ch
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Regarding 3d models, you can:

    • use spheres and cubes as placeholders, there is no need to create 3d models as long as you don’t have a game yet.
    • you can download models for free from various websites
    • you can make your own 3d models with blender ( If you don’t know how to do that yet, you will have to spend some time learning about blender first. Checkout blenderguru)

    Since you ask for the easiest solution, just use CSGMeshes for your maze and a cube or sphere mesh for your enemies.

  • Klaymore
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Yeah, for an enemy you can find a model online, use a basic cube or cylinder, or make a model in Blender. Using Blender is pretty complicated so I would use some other model or a basic shape while you get started, you can always make one later. Then for enemy navigation you can use the built-in navigation system.

    However, if this is your first time making a game, I would work on the first person controls before tackling navigation or modeling. For your first game you pretty much need to follow a tutorial to learn how to use Godot, so I’d find a tutorial like this one on how to make a first-person game. It could also be helpful to follow a basic tutorial like this one just to learn how Godot works. Learning how to make games is pretty difficult so don’t worry if it takes you a while to get things working, especially if you don’t have any programming experience.

    • rhabarba@feddit.deOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Thank you, sounds reasonable. :-) I work as a developer, but game development is completely over my head… so far!

  • nibblebit@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    As others have said so far. If you have zero experience what you are aiming for is pretty complicated.

    • you need path-finding. Godot nav mesh will do great. But you could implement waypoints and A* yourself if you like more control and want to learn.
    • you need some place holder models. Using prisms or Sprite3d is better because you can more easily see which way they are facing
    • you need some agent behaviour. What does move randomly but also towards the player mean? Are you thinking of a pacman like situation?. You might want to think about a state machines
    • If you want the levels to be procedurally generated you open a whole new can of worms.
    • Depending on your use case you might want to spend time getting comfortable with the UI framework and Control nodes to create buttons and widgets to create start and reset levels.
    • rhabarba@feddit.deOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Sounds like more work than I had initially assumed. Well, thank you - I’ll take notes!