Комментарии:
Awesome stuff, can’t wait to see more
ОтветитьAwesome stuff, can’t wait to see more
ОтветитьJust came across your channel - great video, I really enjoyed it and like your teaching style. Looking forward to seeing more of your content.
ОтветитьHai can you make tutorial on TileMap that can be drag when i play the godot and drag it around the screen
ОтветитьCan you create a tutorial how to convert multiple scenes into tile map resource. Such as a scene with collision, sprite, light2d and ysort working.
ОтветитьGreat video, I was looking for this. Will this work for Godot 4?
ОтветитьA better approach for positioning the rooms is to generate the size of the room first, then randomly determine the (x,y) position within a range that accounts for the size of the room being spawned. This will get you big rooms that can be flush with the boundaries of the tilemap without causing small rooms near the edge to have large amounts of space between it and the boundary.
If we assume that the position of a room is in its top-left corner, then the range for its position would be (0, map_width - room_width) and (0, map_height - room_height). And you can still add a margin afterwards.