godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.14k stars 96 forks source link

Add Wrap2D and Wrap3D nodes #658

Open Shadowblitz16 opened 4 years ago

Shadowblitz16 commented 4 years ago

Describe the project you are working on: spaceship game

Describe the problem or limitation you are having in your project: seamless wrapping with camera's and parallax layers isn't really feasible do to the following issues..

Describe the feature / enhancement and how it helps to overcome the problem or limitation: make a wrap 2d and wrap 3d node that has the following options..

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams: basically it would just be a node that processes rendering, sound, collision, and physics of its children but in a way that doesn't break the engine.

If this enhancement will not be used often, can it be worked around with a few lines of script?: no this is cannot be worked around without rendering, translating and duplicating everything which is very difficult to do and requires fighting the godot engine.

Is there a reason why this should be core and not an add-on in the asset library?: see above

Shadowblitz16 commented 4 years ago

I made a more lightweight issue here if people think this isn't a good thing to add to the core. https://github.com/godotengine/godot-proposals/issues/825

Shadowblitz16 commented 4 years ago

I actually think a node like this should work like a chunk system except it would just be a endless grid with the same cell value repeated to the camera's edges.

basically like 3d or 4d torus of game rooms EDIT not sure if physics will be 100% accurate though

Shadowblitz16 commented 9 months ago

This is still relevant.