this post was submitted on 17 Jun 2023
27 points (100.0% liked)

Godot

5915 readers
14 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

[email protected]

Credits

founded 1 year ago
MODERATORS
 

I like most things I see about Godot, and I'm going to try making some games with it.

Whenever I imagine programming a game though, I imagine the game logic and simulation being separate from the display. For instance, if I was to make a game like FTL, I would plan to simulate all the ship interactions and the movement of the characters purely in code, and then write a separate module to render that simulation. The simulation could be rendered with graphics, or with text, or whatever (of course, a text render wouldn't be human friendly, but could act as a dedicated server for some games, or I could use it for machine learning, etc).

I'm not an expert at Godot, but it seems this mindset is not going to fit well into Godot. Is this correct? It seems like the same object that is responsible for tracking the players health is going to also be responsible for drawing that player on the screen and tracking their location on the screen, etc. Will my player class have to end up being a subclass of some complicated Godot class? (Also, I'm a fan of functional programming and don't always use a lot of classes if given the choice.)

What are your thoughts about this. Would you recommend another engine? No other engine seem to be in the same sweet spot that Godot is currently in.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] fogetaboutit 3 points 1 year ago (1 children)

It seems you want something that can have a good separation of concerns. Maybe something like Bevy? Its using ECS, so you can customize your logic and separation between it however you want.

[โ€“] Buttons 3 points 1 year ago* (last edited 1 year ago)

I'm excited about Bevy and watching it closely (and donating, because I can), but I don't think it has the level of polish that Godot has.

If my goal is really to create a game, then I have a hard time justifying Bevy right now. The famous question being: Do you want to build a game, or do you want to build an engine? It's similar to that. If I start going into the weeds to do text wrapping in Bevy (or similar), then I'm working on an engine more than I am a game.