G
Well this is quite an open question but you should definitely refer to the navigation docs index and get started from there. Godot Engine documentation Navigation 2D navigation overview, 3D navigation overview, Using NavigationServer, Using NavigationMaps, Using NavigationRegions, Using navigation meshes, Using NavigationPaths, Using NavigationPathQueryObjec... Besides that, this tutorial specifically addresses player chasing: Godot 4 3D - AI Pathfinding/Navigation
G
Mate, I have been listening to this for a while now without even realizing. So abducting and warm, love it.
G
Exactly! Bug description should be thorough. I get the feeling, however, this post is better suited for Resources > Tips & Tricks and I assume a similar disclaimer is also already given in Help.
G
The order of nodes in the matter. There will be difference in copying before either of them was regularly updated by the physics tick or after. Try swapping their order and see what happens. Afaik, remote transform updates from NOTIFICATION_TRANSFORM_CHANGED handler so try mimicking that.
G
“The door does not open” tells you where a player got stuck. It does not tell you how to get there. Suppose the door depends on a key collected earlier. Testing it from a fresh game, a developer shortcut and an old save might give you three different starting states. A more useful fictional report would be: “In build 12, load the attached test save outside the tower. The inventory contains the brass key. Interact with the north door. Expected: enter the tower. Actual: the locked message…
G
Not specifically, I guess I just wanted to know if there was a better way of doing it rather than comparing strings? But it does seem to work how I wanted so I guess I really just wanted validation that I wasn’t overcomplicating it.
G
NOTIdealDev: , it might also make people prefer watching devlogs or for devs to be more in contact with community I like this the most. (Edit: I removed the link to this Guardian article because of course it’s full of could be’s and would be 's)
G
off topic - it’s good to get some off-grid power supply if you can back to the topic, flooded markets can surely create rebounce and it’ll be both good and bad, if people will be tired of AI games then they will start value art from game devs and so high quality, making ay small to medium game probably obsolete for a long time, it might also make people prefer watching devlogs or for devs to be more in contact with community
G
Unique scene names are relative to the scene they are part of. In this case, I think that your game manager should be an autoload instead: Godot Engine documentation Singletons (Autoload) Introduction: Godot's scene system, while powerful and flexible, has a drawback: there is no method for storing information (e.g. a player's score or inventory) that is needed by more tha...
G
Unfortunately that’s not the issue. If I don’t link them with remote transform or fix their global positions, if the bottom one moves it just slides under the top one not affecting it at all.
G
Glad it’s running again, but I’d be a bit careful with the root cause before anyone copies the fix 400 draw calls isn’t a lot for the Compatibility renderer. On a 2060 Super that should take well under a millisecond, nowhere near 200 us per call, and broken batching would make it slower but wouldn’t freeze the whole desktop. A frame stuck at 88 ms forever, with the desktop locking up and the GPU at 0%, sounds much more like the OpenGL driver hanging than Godot’s 2D batching Also F5 doesn’t run…
G
If the box is a rectangle on its own TileMapLayer, you don’t need to check tile types at all. The used rect tells you where each wall is, and the side you pick tells you which way to face: @export var walls: TileMapLayer @export var cannon_scene: PackedScene func spawn_cannon() -> void: var r: Rect2i = walls.get_used_rect() var left = r.position.x var top = r.position.y var right = r.end.x - 1 var bottom = r.end.y - 1 var cell: Vector2i var dir: Vector2 match randi() % 4: 0: cell =…
G
I listened to this on the background while I was doing some tasks and it was really peaceful, good for a menu or moment of pause I would say
G
Ye, the value can be another dictionary, so each question carries both: var questions = { "who are you": {"answer": "juan", "topic": "name"}, "where do you live": {"answer": "madrid", "topic": "place"}, } func _ready() -> void: var q = questions["who are you"] print(q.answer) # juan print(q.topic) # name For the other options you can collect every answer with the same topic: func answers_for_topic(topic: String) -> Array: var out = [] for question in questions: if questions[question].topic ==…
G
Like normalized said, the bullet is a child of the player, so it inherits every move the player makes. You want it added to the level instead, then placed where the player is: func _physics_process(delta: float) -> void: if Input.is_action_just_pressed("shoot"): var bullet_temp = bullet.instantiate() get_parent().add_child(bullet_temp) bullet_temp.global_position = global_position get_parent() is whatever the player sits under (your main scene), so the bullet lives there and only its own script…
G
My first post about Peg Roguelite Kit was about the fixed step physics, which is what lets the aim guide show exactly where the ball will go. This one is about the trinkets (the run’s upgrades) and one problem that comes with having an honest aim guide Every trinket is a resource file. You pick when it’s checked, when it applies and what it does, and most of them are nothing more than that. Hot Streak is “on every 10th peg hit, x1.5 Mult”. Tally Stick is “+1 Mult for every 5 pegs hit”. 34 of…
G
This is expected, see this, depending on the hardware, 10 minutes is long though, are you sure it’s that long?
G
well you could try making it as emergent as possible to limit content size problem, minecraft is great example of game that can have ages and tech levels added while main gameplay is so emergent, if you could achieve similar levels of this then it could be big
G
it becomes a trade off between detail of simulation vs scale. I believe I can iterate 100K characters every 1 second tick on most computers. Maybe more. If I go for 10 million I would need to use compute LOD. So things on the other side of the world would have to use simplified logic.
G
marceleonidas: *World* 8x8 is arbitrary and probably too big. I actually meant it’s too small. Earth’s circumference is about 25000 miles. So 8 miles would be below 0.1% of that. Not too epic of a scale.
G
yes your exactly right. *World* 8x8 is arbitrary and probably too big. But to make it any bigger would require either a floating origin or 64bit world space coordinates. Maybe if the game is a success I’ll make a supersize version that a supercomputer can run and simulate worlds that are 100s of miles and millions of characters Godot Engine documentation Large world coordinates Why use large world coordinates?: In Godot, physics simulation and rendering both rely on floating-point numbers.…
G
By “earth” you mean 8x8 miles area mentioned as the maximum world size in the design document?
G
you’ll be able to conquer the earth as a stone age tribe
G
marceleonidas: whoever develops bronze age tech first What if all tribes are ready for the bronze age and there is no bronze age update yet?
G
I think ill try to make it so that when an update comes out it will seamslessly addon to the previous iteration. And then yes, whoever develops bronze age tech first will massacre stone age neighbors. How many iteration before I get to modernity? Idk. modernity is complex
G
Ah, so it’s multiple games then? Or will the bronze age be an update to the stone age, allowing bronze age tribes to annihilate stone age tribes? How many age updates will there be since we reach the real fun of mass destruction?
G
im probably going to make the first release only about the stone age. maybe 10 weapon types, and very simple society in general. food, water, clothing, weapons. and then, the next release will be bronze age. 20-50 weapons. More advanced society. the supply chain gets more complex. now you have have mines, farms, blacksmiths, leather tanners, potters etc this will be a natural progression for the game and my skills. I envy the creators of Dwarf Fortress - they love their game, and they’ve just…
G
Control._has_point ended up being exactly what I needed here, but it’s good to know the other options as well. Thanks everyone!
G
thank you so much to everyone that helped
G
If it’s all about superior weaponry, as your design document suggests - the title could reflect this. Any form of “die by the X” still paraphrases the original saying. Having an original twist there will make it… well… original, and you won’t have to waste precious energy on thinking about activision. I’m particularly interested in weapons tree. How many different pieces of weaponry will the game have? Given the scale of the game, at least 1000 would be appropriate. Will those include defensive…